Hi @Matheus Souza Silva ,
In reviewing your logs attachment, you did several different deployment types (ScmType: GitHub / zip deploy). App Service deployments will run npm install --production
, see https://learn.microsoft.com/en-us/azure/app-service/configure-language-nodejs?pivots=platform-linux. So seeing 2021-02-26T13:26:47.878836198Z /bin/sh: 1: react-scripts: not found
is an indicator that this did not occur. Check your deployment logs by visiting https://{your-app}.azurewebsites.net/api/deployments to see if your artifacts
If you are deploying from GitHub (Actions), the yml should be configured to install the dependencies which should include react-scripts
in your deployment artifacts folder.
- name: npm install, build, and test
run: |
npm install
npm run build --if-present
npm run test --if-present
working-directory: my-app-folder # set to the folder with your app if it is not the root directory
Verify that my-app-folder
contains your node modules and package.json
.
Regards,
Ryan