-
Notifications
You must be signed in to change notification settings - Fork 2
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
sls stackstorm info and install command failing on Mac OS Siera V 10.12.16 #27
Comments
I am facing the same issue as well |
Thanks for reporting this. @enykeev any ideas? I had some ssl related issues due to missing libraries on Fedora (libssl-dev, curl-dev, gnutls-dev), but it worked fine on Ubuntu. Sadly I don't have any experience with OS X. |
Frankly, I have no idea either. There is a long standing issue (nodejs/node#3692) related to OpenSSL throwing EPROTO on some combinations of servers and openssl, but I surely don't have enough knowledge on inner workings of the openssl to claim anything. What I can suggest though is to remove OpenSSL out of equation by setting index_root to http:
I've checked and in my case, both http and https works on OSX 10.13.2 with
and
|
Hi @enykeev I tried to set index_root in the serverless.yml but still getting the same issue. |
Hi no worries @enykeev!..yea I do have a corporate proxy setup behind which I am trying to run the command |
@psogani found a similar issue in the repo of http library we're using: axios/axios#925 Is your corporate proxy installed system-wide or are you feeding |
It is system-wide but we need to setup some env vars in either bash or the npmrc to make npm use it |
@enykeev so this is how my package.json looks like:-
Since my openssl version is 1.0.2n i changed package.json to reflect the same:
But that did not resolve my issue either..:'( |
@psogani you do realize that package.json dependencies section defines npm dependencies, not system one and there's no As for this proxy thing, my guess is that you're defining the proxy as HTTP one. Try setting your corporate proxy as HTTPS. That should solve the problem. |
@enykeev My bad i thought that the openssl dependency defined in package.json is for the system version. I am not sure if there is an openssl npm package of that version. |
Hi Team,
I installed openssl & node on mac using brew install.
I also installed all the prerequisites required.
But when I tried to run the command sls stackstorm install packs -p aws
it gives me the below error
I also configured the brew installed openssl path in the bash profile
which openssl
/usr/local/opt/openssl/bin/openssl
And also exported the flags in the bash profile
export CPATH=/usr/local/opt/openssl/include
export LIBRARY_PATH=/usr/local/opt/openssl/lib
Could you please help me to resolve the issue.
Kind Regards,
UM
The text was updated successfully, but these errors were encountered: