-
-
Notifications
You must be signed in to change notification settings - Fork 816
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
gyp: Undefined variable module_name in binding.gyp while trying to load binding.gyp #1434
Comments
FINALLY SOLVED. |
Hi @KotoriK , how did you manage to manually add |
add as arguments after "node-gyp rebuild". like "node-gyp rebuild --module-name=balabala" |
I was having this issue on CI. The problem is that one of this package's lifecycle scripts (more specifically,
Then compile from source (mentioned here)
Note: Now, I've noticed this is not as good as a workaround for local development - ideally you'd want to have |
I'm noticing I'm not having the installation issue described above if I upgrade to 5.0.2. Might be related to 0eba2cd. @kewde pinging since you authored those changes. Please check out #1434 (comment) and #1441 when you have the time. As it currently is, for those on 5.0.1, the "workaround" I mentioned of using |
I've tried [email protected] on the same environment and it threw the same error. |
Thank you for submitting this issue, it's greatly appreciated. I've merged pull requests that may impact this, please clone |
It works. Thanks. |
what is supposed to be the module name?? |
@migralito the module_name and module_path is inside the package.json of the module you want to install |
Environment:
Full Log
seem like the same problem with #851 #766
The text was updated successfully, but these errors were encountered: