fronteerio / grasshopper

Grasshopper Event Engine
GNU Affero General Public License v3.0
3 stars 12 forks source link

Installation apparently requires private npm modules #124

Open codingthat opened 7 years ago

codingthat commented 7 years ago

With node 6:

$ npm i
[snip]
npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/gh-context
npm ERR! 404 
npm ERR! 404  'gh-context' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'grasshopper'
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

With 7:

$ npm i
[snip]
npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/gh-admins
npm ERR! 404 
npm ERR! 404  'gh-admins' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'grasshopper'
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
codingthat commented 7 years ago

Although that may be random. I guess all the gh-* dependencies would fail, whatever the node version.

codingthat commented 7 years ago

Hmm, they're already in node_modules. Why doesn't node find them?

codingthat commented 7 years ago

Ah, found a typo in package.json (should be bundledDependencies) and I guess they shouldn't be listed in the normal deps section if you don't want npm install to attempt to download them.