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

npm install memwatch-next fails #65

Open
reynot opened this issue Aug 6, 2015 · 3 comments
Open

npm install memwatch-next fails #65

reynot opened this issue Aug 6, 2015 · 3 comments

Comments

@reynot
Copy link

reynot commented Aug 6, 2015

Hi

When I tried to install memwatch-next on node v0.12.4 it fails with the following debug output.
It is trying to rebuild the project. Is this expected? Not very experienced in this, should it not install without requiring a local build.

When I installed Python and node-gyp, it then built the project using VS2010 I happened to have installed but came up with a large amount of warnings. When I tested it, I did not get the stats or leak callbacks when running the example.

Apologies if this is a daft question but it looks a really useful module.

Thanks

Tim

C:\Rabin\trunk\sw\mhub\node\node_modules\memwatch-next>if not defined npm_config
_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin...
.\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (rebuild)
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYT
HON env variable.
gyp ERR! stack at failNoPython (C:\Program Files\nodejs\node_modules\npm\nod
e_modules\node-gyp\lib\configure.js:103:14)
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node
-gyp\lib\configure.js:64:11
gyp ERR! stack at FSReqWrap.oncomplete (evalmachine.:95:15)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "C:\Program Files\nodejs\node_modules\npm\node_modu
les\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Rabin\trunk\sw\mhub\node\node_modules\memwatch-next
gyp ERR! node -v v0.12.4
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok
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" "memwatch-next"
npm ERR! node v0.12.4
npm ERR! npm v2.10.1
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! This is most likely a problem with the memwatch-next 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 memwatch-next
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! C:\Rabin\trunk\sw\mhub\node\npm-debug.log

@EricSmekens
Copy link

Does not support on node.js v.0.12 #62

@marcominetti
Copy link

hi, if you're using my fork memwatch-next... node.js 0.12 is supported...

the error you're experiencing is related to system setup, python... on windows npm is painful sometime...

@wonderdogone
Copy link

Try reinstalling python and make sure its in your PATH. Then try npm install memwatch again.

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

4 participants