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

Cannot find module error after install #1

Open
Happy0 opened this issue Oct 14, 2017 · 1 comment
Open

Cannot find module error after install #1

Happy0 opened this issue Oct 14, 2017 · 1 comment

Comments

@Happy0
Copy link

Happy0 commented Oct 14, 2017

`
[happy0@delta patchwork]$ sudo npm install -g depject-tree
/usr/bin/depject-tree -> /usr/lib/node_modules/depject-tree/index.js

  • [email protected]
    updated 1 package in 0.354s
    [happy0@delta patchwork]$ depject-tree . node_modules/patchcore
    module.js:491
    throw err;
    ^

Error: Cannot find module 'depject/is'
at Function.Module._resolveFilename (module.js:489:15)
at Function.Module._load (module.js:439:25)
at Module.require (module.js:517:17)
at require (internal/module.js:11:18)
at Object. (/usr/lib/node_modules/depject-tree/index.js:8:17)
at Module._compile (module.js:573:30)
at Object.Module._extensions..js (module.js:584:10)
at Module.load (module.js:507:32)
at tryModuleLoad (module.js:470:12)
at Function.Module._load (module.js:462:3)
[happy0@delta patchwork]$
[happy0@delta patchwork]$
`

@Happy0
Copy link
Author

Happy0 commented Oct 14, 2017

Ah, it worked after I globally installed depject and libneste.

Should these be part of the package.json for depject-tree? (Note: I've only recently began using nodejs, so I'm not 100% sure what the convention is.)

Happy0 added a commit to Happy0/depject-tree that referenced this issue Oct 14, 2017
Happy0 added a commit to Happy0/depject-tree that referenced this issue Oct 14, 2017
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

1 participant