-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
No dist folder after successful build in Docker image #4339
Comments
After another day of debugging, I realized this was caused by an lowercase/uppercase import problem. My import looked like this: import './graphData'; But the file is named To replicate: Create a file with camelcase naming and import it with lowercase naming on linux. The Keystone build will succeed with |
I'm running into a similar issue. Is there a way to run the build with more detail? A debug or verbose setting? |
Keystone 5 has officially moved into active maintenance mode as we push towards the next major new version Keystone Next, you can find out more information about this transition here. In an effort to sustain the project going forward, we're cleaning up and closing old issues such as this one. If you feel this issue is still relevant for Keystone Next, please let us know. |
Bug report
Describe the bug
I have been battling the weirdest bug for a number of days now, and I have come to the conclusion that there's something really odd going on in my Keystone production builds. Basically, I have a keystone+next app that works perfectly in development. It also works perfectly when I run
keystone build && keystone start
on my Mac. However, when I run the same command inside of a Docker image based on the Node12.18.4
image, I am getting a successful build but nodist
folder. Weirdly, there is a.next
folder for the Next app, so I know the build runs. Also, the output is successful:So, if something is going wrong, Keystone is not telling me. There is no
dist
folder, and I am gettingAdmin UI not generated
when I try to runkeystone start
.To Reproduce
I am using the suggested
Dockerfile
from the docs:You will see that I added some
ls
commands, which, right after keystone successfully finishes the build shows nodist
folder.Expected behaviour
I am expecting to see a
dist
folder or for Keystone to tell me there was an error.System information
Docker with the
node:12.18.4-alpine
imageThe text was updated successfully, but these errors were encountered: