-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
configure --tag allows any string, but certain characters break npm #21641
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
Comments
In our situation, I think it is the |
Unfortunately, Debian and semver have different semantics for |
Yeah, just read up on that now.. unfortunate. I'll stick to putting everything behind a |
/cc @nodejs/build-files |
Is the request here about supporting something like |
I'm proposing keeping That lets you do something like |
@apaprocki Doesn't |
Yes, but that kind of forces the caller of In other news, adding a |
In reference to the ticket you filed, per semver the build identifier comes after prerelease or patch, so I think what you are trying to do is better represented by |
Yes, but I couldn't do that because if I package, for example, |
This probably isn't going to be very helpful, but anecdotally when we first ported Node.js (v0.10.x(!)) onto IBM platforms we initially appended a build ID string via We tried swapping between |
No further activity in nearly 2 years. Closing |
The
--tag
option lets you append a custom build ID to the Node version. We have a standard build ID that contains characters from the following set[A-Za-z0-9_.+]
. Node'sconfigure --tag
accepts this fine and the resulting string appears innode -v
, but anynpm
command triggers the warning:... and there seems to be no way to configure the version
npm
sees to just bev10.5.0
.Is
npm
too restrictive here or does Node require documentation stating explicitly which characters are allowed to be in the--tag
?The text was updated successfully, but these errors were encountered: