On Fri, Jun 29, 2012 at 7:29 PM, rtweed <[email protected]> wrote: > Not sure if the v8-profiler isn't available for Windows. I got the > following error report when trying to install it on Node.js 0.6.19 for > Windows. Any ideas?: > > C:\node>npm install v8-profiler > npm http GET https://registry.npmjs.org/v8-profiler > npm http 200 https://registry.npmjs.org/v8-profiler > npm http GET https://registry.npmjs.org/v8-profiler/-/v8-profiler-3.6.2-1.tgz > npm http 200 https://registry.npmjs.org/v8-profiler/-/v8-profiler-3.6.2-1.tgz > >> [email protected] install C:\node\node_modules\v8-profiler >> node-gyp rebuild > > > C:\node\node_modules\v8-profiler>node "C:\Program Files\nodejs > \node_modules\npm\ > bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild > info it worked if it ends with ok > ERR! Error: Can't find Python executable "python", you can set the > PYTHON env va > riable. > at failNoPython (C:\Program Files\nodejs\node_modules\npm > \node_modules\node- > gyp\lib\configure.js:70:14) > at Object.oncomplete (C:\Program Files\nodejs\node_modules\npm > \node_modules\ > node-gyp\lib\configure.js:58:11) > ERR! not ok > > npm ERR! [email protected] install: `node-gyp rebuild` > npm ERR! `cmd "/c" "node-gyp rebuild"` failed with 1 > npm ERR! > npm ERR! Failed at the [email protected] install script. > npm ERR! This is most likely a problem with the v8-profiler 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 their info via: > npm ERR! npm owner ls v8-profiler > npm ERR! There is likely additional logging output above. > npm ERR! > npm ERR! System Windows_NT 5.1.2600 > npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program > Files\\nod > ejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "v8-profiler" > npm ERR! cwd C:\node > npm ERR! node -v v0.6.19 > npm ERR! npm -v 1.1.24 > npm ERR! code ELIFECYCLE > npm ERR! message [email protected] install: `node-gyp rebuild` > npm ERR! message `cmd "/c" "node-gyp rebuild"` failed with 1 > npm ERR! errno {} > npm ERR! > npm ERR! Additional logging details can be found in: > npm ERR! C:\node\npm-debug.log > npm not ok > npm not ok > > C:\node> > > Many thanks > > Rob
The crucial part: > ERR! Error: Can't find Python executable "python", you can set the PYTHON env > variable. In other words, you need to install python (2.6 or 2.7) and make sure it's on your path. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
