Closed
Description
Current Behavior:
npm version 7 (I tried both 7.0.0 and the last 7.5.6) does not download submodules.
Expected Behavior:
npm version 6.14.11 has support submodules.
Steps To Reproduce:
I created 3 repos to reproduce the problem. The first contains package.json with dependencies to install. The second contains submodule. The third contains only Readme.md
git clone https://github.com/trofim24/npm.git
npm install
If you do this on version 6.14.11 then thenode_modules/npm-bug/npm-bug-submodule
folder will exist.
If you do this on version 7.5.6 then thenode_modules/npm-bug/npm-bug-submodule
folder will not exist.
Environment:
- OS: Windows 10 2004 or Debian GNU/Linux 9.13
- npm: 6.14.11 and npm: 7.5.6