stencil-cli
stencil-cli copied to clipboard
Error: The `libsass` binding
Expected behavior
after stencil start - thought it would start
Actual behavior
Received this error Error: The libsass
binding was not found in C:\Users\msumner\AppData\Roaming\npm\node_modules@bigcommerce\stencil-cli\node_modules@bigcommerce\node-sass\vendor\win32-x64-72\binding.node
Steps to reproduce behavior
Hello.
Try reinstalling your node_modules: npm ci
and make sure you use the same node version when installing node modules and running stencil-cli commands
Hi Max,
I am really new to the nodejs world so sorry for not knowing the order of things.
I went to my cornerstone directory and ran npm ci
Then stencil init – the info was there for my site, port, token Then stencil start and still got the same error.
In a previous attempt I had changed my nodejs folder in program to nodejsx , it recreated a nodejs folder. That is how I had gotten a little further, the step fixed issues I was having on my laptop.
I am trying to get it running on my desktop. I believe I may have a few applications that may be using nodejs under the hood – Adobe Dreamweaver not sure what else, but I am willing to start from scratch also.
On the step you asked me to run should I have run that at a different location? Should I have run other commands before or after, before I tried stencil?
Thanks,
Mike
From: Max Genash [email protected]
Sent: Thursday, November 5, 2020 7:53 AM
To: bigcommerce/stencil-cli [email protected]
Cc: Michael Sumner [email protected]; Author [email protected]
Subject: Re: [bigcommerce/stencil-cli] Error: The libsass
binding (#663)
CAUTION: The e-mail below is from an external source. Please exercise caution before opening attachments, clicking links, or following guidance.
Hello. Try reinstalling your node_modules: npm ci and make sure you use the same node version when installing node modules and running stencil-cli commands
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fbigcommerce%2Fstencil-cli%2Fissues%2F663%23issuecomment-722391124&data=04%7C01%7Cmsumner%40nbs.com%7C506c5db59a294a8e345e08d881920ca2%7Cac7b730597d247e9a35913a859613cdc%7C0%7C0%7C637401811584354380%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Ud30czpGfL%2FMmKOXKoPM0PAT3tW%2FyCuUFkLJrtbOsww%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAALECCXOGAKOQZ6XY6MGJ23SOKU2FANCNFSM4TLL6EFQ&data=04%7C01%7Cmsumner%40nbs.com%7C506c5db59a294a8e345e08d881920ca2%7Cac7b730597d247e9a35913a859613cdc%7C0%7C0%7C637401811584364382%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=jMliaXVvHE0%2Bq5B9IvCRFC7yInRz0pp3Erpb5B%2Bb2i8%3D&reserved=0.
@nbsmikes Oh, my bad, I meant reinstalling the packages in stencil-cli, but since you a probably using a global stencil-cli package (installed as npm i -g @bigcommerce/stencil-cli
) - just reinstall it for your current Node version:
npm i -g @bigcommerce/stencil-cli
@nbsmikes hey, have you managed to fix the issue?