-
Notifications
You must be signed in to change notification settings - Fork 33
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
can't get /admin in production - admin-ui-app #134
Comments
Same issue after upgrade from |
I have the same issue with the |
Same issue with "17.1.2", |
updated keystone packages to the latest version and problem is fixed now.
but react-day-picker style issue is not fixed yet. |
My build on gitlab failed, and this was the cause. @keystone/fields has upgraded react-day-picker to beta which has an engine requirement of node 14. I suggest reverting that because it's a breaking change. |
By the way, for a quick fix, since I had to have this working tonight I just modified my dockerfile to do
to avoid the error. I wasn't ready to update every keystone dependency. |
Bug report
In development mode, everything is fine, but after signing in in production, i receive the "cannot get /admin" error message from express.
Cookies and sessions work as well.
from the source code i guess that the build script is supposed to compile the admin-ui client in the /dist/admin/secure directory, but after successful build, only /dist/admin/public directory is created.
Screenshots
System information
and my build script is:
"build": "cross-env NODE_ENV=production babel-node ./node_modules/.bin/keystone build"
The text was updated successfully, but these errors were encountered: