i getting this error when i was deploying my backend file in the render
This means strapi package is not found.
Check if it’s a correct. Reinstall the package again .
If error existed try deleting node modules
rm -r node_modules and npm install
Specify configs in the ini-formatted file:
or on the command line via: npm --key=value
More configuration info: npm help config
Configuration fields: npm help 7 config
Unknown command: “build”
Did you mean this?
npm run build # run the “build” package script
To see a list of supported npm commands, run:
==> Build failed
after deleting node_modules and reinstall the node_modules i got this error
Can I see your package.json ?
And it's npm run build
Code 127 means that the command you specified, in this case
strapi, is not found. It’s most likely that you have strapi listed in
devDependencies, which are not installed when Node runs in production mode, which is the default on Render.
strapi’s entry into the list of