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

LiveServer cannot find module 'statuses' #75

Closed
julesmqz opened this issue Feb 9, 2018 · 7 comments
Closed

LiveServer cannot find module 'statuses' #75

julesmqz opened this issue Feb 9, 2018 · 7 comments
Labels

Comments

@julesmqz
Copy link

julesmqz commented Feb 9, 2018

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

@ritwickdey
Copy link
Owner

Try to uninstall both of the extension & install again.

Let me know if it works or not

@ritwickdey
Copy link
Owner

Btw, which version of vscode you're using?

anyway, the error message is Cannot find module "statuses". This extension is not using any statuses module. It may be internal module of vscode, I'm not sure.

@ritwickdey
Copy link
Owner

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

@julesmqz
Copy link
Author

julesmqz commented Feb 9, 2018

you are right! I am missing the statuses folder
image
Do you know how can I install it?

@ritwickdey
Copy link
Owner

This should come while you're installing the extension.

Did you try to reinstall process?

@julesmqz
Copy link
Author

julesmqz commented 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! :D

@julesmqz julesmqz closed this as completed Feb 9, 2018
@ritwickdey
Copy link
Owner

Thanks for the confirmation!

If you really like the extension, please drop a review in vscode marketplace.
https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer

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

No branches or pull requests

3 participants