on-internet
← Community

unable to start nodejs app- Error: npm.load() required

Stack Overflow ·

whenever I am starting my Node app it's giving following error. Error: Failed to replace env in config: ${NPM_TOKEN} at /usr/local/lib/node_modules/npm/lib/config/core.js:429:13 at String.replace (native) at envReplace (/usr/local/lib/node_modules/npm/lib/config/core.js:424:12) at parseField (/usr/local/lib/node_modules/npm/lib/config/core.js:400:7) at /usr/local/lib/node_modules/npm/lib/config/core.js:338:17 at Array.forEach (native) at Conf.add (/usr/local/lib/node_modules/npm/lib/config/core.js:337:23) at ConfigChain.addString (/usr/local/lib/node_modules/npm/node_modules/config-chain/index

Comments

Sign in or sign up to comment and upvote.

No comments yet.