尝试从源代码构建Tangelo (这是第一次),我可以使用Git Bash和忍者完成整个过程的90%,但该过程的最后一部分不起作用。
将cd放到我的构建目录~/tangelo/build中,并使用GitBash运行ninja,我得到了以下错误:
$ ninja
[6/135] Installing phantomjs
FAILED: cmd.exe /c cd /D C:\Users\usr\tangelo\build && NPM_EXECUTABLE-NOTFOUND
install phantomjs
$ ninja
[6/132] Installing uglify-js
FAILED: cmd.exe /c cd /D C:\Users\usr\tangelo\build && NPM_EXECUTABLE-NOTFOUND
install uglify-js
'NPM_EXECUTABLE-NOTFOUND' is not recognized as an internal or external command,
operable program or batch file.
[6/132] Installing phantomjs
FAILED: cmd.exe /c cd /D C:\Users\usr\tangelo\build && NPM_EXECUTABLE-NOTFOUND
install phantomjs
'NPM_EXECUTABLE-NOTFOUND' is not recognized as an internal or external command,
operable program or batch file.
[6/132] Creating virtual Python environment
New python executable in C:/Users/usr/tangelo/build/venv\Scripts\python.exe
Installing setuptools.................done.
Installing pip...................done.
Running virtualenv with interpreter c:/Python27/python.exe
ninja: build stopped: subcommand failed.我已经从here安装了windows节点(env var设置为C:\nodejs,其中node.exe在其中),并且在重新引导后可以安装在上面的代码中显示错误的软件包(uglify-js和phantomjs)
问题是:有什么办法让忍者理解我的node/npm安装吗?
发布于 2014-03-23 22:02:22
Problem solved...but其他即将出现的错误
在运行忍者之前,我必须再次运行'cmake -G忍者../‘命令。很明显,在创建cmake构建文件之后,我已经安装了node。
现在看来我在忍者和皮普上遇到了问题
发布于 2014-03-29 15:32:27
1)安装和主动(运行)的节点dans une fenetre de commandes 2)小心,il semble dans '..\tangelo\build\node_modules.bin‘(在bin之前删除圆点)
ninja --< errors >-- "..\tangelo\build\tangelo\web" ... not of tangelo.js (???)
but in sdist ... finally tangelo.XXX.dev.zip (???)
in gitbash pip install this zip --> localhost:8080 --> surprise !!!
but all not seem allright ( for me, under Win8.1, portable)https://stackoverflow.com/questions/22591515
复制相似问题