Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm5 support #746

Closed
janl opened this issue May 25, 2017 · 1 comment
Closed

npm5 support #746

janl opened this issue May 25, 2017 · 1 comment

Comments

@janl
Copy link
Member

janl commented May 25, 2017

To reproduce:

npm install -g npm5
> hoodie@0.0.0-semantically-released postinstall /Users/jan/Work/hoodie/hoodie
> node ./bin/setup.js
> npm5 install
[…]
module.js:471
    throw err;
    ^

Error: Cannot find module '/Users/jan/Work/package.json'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/Users/jan/Work/hoodie/hoodie/bin/setup.js:15:21)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! hoodie@0.0.0-semantically-released postinstall: `node ./bin/setup.js`
[…]
@janl janl added the Type: Bug label May 25, 2017
@janl
Copy link
Member Author

janl commented May 26, 2017

I’ve raised a question with npm about this: npm/npm#16510 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant