fix: pin ajv to 8.14.0, as 8.15.0 is broken #6607
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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