can't share node_modules with local dependency


(Rock) #1

What I Wanted to Do

use file:…/path-to-something in package.json to add local dependency

share node_modules with local dependency

What Happened Instead

can’t find module ‘dependency in something’ error

Reproduction Steps

Details

Platform Info

$ npm --versions
v6.4.0
$ node -p process.platform
darwin

(Kat Marchán) #2

Moved to #ideas – this is a feature quest dressed up like a bug.


(Rock) #3

But this is useful in local test, especially in react project. Because react can’t work if there is two react in one project.