-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Error running npm-install #1195
Comments
+1 |
1 similar comment
+1 |
This has brought our dev team to a halt. When trying to install microtime directly which is kicking off the node-gyp rebuild here is the error(s) I get:
|
@ukphillips That is where I actually started with this. The microtime author seems to think it's a node-gyp issue. This has been a huge time waste for my team too. wadey/node-microtime#49 |
I'm using windows, after the steps described here https://github.com/nodejs/node-gyp#installation, the error was gone |
@im1dermike I just noticed that - I am now where you are. VERY frustrating that this has all blown up without a single change to any of our code. All I can assume is a package somewhere in the dependency chain changed that has caused this mess. |
@ukphillips NPM's biggest issue IMO. I'm thinking that changing my package.json file to exclude the |
+1 |
Is this the same issue? The symptom sounds the same https://github.com/nodejs/node-gyp/issues/1144 |
@skkonstantin Which steps did you follow? I ran |
@im1dermike , I did the same thing, with administrator root . i think this error came after OS update |
@nodejs/platform-windows any ideas? Looks like the original issue is
|
It looks like someone (the author of pdbdf2?) has fixed it. wadey/node-microtime#49. I just blew out my node_modules folder and ran |
So a native module was added to the |
Not 1144, there the error is @im1dermike 's error has this in log: First thing to try is to update |
For posterity: |
Found out that Errors remains (SelectVisualStudioVersion...). Version change reflected in same error stack trace. |
Forgot to mention, I'm running And |
First make sure you see
In the error output. If you do: look at #1179 Else: do the npm upgrade dance - https://docs.npmjs.com/getting-started/installing-node |
@refack I ran into this issue today and I've seen that some others have been befuddled by it as well, with seemingly no resolution. I found out something and wanted to share it in case anyone else finds it useful. Here: https://github.com/nodejs/node-gyp/blob/v3.6.2/lib/find-vs2017.js#L17 I changed that to |
@tuespetre Just FYI, you can make npm log at So I'm assuming Lines 9 to 11 in b5b52f7
|
@refack I did |
Well it is called |
Cross-ref: #1292 |
PR-URL: #1292 Refs: #1195 (comment) Reviewed-By: Ben Noordhuis <[email protected]>
@tuespetre FYI, @dahlbyk landed a fix in |
Has this been fixed?
|
@paulprendergast is seems like your folder |
Has this been resolved? if it has been resolved can you directed to page and location on page or give me direct feedback versions = _DetectVisualStudioVersions(version_map[version], 'e' in version) attached are my logs I have tried this with it seems to be with node-gyp. electron-edge-js electron-edge My Computer: Environment Vars: |
run this command : meteor npm install --save @babel/runtime |
After trying for many days, I found that my problem is that the nodejs aerospike client uses node-gyp for building, and the client depends on I added the repo and installed the package before running the
|
C:\Users\Lenovo\AppData\Roaming\npm\node_modules\appium\node_modules\heapdump>if not defined npm_config_node_gyp (node "C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
C:\Users\Lenovo>np |
how to solve this |
Refack's solution saved me after I wasted days with this issue. Try to UPDATE NPM ( |
@NitroBAY Thank you!!! |
only this option helped https://github.com/nodejs/node-gyp#option-2 |
Be careful, You have to use Python 2.7 (and not 3.7 which is the current latest version). |
npm install --global --production windows-build-tools .. work well . Thank you. |
after install tools
You need to set new python path in environment-variable PATH. be sure not to install different version of python. |
whene i run this command ::::: npm i --s firebase @angular/fire |
I had installing |
On Mac OS doing : |
On Windows, what I did to fix it were the following:
|
npm ERR! code ELIFECYCLE npm ERR! A complete log of this run can be found in: Can you help me ?? |
From the node-gyp docs These are the steps if you are on Windows to solve the issue
|
Today, I started getting errors when running npm install for my web application. I seem to have traced it to npm-gyp. Here is what I get when I try to install it:
The text was updated successfully, but these errors were encountered: