npm start is not working
See original GitHub issue$ npm start
expense-app@0.1.0 start C:\Users\om\Documents\Expense tracker\expense-app react-scripts start
c:\Users\om\Documents\Expense tracker\expense-app\node_modules\webpack\lib\node\NodeTemplatePlugin.js:1 ri�+ Qz���KQM▼♦�Es�☺,���n{8b.���∟n�L��G♫♦�u.�u���
SyntaxError: Invalid or unexpected token
←[90m at Module._compile (internal/modules/cjs/loader.js:892:18)←[39m
←[90m at Object.Module._extensions…js (internal/modules/cjs/loader.js:973:10)←[39m
←[90m at Module.load (internal/modules/cjs/loader.js:812:32)←[39m
←[90m at Function.Module._load (internal/modules/cjs/loader.js:724:14)←[39m
←[90m at Module.require (internal/modules/cjs/loader.js:849:19)←[39m
←[90m at require (internal/modules/cjs/helpers.js:74:18)←[39m
at Object.<anonymous> (C:\Users\om\Documents\Expense tracker\expense-app\node_modules\←[4mhtml-webpack-plugin←[24m\lib\compiler.js:14:28)
←[90m at Module._compile (internal/modules/cjs/loader.js:956:30)←[39m
←[90m at Object.Module._extensions…js (internal/modules/cjs/loader.js:973:10)←[39m
←[90m at Module.load (internal/modules/cjs/loader.js:812:32)←[39m
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! expense-app@0.1.0 start: react-scripts start
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the expense-app@0.1.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\om\AppData\Roaming\npm-cache_logs\2020-06-24T10_58_14_181Z-debug.log
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top GitHub Comments
Thanks I cleaned the cache and now it’s working
hey @Easyvipin try
npm cache clean --force
then delete yournode_modules
dir andpackage-lock.json
file. => runnpm install
then runnpm start