Jul 31 06:48:03 PM ==> Using Node version 14.17.0 (default)
Jul 31 06:48:03 PM ==> Docs on specifying a Node version: Specifying a Node Version | Render
Jul 31 06:48:03 PM ==> Running build command ‘npm start’…
Jul 31 06:48:04 PM
Jul 31 06:48:04 PM > smart-brain-api@1.0.0 start /opt/render/project/src
Jul 31 06:48:04 PM > nodemon server.js
Jul 31 06:48:04 PM
Jul 31 06:48:04 PM sh: 1: nodemon: not found
Jul 31 06:48:04 PM npm ERR! code ELIFECYCLE
Jul 31 06:48:04 PM npm ERR! syscall spawn
Jul 31 06:48:04 PM npm ERR! file sh
Jul 31 06:48:04 PM npm ERR! errno ENOENT
Jul 31 06:48:04 PM npm ERR! smart-brain-api@1.0.0 start: nodemon server.js
Jul 31 06:48:04 PM npm ERR! spawn ENOENT
Jul 31 06:48:04 PM npm ERR!
Jul 31 06:48:04 PM npm ERR! Failed at the smart-brain-api@1.0.0 start script.
Jul 31 06:48:04 PM npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Jul 31 06:48:04 PM
Jul 31 06:48:04 PM npm ERR! A complete log of this run can be found in:
Jul 31 06:48:04 PM npm ERR! /opt/render/.cache/_logs/2023-07-31T22_48_04_179Z-debug.log
Jul 31 06:48:04 PM ==> Build failed
Hi, community!
My build process failed because nodemon not found but in devDependencies is it installed :
“devDependencies”: {
“nodemon”: “^2.0.22”
}.
Please help!