Repository navigation
File names in readable_stream folder are not supported in Windows #5094
Description
Activity
- addedwindowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.npmIssues and PRs related to the npm client dependency or the npm registry.Issues and PRs related to the npm client dependency or the npm registry.
on Feb 5, 2016 I can confirm this as well. Although I get errors during clone even:
Cloning into 'deletethis'... remote: Counting objects: 199429, done. remote: Compressing objects: 100% (4/4), done. Receiving objects: 100% (199429/199429), 170.83 MiB | 212.00 KiB/s, done.eiving objects: 100% (199429/199429), 170.81 MiB | 216.00 KiB/s Resolving deltas: 100% (146377/146377), done. Checking connectivity... done. error: Invalid path 'deps/npm/node_modules/readable-stream/.npmignore~8d21794... deps: upgrade npm to 3.6.0' error: Invalid path 'deps/npm/node_modules/readable-stream/LICENSE~8d21794... deps: upgrade npm to 3.6.0' error: Invalid path 'deps/npm/node_modules/readable-stream/LICENSE~8d21794... deps: upgrade npm to 3.6.0_0' error: Invalid path 'deps/npm/node_modules/readable-stream/duplex.js~8d21794... deps: upgrade npm to 3.6.0' error: Invalid path 'deps/npm/node_modules/readable-stream/node_modules/core-util-is/README.md~8d21794... deps: upgrade npm to 3.6.0' error: Invalid path 'deps/npm/node_modules/readable-stream/node_modules/core-util-is/float.patch~8d21794... deps: upgrade npm to 3.6.0' error: Invalid path 'deps/npm/node_modules/readable-stream/node_modules/core-util-is/lib/util.js~8d21794... deps: upgrade npm to 3.6.0' error: Invalid path 'deps/npm/node_modules/readable-stream/node_modules/isarray/README.md~8d21794... deps: upgrade npm to 3.6.0' error: Invalid path 'deps/npm/node_modules/readable-stream/node_modules/isarray/component.json~8d21794... deps: upgrade npm to 3.6.0' error: Invalid path 'deps/npm/node_modules/readable-stream/node_modules/isarray/index.js~8d21794... deps: upgrade npm to 3.6.0' error: Invalid path 'deps/npm/node_modules/readable-stream/node_modules/string_decoder/.npmignore~8d21794... deps: upgrade npm to 3.6.0' error: Invalid path 'deps/npm/node_modules/readable-stream/node_modules/string_decoder/LICENSE~8d21794... deps: upgrade npm to 3.6.0' error: Invalid path 'deps/npm/node_modules/readable-stream/node_modules/string_decoder/README.md~8d21794... deps: upgrade npm to 3.6.0' error: Invalid path 'deps/npm/node_modules/readable-stream/node_modules/string_decoder/index.js~8d21794... deps: upgrade npm to 3.6.0' error: Invalid path 'deps/npm/node_modules/readable-stream/passthrough.js~8d21794... deps: upgrade npm to 3.6.0' error: Invalid path 'deps/npm/node_modules/readable-stream/transform.js~8d21794... deps: upgrade npm to 3.6.0' error: Invalid path 'deps/npm/node_modules/readable-stream/writable.js~8d21794... deps: upgrade npm to 3.6.0' Checking out files: 100% (16816/16816), done.The same issue for me when syncing chromium (for nw.js).
Same issue here. Trying to use NPM in windows (through the Gradle plugin), but the build scripts fail due to the invalid file names in the tar.gz
/cc @nodejs/npm
It looks like this specific issue has been resolved. I was able to clone the repo and all of the files had proper names. Is there still a need for a broader fix in case this type of issue happens again?
@JoeDoyle23 I believe nodejs/build#338 took care of this at the CI level so that such files are detected when compiling on the Windows CI nodes. This is done often enough (when testing PRs for example) that any files that slip through would get caught fairly quickly.
If I clone nodejs/master and do
git statusgit complains bunch of files are added/deleted. The reason is 76cb81b added files in readable_stream with names that are not allowed in Windows. When git clones the repo, it silently renames it. Can we fix that sooner so git is clean when they fetch new contents from nodejs/master?I could fix it if i know what are the right names of these files.