How to pass dep_token while getting an error in running Cypress test?

This is the error:

error-->Error: Failed to replace env in config: ${NPM_TOKEN}

Hello Noah,

You might be using private dependency access_token in the .npmrc file but forgot to mention the token key in the dep_token capability. If you are using an access token in the private dependency and you are accessing its value from the environment variable, in that case, you have to add dep_token capability and define all those environment variables in it. You can pass multiple environment variables as comma-separated.