error when deploying
revcastfer
HOBBYOP
2 years ago
1.127 > capacitaciones-farmasis@0.1.0 build
1.127 > react-scripts --openssl-legacy-provider build
1.127
1.136 sh: 1: react-scripts: Permission denied
ⓘ Deployment information is only viewable by project members and Railway employees.
3 Replies
2 years ago
Are you committing your node_modules and or build folder? if so, remove it from GitHub and then add them to your .gitignore file.
revcastfer
HOBBYOP
2 years ago
perfect!…
2 years ago
Are you just letting Railway run your react-scripts start start script, if so, you are running a development server, that's costly and buggy in production environments?