I’m getting this error message:
Command failed with exit code 1: CI=" npm run build
I have CI=" npm run build as my build command and I set the NODE_VERSION to 14.17.5 under Environment Variables. My publish directory is “public”. Not sure if it should say “build” instead? But it didn’t work with “build” there either.
Any help is much appreciated. Here is a portion of the deployment log:
as your build command (which is one double quote) when you should have
CI='' npm run build
(which is two single quotes.) Note the CI='' part is only required if you need to explicitly set CI to true or false. In most cases, you can set your build command to
npm run build
Note: For future reference, please post the text of your deploy logs, not screenshots as the latter make it much harder to diagnose issues. The use of code blocks for commands is also advised.