Hello @neutrolabs limited we are sorry to hear you're having this issue. can you please share how you deployed your Linux web app?
The error message you’re seeing, “Error: Cannot find module ‘…/scripts/start’”, typically occurs when Node.js can’t find the module it’s trying to require. In this case, it seems like it’s unable to find the start
script in your react-scripts
package. Is the start
script in your package.json
file correctly pointing to the start
script in package?
Sometimes, this issue can be resolved by deleting your node_modules
folder and your package-lock.json
file, and then running npm install
to reinstall your packages. Also, if you’re deploying your app to Azure, make sure that your startup command is correctly set in your App Service configuration
For example, you might need to set the startup command to pm2 start <.js-file-or-PM2-file> --no-daemon
---
I hope this helps! Let me know if you have any other questions.
-Grace