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 start
✨ Starting Keystone
✨ Connecting to the database
✨ Creating server
✅ GraphQL API ready
✨ Preparing Admin UI Next.js app
Error: Could not find a production build in the '/my-keystone-app/.keystone/admin/.next' directory. Try building your app with 'next build' before starting the production server. https://nextjs.org/docs/messages/production-start-no-build-id
at NextNodeServer.getBuildId (/my-keystone-app/node_modules/next/dist/server/next-server.js:345:23)
at new Server (/my-keystone-app/node_modules/next/dist/server/base-server.js:151:29)
at new NextNodeServer (/my-keystone-app/node_modules/next/dist/server/next-server.js:172:9)
at NextServer.createServer (/my-keystone-app/node_modules/next/dist/server/next.js:179:24)
at async /my-keystone-app/node_modules/next/dist/server/next.js:200:31
at async NextServer.prepare (/my-keystone-app/node_modules/next/dist/server/next.js:160:24)
at async start (/my-keystone-app/node_modules/@keystone-6/core/scripts/cli/dist/keystone-6-core-scripts-cli.cjs.dev.js:1277:5)
Expected
App should start without the Admin UI.
The text was updated successfully, but these errors were encountered:
According to the docs, I can set
ui.isDisabled: true
to disable the Admin UI:But when
keystone start
us run, the CLI code passes{ ui: true, ... }
in the second arg, here, which overrides the configuredisDisabled
value here.Related to #8046?
Reproduction
ui: { isDisabled: true }
keystone build
keystone start
Expected
App should start without the Admin UI.
The text was updated successfully, but these errors were encountered: