Answer the question
In order to leave comments, you need to log in
Why is the linked npm package not being written to package.json?
Good evening!
Actually, the question is in the title. Those packages that were linked before the creation of the package.json file were successfully registered in dependencies, everything that I installed globally and try to link after creating package.json is saved to the node modules folder, but is not written as a dependency. I tried to write npm link jade --save, it doesn't help either.
Thanks in advance for the hint.
Answer the question
In order to leave comments, you need to log in
I did not use the link - there was no need - but according to the docs https://docs.npmjs.com/cli/link it does not have the "--save" switch.
You may need a simple "npm install jade --save".
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question