stencil-cli
stencil-cli copied to clipboard
Stencil Start Error
Hi, I have upgraded from stencil-cli version 1.23.1 to version 3.0.3. Executing stencil start produces the following: error not ok -- Error: The BigCommerce Store you are pointing to either does not exist or is not available at this time. Error details: request to https://spinning.com/stencil-version-check?v=3.0.3 failed, reason: unable to verify the first certificate.
I have taken the following steps trying to resolve the issue.
- Uninstall/reinstall stencil-cli
- Uninstall/reinstall Node.js (currently using Node version 12)
- Uninstall/reinstall Python 2.7
Still facing the same issue. Any ideas?
Thanks, Joy
@joynakakihara
Seems like there are some problems with SSL certificates.
As a temporary solution, you can use this one https://stackoverflow.com/a/48960988/9193658 (since stencil-cli is used for dev purposes only and we send requests to our servers only - disabling SSL checks here is not dangerous).
Which means:
export NODE_TLS_REJECT_UNAUTHORIZED=0
stencil start
OR
NODE_TLS_REJECT_UNAUTHORIZED=0 stencil start
I'll investigate what may be causing this issue and create a PR with a fix later.
Created a ticket for this issue: STRF-8840