-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
CLI build and prisma migrate commands never exit #8581
Comments
Hi, did you find a fix or any more info for this issue? |
@velimd Hi, the simplest workaround which I found is to create some
Then instead of using built-in
|
also seeing this |
Same. Thanks for the workaround. I'm running node v18.16.1 on Mac. |
also seeing this, workaround worked. seems related to #8760 |
overrides for npm |
Maybe related to vercel/next.js#54494 |
Just create new Keystone app with
yarn create-keystone-app
then try to execute commandyarn build
-> 'keystone build'The expected behaviour is to build production ready output in
.keystone/admin
and exit process when this will be successfully done. But now the process is never exited even when build is done successful which is very inconvenient because basically there is no chance to go to another command when we want to deploy application - build hang out forever without exit after success.node version 16.19.1 but I also tried with newest LTS 18
next version - I tried with 13.2.2, 13.2.3, 13.3, 13.4.2
But I believe that this is no related to other similar issues with hang out build command with:
info - Creating an optimized production build ...
because I saw that this is related to some next versions above 13.2.3 and I also had that issue but figured it out changing next version, so the message disappeared after build but still build process is not exited.When I simply added
process.exit()
inkeystone-6-core-scripts-cli.cjs.prod.js
at the end of function build which is responsible for that, everything went as expected.Also there is the same issue with
keystone prisma migrate
CLI commands.The text was updated successfully, but these errors were encountered: