question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: Cannot find module 'orchestrator' when node_modules is a symlink

See original GitHub issue

I 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:closed
  • Created 7 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

6reactions
phatedcommented, May 9, 2016

This is a node issue.

4reactions
COLABORATIcommented, May 10, 2016

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found