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

npm i -g preact-cli => Error: Cannot find module 'config/donation-message.js' #342

Closed
rvion opened this issue Aug 24, 2017 · 2 comments
Closed

Comments

@rvion
Copy link

rvion commented Aug 24, 2017

Do you want to request a feature or report a bug?

BUG

What is the current behavior?

npm i -g preact-cli

[...]
> preact@8.2.2 postinstall /usr/local/lib/node_modules/preact-cli/node_modules/preact
> node ./config/donation-message.js

module.js:471
    throw err;
    ^

Error: Cannot find module '/usr/local/lib/node_modules/preact-cli/node_modules/preact/config/donation-message.js'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.runMain (module.js:604:10)
    at run (bootstrap_node.js:393:7)
    at startup (bootstrap_node.js:150:9)
    at bootstrap_node.js:508:3

Please mention other relevant information.

  • node -v v6.10.2
  • npm -v 3.10.10 (bug also happens with latest yarn)
  • osx
@rvion rvion changed the title npm i -g preact-cli npm i -g preact-cli => Error: Cannot find module 'config/donation-message.js' Aug 24, 2017
@lukeed
Copy link
Member

lukeed commented Aug 24, 2017

This is actually a (new) issue with Preact itself: preactjs/preact#834

Thanks for alerting us!

@lukeed lukeed closed this as completed Aug 24, 2017
@developit
Copy link
Member

sorry

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

No branches or pull requests

3 participants