Open boynet opened 9 years ago
C:\Users\amir>npm install -g thor | > ws@0.4.25 install C:\Users\amir\AppData\Roaming\npm\node_modules\thor\node_mod ules\ws > (node-gyp rebuild 2> builderror.log) || (exit 0) / C:\Users\amir\AppData\Roaming\npm\node_modules\thor\node_modules\ws>node "C:\Pro gram Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp \bin\node-gyp.js" rebuild Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. bufferutil.cc ..\src\bufferutil.cc(55): warning C4267: 'initializing' : conversion from 'size _t' to 'unsigned int', possible loss of data [C:\Users\amir\AppData\Roaming\npm \node_modules\thor\node_modules\ws\build\bufferutil.vcxproj] ..\src\bufferutil.cc(66): warning C4267: 'initializing' : conversion from 'size _t' to 'unsigned int', possible loss of data [C:\Users\amir\AppData\Roaming\npm \node_modules\thor\node_modules\ws\build\bufferutil.vcxproj] C:\Users\amir\.node-gyp\0.10.29\deps\v8\include\v8.h(184): warning C4506: no de finition for inline function 'v8::Persistent<T> v8::Persistent<T>::New(v8::Hand le<T>)' [C:\Users\amir\AppData\Roaming\npm\node_modules\thor\node_modules\ws\bu ild\bufferutil.vcxproj] with [ T=v8::Object ] Creating library C:\Users\amir\AppData\Roaming\npm\node_modules\thor\node_ modules\ws\build\Release\bufferutil.lib and object C:\Users\amir\AppData\Roam ing\npm\node_modules\thor\node_modules\ws\build\Release\bufferutil.exp Generating code Finished generating code bufferutil.vcxproj -> C:\Users\amir\AppData\Roaming\npm\node_modules\thor\nod e_modules\ws\build\Release\\bufferutil.node validation.cc C:\Users\amir\.node-gyp\0.10.29\deps\v8\include\v8.h(184): warning C4506: no de finition for inline function 'v8::Persistent<T> v8::Persistent<T>::New(v8::Hand le<T>)' [C:\Users\amir\AppData\Roaming\npm\node_modules\thor\node_modules\ws\bu ild\validation.vcxproj] with [ T=v8::Object ] Creating library C:\Users\amir\AppData\Roaming\npm\node_modules\thor\node_ modules\ws\build\Release\validation.lib and object C:\Users\amir\AppData\Roam ing\npm\node_modules\thor\node_modules\ws\build\Release\validation.exp Generating code Finished generating code validation.vcxproj -> C:\Users\amir\AppData\Roaming\npm\node_modules\thor\nod e_modules\ws\build\Release\\validation.node C:\Users\amir\AppData\Roaming\npm\thor -> C:\Users\amir\AppData\Roaming\npm\node _modules\thor\bin\thor thor@1.0.0 C:\Users\amir\AppData\Roaming\npm\node_modules\thor ├── colors@0.6.2 ├── fast-stats@0.0.2 ├── async@0.2.10 ├── commander@1.1.1 (keypress@0.1.0) ├── tab@0.1.0 (assert-plus@0.1.0, extsprintf@1.0.1, carrier@0.1.7, strsplit@1.0. 0) ├── sugar@1.3.8 └── ws@0.4.25 (tinycolor@0.0.1, options@0.0.6, commander@0.6.1)
after this running thor return:
'thor' is not recognized as an internal or external command, operable program or batch file.
Have you tried running this with sudo ?
sudo
I am on windows
So you are haha I must've had a silly moment
I'm getting similar errors on windows. Any idea? Or is it only running on Linux?
after this running thor return: