You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Keystone Prisma CLI commands do not work with the latest Node version. Downgrading to Node 20 LTS fixed this issue.
The following error occurs when running keystone build (in the postinstall):
> npm install
> cms@1.0.3 postinstall
> keystone build --no-ui --frozen
(node:18708) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
✨ GraphQL and Prisma schemas are up to date
AggregateError:
GeneratorError: Generator "C://<redacted>//cms//node_modules//@prisma//client//generator-build//index.js" failed:
Assertion failed: process_title, file c:/ws/deps/uv/src/win/util.c, line 418
at ChildProcess.<anonymous> (C:/<redacted>/cms/node_modules/@prisma/generator-helper/dist/chunk-XP4JGOVU.js:620:25)
at ChildProcess.emit (node:events:520:28)
at ChildProcess.emit (node:domain:488:12)
at ChildProcess._handle.onexit (node:internal/child_process:294:12)
at next (C:\<redacted>\cms\node_modules\@prisma\internals\dist\chunk-WTCY7DFZ.js:3159:24)
at C:\<redacted>\cms\node_modules\@prisma\internals\dist\chunk-WTCY7DFZ.js:3180:17
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
And the following when running prisma commands such as keystone prisma migrate dev and keystone prisma generate:
> npm run migrate-dev
> cms@1.0.3 migrate-dev
> keystone prisma migrate dev
(node:8912) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
✨ GraphQL and Prisma schemas are up to date
Assertion failed: process_title, file c:\ws\deps\uv\src\win\util.c, line 418
Node version:
> node -v
v22.1.0
The text was updated successfully, but these errors were encountered:
yorkeJohn
changed the title
Prisma AggregateError when running keystone prisma migrate dev, keystone build, etc.
Keystone Prisma CLI does not work with Node v22.1.0
May 14, 2024
Keystone Prisma CLI commands do not work with the latest Node version. Downgrading to Node 20 LTS fixed this issue.
The following error occurs when running
keystone build
(in the postinstall):And the following when running prisma commands such as
keystone prisma migrate dev
andkeystone prisma generate
:Node version:
The text was updated successfully, but these errors were encountered: