You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.
Hi, I'm using npm@3.2.0. I`m using npm install command to download my private repository. And the download result will generate two folders: npm-modules and npm-xxxxx-xxxxxx.
I found that npm-modules would not exist .git folder, however, .git folder exists in npm-xxxxx-xxxxxx. Is there any config or option I can do that the .git folder will exists in npm-modules?
The text was updated successfully, but these errors were encountered:
The version of packages published to the registry doesn't include the .git folder by design. It's not really meant to be used for development – you should be cloning the repository from wherever it's hosted if you want to change it. Because npm drives all installs through the npm cache, and what's in the cache is (ultimately) packages, they need to all look roughly the same as what's published to the registry, which is why the cached version of a git-hosted package also has no .git in it. If you want to be working on packages while they're installed in your project, take a look at using npm link or using local dependencies. Good luck!
Hi, I'm using npm@3.2.0. I`m using npm install command to download my private repository. And the download result will generate two folders: npm-modules and npm-xxxxx-xxxxxx.
I found that npm-modules would not exist .git folder, however, .git folder exists in npm-xxxxx-xxxxxx. Is there any config or option I can do that the .git folder will exists in npm-modules?
The text was updated successfully, but these errors were encountered: