Closed
Description
The environments
The directory tree
T:/a/b/c/
PackageA/
package.json
PackageB/
T:/a/b/c/PackageA/package.json
"dependencies": {
"package-b": "file:../PackageB/"
}
The command
The working directory: B:/a/b/c/PackageA/
.
npm install
on Windows 10’s command prompt.
The results
The following symlink is created.
NPM version 7.17.0 ✔
./node_modules/package-b
⟶[symlink]⟶ T:/a/b/c/PackageB/
NPM version 7.18.0 or newer ❌bug
./node_modules/package-b
⟶[symlink]⟶ T:/a/PackageB/
Tested with freshly installed NPM.
npm install -g [email protected]
npm install
npm install -g [email protected]
npm install