Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm start is not working #9208

Closed
Easyvipin opened this issue Jun 24, 2020 · 5 comments
Closed

npm start is not working #9208

Easyvipin opened this issue Jun 24, 2020 · 5 comments

Comments

@Easyvipin
Copy link

$ 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. (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

@dhanushkac
Copy link

Can you attach the log?

@ShahrozTanveer
Copy link

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

@Easyvipin
Copy link
Author

Thanks I cleaned the cache and now it's working

@ShahrozTanveer
Copy link

#9227 (comment)

@ShahrozTanveer
Copy link

#9225 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants