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

Installation on mac OS fails #158

Closed
antouhou opened this issue Jan 27, 2020 · 3 comments
Closed

Installation on mac OS fails #158

antouhou opened this issue Jan 27, 2020 · 3 comments

Comments

@antouhou
Copy link

When installing on mac OS installation fails with the following node-gyp error:

File "/Users/anton/.nvm/versions/node/v12.14.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 2285, in SetUpConfigurations
    for configuration in target_dict['configurations'].keys():
RuntimeError: dictionary changed size during iteration

node v12.14.0
npm 6.13.6
node-gyp v5.0.5
mac OS 10.14.5
clang-1001.0.46.4
GNU Make 3.81
Python 3.7.6

I'm not sure what the issue is. XCode tells me that it's the latest versions of compile available

@laverdet
Copy link
Owner

You have to build with python 2.7.

@antouhou
Copy link
Author

@laverdet Thank you for the response! Just discovered that it doesn't work with python 3 too. If someone else will come across the same issue, here it is: nodejs/node-gyp#1998. Thank you very much for the response!

@laverdet
Copy link
Owner

I also found that the gyp feature that I was using which triggered this bug is not actually needed. I can just drop the line and it's not a problem, so the next version on npm should work with python 3

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