Error: Cannot find module 'orchestrator' when node_modules is a symlink
See original GitHub issueI would like to put node_modules
in a tmp directory and symlink to it from the actual working directory, to save lots of disk space wasted by gazillion of little files when working with many projects that need the same set of modules. But when I do this I get
Error: Cannot find module 'orchestrator'
This only happens when symlinking to the node_modules directory, not when this directory is a real one.
This looks like some module loading code does not like symlinks (on linux).
It would be great if that could be resolved, thanks for your attention!
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
node_modules as a symlink, webpack fails (Cannot find ...
Hi there, I'm using Laravel 5.4.15 and my node_modules folder is outside project root. I have trouble migrating from elixir to mix. The...
Read more >Can't get Gulp to run: cannot find module 'gulp-util'
This fixed a persistent issue I had with gulp-util not finding through2 despite it being present in the local node_modules folder and repeated...
Read more >Hello Test: npm install fail, cannot find module 'tape'
It seems like the npm install inside the test folder did not succeed, so now you don't have the tape dependency in your...
Read more >npm-link
First, npm link in a package folder with no arguments will create a symlink in the global folder {prefix}/lib/node_modules/<package> that links to the ......
Read more >Bug listing with status UNCONFIRMED as at 2022/12/28 10 ...
symlinks " status:UNCONFIRMED resolution: severity:enhancement · Bug:376803 - "[ebuild proposal] ... Bug:390225 - "All kernels missing cbfw_fc.bin file.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is a node issue.
However, this is not a solution - file system features of the underlying operating system should not be a problem for an application like gulp. Please re-open this issue until the problem is solved, thanks.