stencil-cli icon indicating copy to clipboard operation
stencil-cli copied to clipboard

Stencil Start Error

Open joynakakihara opened this issue 4 years ago • 2 comments

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.

  1. Uninstall/reinstall stencil-cli
  2. Uninstall/reinstall Node.js (currently using Node version 12)
  3. Uninstall/reinstall Python 2.7

Still facing the same issue. Any ideas?

Thanks, Joy

joynakakihara avatar Nov 11 '20 17:11 joynakakihara

@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.

MaxGenash avatar Nov 12 '20 16:11 MaxGenash

Created a ticket for this issue: STRF-8840

MaxGenash avatar Dec 01 '20 17:12 MaxGenash