-
-
Notifications
You must be signed in to change notification settings - Fork 877
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
8.15 requires fast-uri, which requires node:url
, which makes it not bundelable for the web
#2446
Comments
we meet the same problem, I have to pin to |
There are also compatibility issues with earlier versions of node. |
+1 |
+1 |
node:url
, which makes it not bundelable for the webnode:url
, which makes it not bundelable for the web
+1 |
+10086 |
+1 |
+ ajv-validator/ajv#2446 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Chores** - Updated the application version to `8.15.0` in `package.json` with a reason link for the change. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Co-authored-by: raoha.rh <raohai.rh@antgroup.com>
+1 |
1 similar comment
+1 |
If you also experience this problem, please click the thumbs-up emoji on the top comment instead of adding a note with "+1". The emoji counts automatically, and by posting "+1", everyone who commented earlier (including me) gets a mail notification. |
Yep, we’re onto it. Please pin until we get a fix out asap. |
Can you provide more detail? |
Our project uses @nx/webpack, but @nx/webpack relies on schema-utils, and schema-utils ends up using ajv |
+1 |
There are a lot of dependencies that uses ajv with an unpinned version. This is a breaking change in lower versions of node. Could you please rollback? Thanks in advance for the good work 😄 |
All who are unsure how to downgrade to a previous minor version as a temporary workaround you can run: npm install "ajv@8.14.*" --save and should get then the previous version which does not require the fast-uri package. |
ajv issue: ajv-validator/ajv#2446 This also removes css-minimizer-webpack-plugin which is not used within bundler-webpack
+1 Same exact JSON files validate just fine against exact same JSON schemas using Ajv 8.14.0 |
@errodrigues, I opened that as a separate issue (#2447) to not clutter this discussion. |
As a workaround maybe you can override the version of "overrides": {
"@the-validator-package": {
"ajv": "8.14.0"
}
}, |
Reverting now. New version will be 8.16.0 and will set everything back to how it was in 8.14.0. Sorry for the disruption. |
Reverted in v8.16.0 |
edit: please stop posting "+1". The team is on it, the problem is reproducible, you're not adding useful information by posting "+1", and everyone in the thread is getting spurious mail updates.
If you are commenting because you want updates, see the big "subscribe" button to the right. If you want to mark yourself as affected, click the counting emoji below this post.
The version of Ajv you are using
8.15.0
The environment you have the problem with
esbuild, targeted to Firefox (but I believe this will be a problem for all browsers)
Your code (please make it as small as possible to reproduce the issue)
Results in node.js v8+
this works, because
node:url
is a native node moduleThe text was updated successfully, but these errors were encountered: