question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
Easyvipincommented, Jun 29, 2020

Thanks I cleaned the cache and now it’s working

1reaction
ShahrozTanveercommented, Jun 29, 2020

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix npm start command not working - Nathan Sebhastian
How to fix npm start command not working · Check if you have a package.json file in your project · Check if you...
Read more >
NPM Start not starting local server - node.js - Stack Overflow
npm start will only work when you have a start script. ... Ubuntu 18.04 where localhost did not exist in my hosts file...
Read more >
npm start not working, tried many solves :| #1328 - GitHub
Delete the node_modules folder. · Open the package.json · Search for "gulp": "gulpjs/gulp#4.0", and replace it with "gulp": "^4.0", · Make sure you ......
Read more >
npm-run-script
This runs an arbitrary command from a package's "scripts" object. If no "command" is provided, it will list the available scripts. run[-script] is...
Read more >
npm run start not working - Reddit
npm run start not working ... npm ERR! npm ERR! Failed at the react-site@0.1.0 start script 'react-scripts start'. npm ERR! Make sure you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found