Reputation: 753
I'm trying to link local project testabc123
to myproject
using the usual approach:
cd testabc123
npm link
cd ../myproject
npm link testabc123
However I'm getting the error message:
npm ERR! code E404
npm ERR! 404 Not Found - GET http://registry.npmjs.org/testabc123 - Not found
npm ERR! 404
npm ERR! 404 'testabc123@*' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
Any ideas? My approach to linking local projects seems to be common and most people can do it successfully.
Upvotes: 4
Views: 1133
Reputation: 2742
folder structure
some-folder
--testabc123
--myproject
Go to myproject and just do npm link ../testabc123
you might need admin access to do this.
Upvotes: 3