when i am running the dev image it's building it correctly but when i run the production one i got this error :
[builder 7/7] RUN yarn build: 15 1.300 Usage Error: Couldn't find the node_modules state file - running an install might help (findPackageLocation) 15 1.300 15 1.300 $ yarn run [--inspect] [--inspect-brk] <scriptName> ... executor failed running [/bin/sh -c yarn build]: exit code: 1 ERROR: Service 'app' failed to build : Build failed
i checked the code and it's exactly the same as yours!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
when i am running the dev image it's building it correctly but when i run the production one i got this error :
i checked the code and it's exactly the same as yours!