简体   繁体   中英

Installing node modules with node-gyp spawn ENOENT error

I'm trying to install the dependencies of the node-rtp-midi module. I followed the tutorial on the node-gyp github and searched the internet for many hours. I just can't get this thing to work. Every time a module needs node-gyp, the installation of the dependencies fails. Bellow you can find a screenshot with the cmd output.

http://i.imgur.com/jlziCDt.jpg?1

Any help would be greatly appreciated!

  • Visual Studio 2012 installed
  • Windows SDK installed
  • Python 2.7 installed
  • node.js version 0.10.26
  • node-gyp version 0.13.0

You need to set the PYTHON EnvVar to a full path including the executable! The PATH Variable is not enough.

set PYTHON=c:....Python\\2.7.4\\python.exe

Otherwise node-gyp finds the correct path and executes the found path, not the executable. The result is the ENOENT.

要在Windows计算机上安装rtpmidi-node,您应该安装Apple Bonjour SDK

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM