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

fix: pin ajv to 8.14.0, as 8.15.0 is broken #6607

Merged
merged 1 commit into from
Jun 4, 2024
Merged

Conversation

AlessioGr
Copy link
Member

See https://discord.com/channels/967097582721572934/1247313351151714389/1247336646878171258

Fixes this:

Module build failed: UnhandledSchemeError: Reading from "node:url" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.
Import trace for requested module:
node:url
./node_modules/.pnpm/[email protected]/node_modules/fast-uri/index.js
./node_modules/.pnpm/[email protected]/node_modules/ajv/dist/runtime/uri.js
./node_modules/.pnpm/[email protected]/node_modules/ajv/dist/core.js
./node_modules/.pnpm/[email protected]/node_modules/ajv/dist/ajv.js
./node_modules/.pnpm/payload@3.0.0-beta.39_@swc+core@1.5.24_@swc[email protected][email protected][email protected]/node_modules/payload/dist/fields/validations.js
./node_modules/.pnpm/payload@3.0.0-beta.39_@swc+core@1.5.24_@swc[email protected][email protected][email protected]/node_modules/payload/dist/exports/fields/validations.js
./node_modules/.pnpm/@payloadcms[email protected][email protected][email protected]_next@15.0.0-rc.0_payload@3_bycrjqlo3lguyhsywwxtlataiy/node_modules/@payloadcms/next/dist/views/ForgotPassword/ForgotPasswordForm/index.js
GET / 500 in 5561ms
GET / 500 in 2774ms
^C

@denolfe
Copy link
Member

denolfe commented Jun 4, 2024

Relevant ajv issue: ajv-validator/ajv#2446

@AlessioGr AlessioGr merged commit 4a54aa7 into main Jun 4, 2024
5 checks passed
@AlessioGr AlessioGr deleted the fix/ajv-broken-2.0 branch June 4, 2024 00:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants