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.

LiveServer cannot find module 'statuses'

See original GitHub issue

I am having following issue:

Here is the error stack:  Error: Cannot find module 'statuses'
	at Function.Module._resolveFilename (module.js:470:15)
	at Function.Module._load (module.js:418:25)
	at Function.o._load (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:664:413)
	at Module.require (module.js:498:17)
	at require (internal/module.js:20:19)
	at Object.<anonymous> (C:\Users\julmarqu\.vscode\extensions\ritwickdey.liveserver-3.2.0\node_modules\finalhandler\index.js:17:16)
	at Object.<anonymous> (C:\Users\julmarqu\.vscode\extensions\ritwickdey.liveserver-3.2.0\node_modules\finalhandler\index.js:249:3)
	at Module._compile (module.js:571:32)
	at Object.Module._extensions..js (module.js:580:10)
	at Module.load (module.js:488:32)
Activating extension `ritwickdey.LiveServer` failed: Cannot find module 'statuses'.

I can’t compile sass files because of this and don’t understand what could be happening. Can you help me?

Forgot to mention that my VSCode is version 1.20

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
ritwickdeycommented, Feb 9, 2018

An Update! Yep! this extension is using statuses package! (Actually, dependency of dependency 😄 )

checkout this location: C:\Users\julmarqu\.vscode\extensions\ritwickdey.liveserver-3.2.0\node_modules

is there any folder named statuses ?

image

1reaction
julesmqzcommented, Feb 9, 2018

What I did was remove those folders completely and reinstall the module using VSCode and it worked. Thank you very much for your help! 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot find module 'live-server' (locally installed)
I have been trying to run babel and live-server locally , however when calling for 'npm run build' or 'npm run serve' I...
Read more >
live-server - npm
Live Server. This is a little development server with live reload capability. Use it for hacking your HTML/JavaScript/CSS files, ...
Read more >
cannot find module [Node npm Error Solved] - freeCodeCamp
In my case, I got it like this "Module not found: Error: Can't resolve 'react-icons/fa' in 'C:\Users\user\Desktop\Projects\Address Locator\ ...
Read more >
node_modules/live-server - GitLab
Live Server. This is a little development server with live reload capability. Use it for hacking your HTML/JavaScript/CSS files, but not for deploying...
Read more >
Live Server (Five Server) - Visual Studio Marketplace
Get Started. 4 ways to start your live server. Click Go Live in the Status Bar (bottom of VSCode); Right-Click a Open File...
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