-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm happily creates packages that won't unpack on windows #9
Comments
Note: There may be a way to escape these characters in node tar, like we do for |
There does not appear to be a way to make this work at the tar level. I think the answer here is just to disallow them in npm-packlist (like how we disallow symlinks), since it's really about application portability. |
isaacs
added a commit
that referenced
this issue
Jun 4, 2019
Filenames containing * chars break windows and create incompatible archives in the npm registry. In the next major release, this should raise an error instead of silently omitting them, so that authors can be alerted. Fix #9
isaacs
added a commit
that referenced
this issue
Oct 9, 2019
Filenames containing * chars break windows and create incompatible archives in the npm registry. In the next major release, this should raise an error instead of silently omitting them, so that authors can be alerted. Fix #9
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I got this bug recently: mahirshah/css-property-parser#21 because a filename had an asterisk in it. Evidently windows gets mad about that. I worked around the issue by renaming the files, but it seemed like the sort of thing that npm might want to raise an error about or handle somehow so that it's not an error.
The text was updated successfully, but these errors were encountered: