-
Notifications
You must be signed in to change notification settings - Fork 45
Failed at the [email protected] install script 'node-gyp rebuild'. #67
Comments
The error is this:
Set the PYTHON environment variable or pass |
Or have python 2.7 on your Windows path. Note also that [email protected] is obsolete, the project was renamed recently with a hyphen in the name, 'node-report'. The latest version is 2.1.1, see https://www.npmjs.org/package/node-report. |
@ajayit1994 did you get past this problem? There are guidelines for the pre-reqs when installing native npm modules on Windows. See the node-gyp installation "on Windows" section here: |
Closing as above, thanks |
thanks |
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack at failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:449:14)
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:404:11
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:264:29
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:123:15)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-
gyp.js" "rebuild"
gyp ERR! cwd D:\eMenu\eMenuAnalyticsApi\node_modules\nodereport
gyp ERR! node -v v6.9.5
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none was installed.
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "noderepor
t"
npm ERR! node v6.9.5
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install:
node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the nodereport package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs nodereport
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls nodereport
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! D:\eMenu\eMenuAnalyticsApi\npm-debug.log
The text was updated successfully, but these errors were encountered: