Article From:https://segmentfault.com/q/1010000011130135
Question:

NodejsThe novice wants to raise a question about the package reference
1.NPMDo you have to download the package directory node_modules under this project folder? Figure:

Is there any way to make a reference to a unified catalogue of its projects?
2.In the global mode of Formidable package installation, why can’t node_02 project be referenced?

Answer 0:

And it’s not impossible.
But, imagine, if this is a development kit, what about the development of many people?
In addition, if code logic is used, what about deployment?

Answer 1:

The answer has been found. The guide to Nodejs development is forty-third pages.
1)The difference between global installation and local installation

2)Reference the global installation package locally

Similar Posts:

Leave a Reply

Your email address will not be published. Required fields are marked *