Skip to content
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

Allow sentimental versioning #20

Closed
binarykitchen opened this issue Feb 3, 2021 · 1 comment
Closed

Allow sentimental versioning #20

binarykitchen opened this issue Feb 3, 2021 · 1 comment

Comments

@binarykitchen
Copy link

This error is thrown in my project

Error: Invalid version: "207-alpha1-SNAPSHOT"

Our version in package.json is sentimental, not in semver.

In error stack trace I can see above error comes from

...
/node_modules/normalize-package-data/lib/normalize.js:31:15
/node_modules/webpack-babel-env-deps/node_modules/read-pkg/index.js:43:36

Not sure if this is related to your package or normalize-package-data. Feel free to close if I'm wrong here.

Thanks.

@sindresorhus
Copy link
Owner

sindresorhus commented Feb 3, 2021

I think the package.json spec requires semver. Regardless, you should open an issue on the normalize-package-data package instead. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants