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
Can't run stencil start due to libsass error #399
Comments
Could you try |
|
This happened to me when I had Node installed globally and NVM to manage versions. For me installing |
Weird, this is on the home page of this project
Will try it out... |
Wow, it worked. OK. Documentation!!! |
Good catch @abrambailey ! We've updated the required node versions in the official docs, but missed the GitHub README. We'll get this updated. |
Hey @abrambailey , yes the documentation in your screenshot is correct. Node version 4.x is deprecated, but 6.x + should be fine. To clarify, stencil CLI will work with node v 8.x, but it isn't a requirement. I think resolving your error was due more to reinstalling stencil CLI and npm dependencies than upgrading to node 8.x, but if you're running into the same error with 7.9.0 after reinstalling CLI/npm dependencies please let me know |
Ok, thank you Karen. 8 seems to be running fine for now, but will let you know if I need to go back to 7.9.0 if there are any issues. |
I installed everything and tried to start stencil and received this same error. I tried to rebuild it, remove it and reintall it but am still getting the same error. Do I need to uninstall everything and start over or is there an easier way? Can someone clarify the order of installation? |
@rosandrest What is "likely" happening here is that you have a version of Node installed that's handling The ideal order of things is:
NVM stands for Node Version Manager. Think of it like a hidden folder that contains everything about a particular node version. So you'd have a file structure like Please note: I'm not 100% sure that this will fix your problem (although it's worked for basically everyone I've helped through this, say an n of 6) and some of what I explained above is a simple/rough example of how it works, not "actually" how it works. Good luck! |
Hey Guys, running into the same problem only I'm running on v10.16.3 `$ stencil start Error: The I've tried everything you've instructed. If you could advise. |
Using windows npm 10.16.3* |
Hi @ak-mat-development! I haven't worked on a stencil site in a bit. But at a glance, that looks like the exact issue that most people are encountering when they end up here. My best suggestion, given that you're on widows, is install WSL, then install NVM, then use NVM to install a node version (10+ should be good), then from there you should be fresh. The following line makes me think that your attempts at uninstalling node may have been in vain.
Step one is vital, completely uninstall any trace of node on your system. Then install NVM and get node through that path. Then when you install a global package (like Here's a helpful link that doesn't really explain why, but sort of shows where things "should" be installed. |
This is over 6 months old so I am going to close it. I would recommend you please try the latest 3.x version and please open a new issue if you run into any issues. |
Rebuilding node-sass
Trying to start stencil and being asked to rebuild node-sass
I tried the following, but nothing helps:
The text was updated successfully, but these errors were encountered: