npm start is not working
$ npm start
[email protected] 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.react-scripts start
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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
Can you attach the log?
hey @Easyvipin
try npm cache clean --force
then delete your node_modules dir and package-lock.json file.
=> run npm install
then run npm start
Thanks I cleaned the cache and now it's working
https://github.com/facebook/create-react-app/issues/9227#issue-646496381
https://github.com/facebook/create-react-app/issues/9225#issuecomment-651292955