Closed jagthedrummer closed 8 years ago
I followed the instructions for using private NPM packages with heroku from the main NPM website: https://docs.npmjs.com/private-modules/ci-server-config#setting-up-environment-variables
When I push the build fails with the following error:
... remote: -----> Pruning cached dependencies not specified in package.json remote: -----> Installing dependencies remote: npm ERR! Linux 3.13.0-77-generic remote: npm ERR! argv "/tmp/build_6ea9d67b0e6503d3d7c26077b8ec1e82/vendor/node/bin/node" "/tmp/build_6ea9d67b0e6503d3d7c26077b8ec1e82/vendor/node/bin/npm" "install" "--quiet" "--no-optional" "--userconfig" "/tmp/build_6ea9d67b0e6503d3d7c26077b8ec1e82/.npmrc" remote: npm ERR! node v5.6.0 remote: npm ERR! npm v3.6.0 remote: npm ERR! code E404 remote: remote: npm ERR! 404 Not found : @etison/clickfunnels-marketplace-shared remote: npm ERR! 404 remote: npm ERR! 404 '@etison/clickfunnels-marketplace-shared' is not in the npm registry. remote: npm ERR! 404 You should bug the author to publish it (or use the name yourself!) remote: npm ERR! 404 It was specified as a dependency of 'clickfunnels-marketplace-admin' remote: npm ERR! 404 remote: npm ERR! 404 Note that you can also install from a remote: npm ERR! 404 tarball, folder, http url, or git url. remote: remote: npm ERR! Please include the following file with any support request: remote: npm ERR! /tmp/build_6ea9d67b0e6503d3d7c26077b8ec1e82/npm-debug.log remote: 0 info it worked if it ends with ok remote: 1 verbose cli [ '/tmp/build_6ea9d67b0e6503d3d7c26077b8ec1e82/vendor/node/bin/node', remote: 1 verbose cli '/tmp/build_6ea9d67b0e6503d3d7c26077b8ec1e82/vendor/node/bin/npm', remote: 1 verbose cli 'install', remote: 1 verbose cli '--quiet', remote: 1 verbose cli '--no-optional', remote: 1 verbose cli '--userconfig', remote: 1 verbose cli '/tmp/build_6ea9d67b0e6503d3d7c26077b8ec1e82/.npmrc' ] remote: 2 info using npm@3.6.0 remote: 3 info using node@v5.6.0 remote: 4 verbose config Skipping project config: /tmp/build_6ea9d67b0e6503d3d7c26077b8ec1e82/.npmrc. (matches userconfig) remote: 5 silly loadCurrentTree Starting remote: 6 silly install loadCurrentTree remote: 7 silly install readLocalPackageData remote: 8 silly install normalizeTree remote: 9 silly loadCurrentTree Finishing remote: 10 silly loadIdealTree Starting remote: 11 silly install loadIdealTree remote: 12 silly cloneCurrentTree Starting remote: 13 silly install cloneCurrentTreeToIdealTree remote: 14 silly cloneCurrentTree Finishing remote: 15 silly loadShrinkwrap Starting remote: 16 silly install loadShrinkwrap remote: 17 silly loadShrinkwrap Finishing remote: 18 silly loadAllDepsIntoIdealTree Starting remote: 19 silly install loadAllDepsIntoIdealTree
Oops, my bad. I hadn't setup the .npmrc file. I had thought that just setting the ENV var was enough.
.npmrc
I followed the instructions for using private NPM packages with heroku from the main NPM website: https://docs.npmjs.com/private-modules/ci-server-config#setting-up-environment-variables
When I push the build fails with the following error: