在Windows上安装爆米花机开发者

时间:2015-02-13 07:03:45

标签: node.js git npm popcornjs

我是一个纯粹的游戏,但我真的需要安装爆米花制造商,以便能够稍微修改它并在网站上作为webapp使用它。

以下是git hub链接:popcorn webmaker

我试图按照他们的指南但它似乎不起作用我安装节点,并认为我安装make-valet,我认为它工作但我不确定。但是当我尝试$ npm安装时,我收到了这个错误:

$ npm install
npm WARN engine sqlite3@2.1.17: wanted: {"node":">= 0.6.13 < 0.11.0"}       (current: {"node":"0.12.0","npm":"2.5.1"})
npm WARN deprecated extend@1.1.3: Please update to the latest version.
npm WARN deprecated tap-consumer@0.0.1: this is merged into the 'tap' module now
npm WARN deprecated tap-results@0.0.2: this is merged into the 'tap' module now

> dtrace-provider@0.2.8 install C:\cygwin64\home\Me   \popcorn.webmaker.org\node_modules\messina\node_modules\bunyan\node_modules\dtra    ce-provider
> node-gyp rebuild


C:\cygwin64\home\Me\popcorn.webmaker.org\node_modules\messina\node_modules\bunyan\node_modules\dtrace-provider>node "C:\Program Files (x86)\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-    gyp\bin\node-gyp.js" rebuild
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 (x86)\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:103:14)
gyp ERR! stack     at C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:64:11
gyp ERR! stack     at FSReqWrap.oncomplete (evalmachine.<anonymous>:99:15)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "node" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\cygwin64\home\Me\popcorn.webmaker.org\node_modules\messina\node_modules\bunyan\node_modules\dtrace-provider
gyp ERR! node -v v0.12.0
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
npm WARN optional dep failed, continuing dtrace-provider@0.2.8

> sqlite3@2.1.17 install C:\cygwin64\home\Me\popcorn.webmaker.org\node_modules\sqlite3
> node build.js

[sqlite3]: Checking for http://node- sqlite3.s3.amazonaws.com/Release/node_sqlite3-v2.1.a-node-v14-win32-ia32.tar.gz
[sqlite3]: http://node-sqlite3.s3.amazonaws.com/Release/node_sqlite3-v2.1.a-node-v14-win32-ia32.tar.gz not found, falling back to source compile (Error: Server returned 404)

C:\cygwin64\home\Me\popcorn.webmaker.org\node_modules\sqlite3>node "C:\Program Files (x86)\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
Build failed
[sqlite3]: 1

> node-expat@2.0.0 install C:\cygwin64\home\Me\popcorn.webmaker.org\node_modules\webmaker-download-locales\node_modules\xml2json\node_modules\node-expat
> node-gyp rebuild


C:\cygwin64\home\Mee\popcorn.webmaker.org\node_modules\webmaker-download-locales\node_modules\xml2json\node_modules\node-expat>node "C:\Program Files (x86)\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
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 (x86)\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:103:14)
gyp ERR! stack     at C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:64:11
gyp ERR! stack     at FSReqWrap.oncomplete (evalmachine.<anonymous>:99:15)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "node" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\cygwin64\home\Me\popcorn.webmaker.org\node_modules\webmaker-download-locales\node_modules\xml2json\node_modules\node-expat
gyp ERR! node -v v0.12.0
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
npm WARN optional dep failed, continuing sqlite3@2.1.17
npm WARN deprecated lingo@0.0.5: This project is abandoned
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v0.12.0
npm ERR! npm  v2.5.1
npm ERR! code ELIFECYCLE

npm ERR! node-expat@2.0.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-expat@2.0.0 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the node-expat 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 node-expat
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\cygwin64\home\Me\popcorn.webmaker.org\npm-debug.log

我真的不明白错误的来源。我使用.exe文件安装节点,当我$ node -v我得到0.12.1因此它已经工作但我不知道如何检查其余部分。 这对我帮助很大!

1 个答案:

答案 0 :(得分:1)

npm WARN engine sqlite3@2.1.17: wanted: {"node":">= 0.6.13 < 0.11.0"} (current: {"node":"0.12.0","npm":"2.5.1"})

gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.

不清楚吗? :P

相关问题