Skip to content
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

npm install will fail on mac OS #2

Closed
pedrosimao opened this issue Aug 30, 2019 · 2 comments
Closed

npm install will fail on mac OS #2

pedrosimao opened this issue Aug 30, 2019 · 2 comments

Comments

@pedrosimao
Copy link

pedrosimao commented Aug 30, 2019

I get an error when trying to run npm install after git clone. I am trying to use the suggested sync workflow. I have tried with yarn install and I have the same problem. Here is my error output:

TypeError: cannot use a string pattern on a bytes-like object
make: *** [Release/nothing.a] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/pedro1/.nvm/versions/node/v10.15.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:196:23)
gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12)
gyp ERR! System Darwin 17.7.0
gyp ERR! command "/Users/pedro1/.nvm/versions/node/v10.15.0/bin/node" "/Users/pedro1/.nvm/versions/node/v10.15.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/pedro1/Documents/MY_DOCUMENTS/HOT_DOCUMENTS/--CODE--/GITHUB/msa-led-counter
gyp ERR! node -v v10.15.0
gyp ERR! node-gyp -v v5.0.3
gyp ERR! not ok

Am I missing something?

@pedrosimao
Copy link
Author

Ok, I have found the solution.
I was running it on python 3 environment. I switched my env to python 2.7 and now I got it working.
Maybe that should be mentioned in the documentation?

@alexeden
Copy link
Owner

Interesting. I'll add a note to the documentation here shortly. Thanks!

@alexeden alexeden closed this as completed Oct 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants