This article is a mirror article of machine translation, please click here to jump to the original article.

View: 1165|Reply: 0

NPM installs local packages and local dependencies

[Copy link]
Posted on 12/2/2024 7:31:00 PM | | | |
Requirements: Some packages are not uploaded to the npm shared repository, and then compiled locally, how to install local packages (local dependencies) in the project?

Local path: D:\temp\dist

The installation command is as follows:

As shown below:



package.json The file is added as follows:

package-lock.json The file is added as follows:


Uninstall commands:


Reference:The hyperlink login is visible.




Previous:AWS creates an API Gateway gateway of the HTTP API type
Next:.NET/C# uses OpenCvSharp4, SixLabors.ImageSharp to frame the image
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com