Closed Vadorequest closed 7 years ago
npm install node-gyp -g, and try again.
i think you should use node x86 , not node x64 in windows
@py I already installed node-gyp -g just before and it worked fine.
@youxiachai Why x86? My computer is x64
@Vadorequest you can try it... . because some same issue resolve when change node x86 version
hello, check your python version, node-gyp only supports python 2.7.3。
I use Python 2.7.x
I'll try the x86, but don't get how it could work better, anyway, let's try.
I tried, only 2.7.3................................others are not
It works fine with python 2.7.6 on my main computer.
The 2.7.6 version is installed on the computer I'm trying to fix.
aaaaaaaaaaaaaaa,try try try try 2.7.3 aaaaaaaaaaaaa meet me
Okay so I installed 2.7.3, then npm install -g node-gyp
, it worked. Then npm install pomelo -g
and:
et C:\Users\TyrionGraphiste\AppData\Roaming\npm\node_modules\pomelo\node_modu
les\toobusy\build\Release\toobusy.exp
GÚnÚration de code en cours
Fin de la gÚnÚration du code
toobusy.vcxproj -> C:\Users\TyrionGraphiste\AppData\Roaming\npm\node_modules\
pomelo\node_modules\toobusy\build\Release\\toobusy.node
npm http 304 https://registry.npmjs.org/ndump
npm http GET https://registry.npmjs.org/policyfile
npm http GET https://registry.npmjs.org/base64id
npm http GET https://registry.npmjs.org/redis
npm http GET https://registry.npmjs.org/stream-pkg
npm http GET https://registry.npmjs.org/node-uuid
npm http GET https://registry.npmjs.org/colors
npm http GET https://registry.npmjs.org/eyes
npm http GET https://registry.npmjs.org/winston
npm http 304 https://registry.npmjs.org/redis
npm http GET https://registry.npmjs.org/tinycolor
npm http GET https://registry.npmjs.org/options
npm http 304 https://registry.npmjs.org/colors
npm http 304 https://registry.npmjs.org/base64id
npm http 304 https://registry.npmjs.org/stream-pkg
npm http 304 https://registry.npmjs.org/node-uuid
npm http 304 https://registry.npmjs.org/eyes
npm http 304 https://registry.npmjs.org/winston
npm http 304 https://registry.npmjs.org/tinycolor
npm http 304 https://registry.npmjs.org/options
npm http 304 https://registry.npmjs.org/policyfile
npm http GET https://registry.npmjs.org/cycle
npm http GET https://registry.npmjs.org/pkginfo
npm http GET https://registry.npmjs.org/request
npm http GET https://registry.npmjs.org/semver
npm http GET https://registry.npmjs.org/stack-trace
npm http GET https://registry.npmjs.org/readable-stream
npm http 304 https://registry.npmjs.org/pkginfo
npm http 304 https://registry.npmjs.org/request
npm http 304 https://registry.npmjs.org/readable-stream
npm http 304 https://registry.npmjs.org/cycle
npm http 304 https://registry.npmjs.org/semver
npm http 304 https://registry.npmjs.org/stack-trace
npm http GET https://registry.npmjs.org/core-util-is
npm http GET https://registry.npmjs.org/inherits
npm http GET https://registry.npmjs.org/string_decoder
> ndump@0.0.2 install C:\Users\TyrionGraphiste\AppData\Roaming\npm\node_modules\
pomelo\node_modules\pomelo-admin\node_modules\ndump
> node-gyp rebuild
C:\Users\TyrionGraphiste\AppData\Roaming\npm\node_modules\pomelo\node_modules\po
melo-admin\node_modules\ndump>node "C:\Program Files\nodejs\node_modules\npm\bin
\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
Génération des projets individuellement dans cette solution. Pour activer la gén
ération en parallèle, ajoutez le commutateur "/m".
node_dump.cc
heap_dump.cc
cpu_dump.cc
cpu_profile_node.cc
cpu_profile.cc
C:\Users\TyrionGraphiste\.node-gyp\0.10.28\deps\v8\include\v8.h(179): warning C
4506: aucune définition pour la fonction inline 'v8::Persistent<T> v8::Persiste
nt<T>::New(v8::Handle<T>)' [C:\Users\TyrionGraphiste\AppData\Roaming\npm\node_m
odules\pomelo\node_modules\pomelo-admin\node_modules\ndump\build\ndump.vcxproj]
with
[
T=v8::Object
] (..\src\node_dump.cc)
c:\users\tyriongraphiste\.node-gyp\0.10.28\deps\v8\include\v8.h(184): warning C
4506: aucune définition pour la fonction inline 'v8::Persistent<T> v8::Persiste
nt<T>::New(v8::Handle<T>)' [C:\Users\TyrionGraphiste\AppData\Roaming\npm\node_m
odules\pomelo\node_modules\pomelo-admin\node_modules\ndump\build\ndump.vcxproj]
with
[
T=v8::Object
] (..\src\heap_dump.cc)
C:\Users\TyrionGraphiste\.node-gyp\0.10.28\deps\v8\include\v8.h(184): warning C
4506: aucune définition pour la fonction inline 'v8::Persistent<T> v8::Persiste
nt<T>::New(v8::Handle<T>)' [C:\Users\TyrionGraphiste\AppData\Roaming\npm\node_m
odules\pomelo\node_modules\pomelo-admin\node_modules\ndump\build\ndump.vcxproj]
with
[
T=v8::Object
] (..\src\cpu_dump.cc)
CrÚation de la bibliothÞque C:\Users\TyrionGraphiste\AppData\Roaming\npm\n
ode_modules\pomelo\node_modules\pomelo-admin\node_modules\ndump\build\Release
\ndump.lib et de l'objet C:\Users\TyrionGraphiste\AppData\Roaming\npm\node_mo
dules\pomelo\node_modules\pomelo-admin\node_modules\ndump\build\Release\ndump
.exp
GÚnÚration de code en cours
Fin de la gÚnÚration du code
* CIL library *(* CIL module *) : error LNK2005: "public: __cdecl v8::Handle<cl
ass v8::FunctionTemplate>::Handle<class v8::FunctionTemplate>(void)" (??0?$Hand
le@VFunctionTemplate@v8@@@v8@@QEAA@XZ) dÚjÓ dÚfini(e) dans node.lib(node.exe) [
C:\Users\TyrionGraphiste\AppData\Roaming\npm\node_modules\pomelo\node_modules\p
omelo-admin\node_modules\ndump\build\ndump.vcxproj]
* CIL library *(* CIL module *) : error LNK2005: "public: __cdecl v8::Handle<cl
ass v8::Object>::Handle<class v8::Object>(class v8::Object *)" (??0?$Handle@VOb
ject@v8@@@v8@@QEAA@PEAVObject@1@@Z) dÚjÓ dÚfini(e) dans node.lib(node.exe) [C:\
Users\TyrionGraphiste\AppData\Roaming\npm\node_modules\pomelo\node_modules\pome
lo-admin\node_modules\ndump\build\ndump.vcxproj]
* CIL library *(* CIL module *) : error LNK2005: "public: class v8::Object * __
cdecl v8::Handle<class v8::Object>::operator->(void)const " (??C?$Handle@VObjec
t@v8@@@v8@@QEBAPEAVObject@1@XZ) dÚjÓ dÚfini(e) dans node.lib(node.exe) [C:\User
s\TyrionGraphiste\AppData\Roaming\npm\node_modules\pomelo\node_modules\pomelo-a
dmin\node_modules\ndump\build\ndump.vcxproj]
* CIL library *(* CIL module *) : error LNK2005: "public: class v8::Object * __
cdecl v8::Handle<class v8::Object>::operator*(void)const " (??D?$Handle@VObject
@v8@@@v8@@QEBAPEAVObject@1@XZ) dÚjÓ dÚfini(e) dans node.lib(node.exe) [C:\Users
\TyrionGraphiste\AppData\Roaming\npm\node_modules\pomelo\node_modules\pomelo-ad
min\node_modules\ndump\build\ndump.vcxproj]
C:\Users\TyrionGraphiste\AppData\Roaming\npm\node_modules\pomelo\node_modules\p
omelo-admin\node_modules\ndump\build\Release\ndump.node : fatal error LNK1169:
un ou plusieurs symboles dÚfinis Ó diffÚrentes reprises ont ÚtÚ rencontrÚs [C:\
Users\TyrionGraphiste\AppData\Roaming\npm\node_modules\pomelo\node_modules\pome
lo-admin\node_modules\ndump\build\ndump.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\
npm\node_modules\node-gyp\lib\build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:807:
12)
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:\Users\TyrionGraphiste\AppData\Roaming\npm\node_modules\pomelo\no
de_modules\pomelo-admin\node_modules\ndump
gyp ERR! node -v v0.10.28
gyp ERR! node-gyp -v v0.13.0
gyp ERR! not ok
npm http GET https://registry.npmjs.org/isarray
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/dequeue
npm http 304 https://registry.npmjs.org/string_decoder
npm http 304 https://registry.npmjs.org/inherits
npm http 304 https://registry.npmjs.org/isarray
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/core-util-is
npm http 304 https://registry.npmjs.org/dequeue
npm http GET https://registry.npmjs.org/uglify-js
npm http GET https://registry.npmjs.org/xmlhttprequest
npm http GET https://registry.npmjs.org/active-x-obfuscator
> ws@0.4.25 install C:\Users\TyrionGraphiste\AppData\Roaming\npm\node_modules\po
melo\node_modules\ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)
C:\Users\TyrionGraphiste\AppData\Roaming\npm\node_modules\pomelo\node_modules\ws
>node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_mod
ules\node-gyp\bin\node-gyp.js" rebuild
Génération des projets individuellement dans cette solution. Pour activer la gén
ération en parallèle, ajoutez le commutateur "/m".
bufferutil.cc
..\src\bufferutil.cc(55): warning C4267: 'initialisation' : conversion de 'size
_t' en 'unsigned int', perte possible de données [C:\Users\TyrionGraphiste\AppD
ata\Roaming\npm\node_modules\pomelo\node_modules\ws\build\bufferutil.vcxproj]
..\src\bufferutil.cc(66): warning C4267: 'initialisation' : conversion de 'size
_t' en 'unsigned int', perte possible de données [C:\Users\TyrionGraphiste\AppD
ata\Roaming\npm\node_modules\pomelo\node_modules\ws\build\bufferutil.vcxproj]
C:\Users\TyrionGraphiste\.node-gyp\0.10.28\deps\v8\include\v8.h(184): warning C
4506: aucune définition pour la fonction inline 'v8::Persistent<T> v8::Persiste
nt<T>::New(v8::Handle<T>)' [C:\Users\TyrionGraphiste\AppData\Roaming\npm\node_m
odules\pomelo\node_modules\ws\build\bufferutil.vcxproj]
with
[
T=v8::Object
]
CrÚation de la bibliothÞque C:\Users\TyrionGraphiste\AppData\Roaming\npm\n
ode_modules\pomelo\node_modules\ws\build\Release\bufferutil.lib et de l'objet
C:\Users\TyrionGraphiste\AppData\Roaming\npm\node_modules\pomelo\node_module
s\ws\build\Release\bufferutil.exp
GÚnÚration de code en cours
Fin de la gÚnÚration du code
bufferutil.vcxproj -> C:\Users\TyrionGraphiste\AppData\Roaming\npm\node_modul
es\pomelo\node_modules\ws\build\Release\\bufferutil.node
validation.cc
C:\Users\TyrionGraphiste\.node-gyp\0.10.28\deps\v8\include\v8.h(184): warning C
4506: aucune définition pour la fonction inline 'v8::Persistent<T> v8::Persiste
nt<T>::New(v8::Handle<T>)' [C:\Users\TyrionGraphiste\AppData\Roaming\npm\node_m
odules\pomelo\node_modules\ws\build\validation.vcxproj]
with
[
T=v8::Object
]
CrÚation de la bibliothÞque C:\Users\TyrionGraphiste\AppData\Roaming\npm\n
ode_modules\pomelo\node_modules\ws\build\Release\validation.lib et de l'objet
C:\Users\TyrionGraphiste\AppData\Roaming\npm\node_modules\pomelo\node_module
s\ws\build\Release\validation.exp
GÚnÚration de code en cours
Fin de la gÚnÚration du code
validation.vcxproj -> C:\Users\TyrionGraphiste\AppData\Roaming\npm\node_modul
es\pomelo\node_modules\ws\build\Release\\validation.node
npm http 304 https://registry.npmjs.org/uglify-js
npm http 304 https://registry.npmjs.org/xmlhttprequest
npm http 304 https://registry.npmjs.org/active-x-obfuscator
npm ERR! Error: ENOENT, open 'C:\Users\TyrionGraphiste\AppData\Roaming\npm\node_
modules\pomelo\node_modules\pomelo-rpc\node_modules\socket.io-client\components\
learnboost-engine.io-client\lib\util.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nod
ejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "pomelo"
npm ERR! cwd C:\Users\TyrionGraphiste
npm ERR! node -v v0.10.28
npm ERR! npm -v 1.4.9
npm ERR! path C:\Users\TyrionGraphiste\AppData\Roaming\npm\node_modules\pomelo\n
ode_modules\pomelo-rpc\node_modules\socket.io-client\components\learnboost-engin
e.io-client\lib\util.js
npm ERR! code ENOENT
npm ERR! errno 34
npm http GET https://registry.npmjs.org/zeparser
npm http 304 https://registry.npmjs.org/zeparser
npm ERR! Error: ENOENT, open 'C:\Users\TyrionGraphiste\AppData\Roaming\npm\node_
modules\pomelo\node_modules\pomelo-admin\node_modules\socket.io-client\node_modu
les\uglify-js\test\unit\compress\test\issue14.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nod
ejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "pomelo"
npm ERR! cwd C:\Users\TyrionGraphiste
npm ERR! node -v v0.10.28
npm ERR! npm -v 1.4.9
npm ERR! path C:\Users\TyrionGraphiste\AppData\Roaming\npm\node_modules\pomelo\n
ode_modules\pomelo-admin\node_modules\socket.io-client\node_modules\uglify-js\te
st\unit\compress\test\issue14.js
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! error rolling back Error: EPERM, unlink 'C:\Users\TyrionGraphiste\AppDa
ta\Roaming\npm\node_modules\pomelo\node_modules\pomelo-admin\node_modules\socket
.io-client\node_modules\active-x-obfuscator\node_modules\zeparser\benchmark.html
'
npm ERR! error rolling back pomelo@0.9.8 { [Error: EPERM, unlink 'C:\Users\Tyri
onGraphiste\AppData\Roaming\npm\node_modules\pomelo\node_modules\pomelo-admin\no
de_modules\socket.io-client\node_modules\active-x-obfuscator\node_modules\zepars
er\benchmark.html']
npm ERR! error rolling back errno: 50,
npm ERR! error rolling back code: 'EPERM',
npm ERR! error rolling back path: 'C:\\Users\\TyrionGraphiste\\AppData\\Roamin
g\\npm\\node_modules\\pomelo\\node_modules\\pomelo-admin\\node_modules\\socket.i
o-client\\node_modules\\active-x-obfuscator\\node_modules\\zeparser\\benchmark.h
tml' }
npm ERR! ndump@0.0.2 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ndump@0.0.2 install script.
npm ERR! This is most likely a problem with the ndump 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 ndump
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nod
ejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "pomelo"
npm ERR! cwd C:\Users\TyrionGraphiste
npm ERR! node -v v0.10.28
npm ERR! npm -v 1.4.9
npm ERR! code ELIFECYCLE
npm ERR! Error: ENOENT, lstat 'C:\Users\TyrionGraphiste\AppData\Roaming\npm\node
_modules\pomelo\node_modules\pomelo-admin\node_modules\socket.io-client\node_mod
ules\active-x-obfuscator\node_modules\zeparser\benchmark.html'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nod
ejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "pomelo"
npm ERR! cwd C:\Users\TyrionGraphiste
npm ERR! node -v v0.10.28
npm ERR! npm -v 1.4.9
npm ERR! path C:\Users\TyrionGraphiste\AppData\Roaming\npm\node_modules\pomelo\n
ode_modules\pomelo-admin\node_modules\socket.io-client\node_modules\active-x-obf
uscator\node_modules\zeparser\benchmark.html
npm ERR! fstream_path C:\Users\TyrionGraphiste\AppData\Roaming\npm\node_modules\
pomelo\node_modules\pomelo-admin\node_modules\socket.io-client\node_modules\acti
ve-x-obfuscator\node_modules\zeparser\benchmark.html
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack C:\Program Files\nodejs\node_modules\npm\node_modules\fst
ream\lib\writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
> toobusy@0.2.2 install C:\Users\TyrionGraphiste\AppData\Roaming\npm\node_module
s\pomelo\node_modules\pomelo-rpc\node_modules\toobusy
> node-gyp rebuild
hi, environment correctly? python --version == 2.7.3?
python --version
Python isn't found. But it's not found on my main computer too. I added manually its path to my windows path env. If python wasn't working properly npm wouldn't work at all, isn't?
a a a a a a a , set it, meet me again.....
How? I mean, if by adding the python path to my PATH it doesn't find it...
C:\Python\2.7\
Am I wrong?
@Vadorequest just node-gyp deps python ... npm not dep python ..
@youxiachai Okay, I didn't know.
restart console to take effect
I did, as I said, even in my main environment I can't run python and pomelo works fine. I don't know if that's related. I don't know why it cannot find it, I'll try to change the path but still, doesn't make sense if it works on my main computer and not there;
aaaaaaa,sorry ,i'm dead
I installed node x86, still not working. noge-gyp is correctly installed. I still don't know how add python to the path, I referenced the python.exe but the python
commande is not found.
you can google this
@wuxian
I install it successfully this morning,maybe you can try it like this
npm install -g pomelo --msvs_version=2012
pomelo -V
1.0.0-pre
:monkey:
heapdump@0.2.9 install /data/nodejs/node_modules/pomelo/node_modules/pomelo-admin/node_modules/heapdump node-gyp rebuild
make: Entering directory /data/nodejs/node_modules/pomelo/node_modules/pomelo-admin/node_modules/heapdump/build' CXX(target) Release/obj.target/heapdump/src/heapdump.o CXX(target) Release/obj.target/heapdump/src/platform-posix.o SOLINK_MODULE(target) Release/obj.target/heapdump.node ./Release/linker.lock: No such file or directory make: *** [Release/obj.target/heapdump.node] Error 3 make: Leaving directory
/data/nodejs/node_modules/pomelo/node_modules/pomelo-admin/node_modules/heapdump/build'
gyp ERR! build error
gyp ERR! stack Error: make
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:809:12)
gyp ERR! System Linux 2.6.16.60-0.21-TENCENT64-120327
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /data/nodejs/node_modules/pomelo/node_modules/pomelo-admin/node_modules/heapdump
gyp ERR! node -v v0.10.29
gyp ERR! node-gyp -v v0.13.1
gyp ERR! not ok
ws@0.4.25 install /data/nodejs/node_modules/pomelo/node_modules/ws (node-gyp rebuild 2> builderror.log) || (exit 0)
npm ERR! Error: ENOENT, utime '/data/nodejs/node_modules/pomelo/node_modules/pomelo-admin/node_modules/pomelo-scheduler/node_modules/log4js/test/categoryFilter-test.js'
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issues
npm ERR! System Linux 2.6.16.60-0.21-TENCENT64-120327
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "pomelo"
npm ERR! cwd /data/nodejs
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! path /data/nodejs/node_modules/pomelo/node_modules/pomelo-admin/node_modules/pomelo-scheduler/node_modules/log4js/test/categoryFilter-test.js
npm ERR! fstream_path /data/nodejs/node_modules/pomelo/node_modules/pomelo-admin/node_modules/pomelo-scheduler/node_modules/log4js/test/categoryFilter-test.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! fstream_finish_call utimes
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:305:19
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat '/data/nodejs/node_modules/pomelo/node_modules/mqtt/node_modules/bops/node_modules/to-utf8/test.js'
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issues
npm ERR! System Linux 2.6.16.60-0.21-TENCENT64-120327
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "pomelo"
npm ERR! cwd /data/nodejs
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! path /data/nodejs/node_modules/pomelo/node_modules/mqtt/node_modules/bops/node_modules/to-utf8/test.js
npm ERR! fstream_path /data/nodejs/node_modules/pomelo/node_modules/mqtt/node_modules/bops/node_modules/to-utf8/test.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/data/nodejs/node_modules/pomelo/node_modules/mqtt/node_modules/bops/node_modules/base64-js'
npm ERR! error rolling back pomelo@1.1.3 { [Error: ENOTEMPTY, rmdir '/data/nodejs/node_modules/pomelo/node_modules/mqtt/node_modules/bops/node_modules/base64-js']
npm ERR! error rolling back errno: 53,
npm ERR! error rolling back code: 'ENOTEMPTY',
npm ERR! error rolling back path: '/data/nodejs/node_modules/pomelo/node_modules/mqtt/node_modules/bops/node_modules/base64-js' }
npm ERR! heapdump@0.2.9 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the heapdump@0.2.9 install script.
npm ERR! This is most likely a problem with the heapdump 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 heapdump
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 2.6.16.60-0.21-TENCENT64-120327
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "pomelo"
npm ERR! cwd /data/nodejs
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! code ELIFECYCLE
npm ERR! Error: ENOENT, open '/data/nodejs/node_modules/pomelo/node_modules/pomelo-scheduler/node_modules/log4js/.bob/instrumented/test/streams/test-rolling-file-stream-write-more.1'
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issues
npm ERR! System Linux 2.6.16.60-0.21-TENCENT64-120327
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "pomelo"
npm ERR! cwd /data/nodejs
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! path /data/nodejs/node_modules/pomelo/node_modules/pomelo-scheduler/node_modules/log4js/.bob/instrumented/test/streams/test-rolling-file-stream-write-more.1
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! Error: ENOENT, lstat '/data/nodejs/node_modules/pomelo/node_modules/pomelo-logger/node_modules/log4js/node_modules/readable-stream/lib/_stream_readable.js'
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issues
npm ERR! System Linux 2.6.16.60-0.21-TENCENT64-120327
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "pomelo"
npm ERR! cwd /data/nodejs
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! path /data/nodejs/node_modules/pomelo/node_modules/pomelo-logger/node_modules/log4js/node_modules/readable-stream/lib/_stream_readable.js
npm ERR! fstream_path /data/nodejs/node_modules/pomelo/node_modules/pomelo-logger/node_modules/log4js/node_modules/readable-stream/lib/_stream_readable.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat '/data/nodejs/node_modules/pomelo/node_modules/pomelo-logger/node_modules/log4js/node_modules/async/deps/nodeunit.js'
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issues
npm ERR! System Linux 2.6.16.60-0.21-TENCENT64-120327 npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "pomelo" npm ERR! cwd /data/nodejs npm ERR! node -v v0.10.29 npm ERR! npm -v 1.4.14 npm ERR! path /data/nodejs/node_modules/pomelo/node_modules/pomelo-logger/node_modules/log4js/node_modules/async/deps/nodeunit.js npm ERR! fstream_path /data/nodejs/node_modules/pomelo/node_modules/pomelo-logger/node_modules/log4js/node_modules/async/deps/nodeunit.js npm ERR! fstream_type File npm ERR! fstream_class FileWriter npm ERR! code ENOENT npm ERR! errno 34 npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26 npm ERR! fstream_stack Object.oncomplete (fs.js:107:15) npm ERR! Error: ENOENT, lstat '/data/nodejs/node_modules/pomelo/node_modules/pomelo-admin/node_modules/socket.io-client/dist/WebSocketMain.swf' npm ERR! If you need help, you may report this entire log, npm ERR! including the npm and node versions, at: npm ERR! http://github.com/npm/npm/issues
npm ERR! System Linux 2.6.16.60-0.21-TENCENT64-120327 npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "pomelo" npm ERR! cwd /data/nodejs npm ERR! node -v v0.10.29 npm ERR! npm -v 1.4.14 npm ERR! path /data/nodejs/node_modules/pomelo/node_modules/pomelo-admin/node_modules/socket.io-client/dist/WebSocketMain.swf npm ERR! fstream_path /data/nodejs/node_modules/pomelo/node_modules/pomelo-admin/node_modules/socket.io-client/dist/WebSocketMain.swf npm ERR! fstream_type File npm ERR! fstream_class FileWriter npm ERR! code ENOENT npm ERR! errno 34 npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26 npm ERR! fstream_stack Object.oncomplete (fs.js:107:15) npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /data/nodejs/npm-debug.log npm ERR! not ok code 0
what's wrong
@littlebang this worked for me!! Thank you!!
I get these issues by installing pomelo in another computer, I just installed Microsoft visual studio 2012.
Any idea where this is coming from? Thanks.