Getting this error on npm start
'Equipment' is not recognized as an internal or external command, operable program or batch file. internal/modules/cjs/loader.js:983
throw err; ^Error: Cannot find module 'C:\Users\Home\Desktop\react-scripts\bin\react-scripts.js' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:980:15) at Function.Module._load (internal/modules/cjs/loader.js:862:27) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12) at internal/main/run_main_module.js:18:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }
CodePudding user response:
Delete the node_modules directory
Delete the package-lock.json file
Run npm install
Run npm start
CodePudding user response:
Resolved my problem by changing the name of parent folder of my app.
Previously it contained spaces therefore it was showing
'not recognized as an internal or external command'
error.