question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

npm install on mac os

See original GitHub issue

Hello all,

I am trying to get started with this library, buy I am having issues installing it and I could not find information on this error.

I read a lot, so I have installed OpenSSL through Homebrew and I have added those exports from the README to my .bash_profile. However, installation still fails.

OpenSSL: gzuniga$ brew list openssl /usr/local/Cellar/openssl/1.0.2s/.bottle/etc/ (8 files) /usr/local/Cellar/openssl/1.0.2s/bin/c_rehash /usr/local/Cellar/openssl/1.0.2s/bin/openssl /usr/local/Cellar/openssl/1.0.2s/include/openssl/ (75 files) /usr/local/Cellar/openssl/1.0.2s/lib/libcrypto.1.0.0.dylib /usr/local/Cellar/openssl/1.0.2s/lib/libssl.1.0.0.dylib /usr/local/Cellar/openssl/1.0.2s/lib/engines/ (12 files) /usr/local/Cellar/openssl/1.0.2s/lib/pkgconfig/ (3 files) /usr/local/Cellar/openssl/1.0.2s/lib/ (4 other files) /usr/local/Cellar/openssl/1.0.2s/share/man/ (1683 files)

Bash profile: gzuniga$ cat .bash_profile export ANDROID_HOME=$HOME/Library/Android/sdk export PATH=$PATH:$ANDROID_HOME/emulator export PATH=$PATH:$ANDROID_HOME/tools export PATH=$PATH:$ANDROID_HOME/tools/bin export PATH=$PATH:$ANDROID_HOME/platform-tools export CPPFLAGS=-I/usr/local/opt/openssl/include export LDFLAGS=-L/usr/local/opt/openssl/lib

Error: out.txt

Node: gzuniga$ node --version v12.6.0

NPM: gzuniga$ npm --version 6.9.0

I also tried this: brew install librdkafka

However, it did not change anything. Do I need it?

What am I missing?

Any help on this would be greatly appreciated. Thank you very much.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9

github_iconTop GitHub Comments

4reactions
IdanAdarcommented, Nov 18, 2019

2.7.4 supports node 12

3reactions
z0r1kcommented, Sep 16, 2019

12.x support was added in PR #610 on Jul, 4th but it wasn’t released because 2.7.0 contain changes only from Jul, 1st. Does anybody know when is the next release which would contain node12 support?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Downloading and installing Node.js and npm
If you're using OS X or Windows, use one of the installers from the Node.js download page. Be sure to install the version...
Read more >
Installing Node.js® and NPM on Mac
Installation Steps · Open the Terminal app and type brew update . This updates Homebrew with a list of the latest version of...
Read more >
How to install Node.js and npm on macOS - Fullstack.io
1) Using the macOS installer available from the Node.js website# · Download the Node.js .pkg Installer: Opening node-v12.18.0.pkg · Run the .pkg ...
Read more >
How to Install Node.js and NPM on Mac - phoenixNAP
1. Type the following command to install Node.js and NPM: brew install node · 2. When the installation finishes, confirm that you successfully ......
Read more >
Installing Node.js via package manager
n is a simple to use Node.js version manager for Mac and Linux. Specify the target version to install using a rich syntax,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found