我想在我的Windows 7计算机中install node.js但是有错误。
错误是:
1)当我尝试配置它时,显示找不到soome文件
Anand@TANISH-LAPTOP3 ~/node $ ./configure Checking for program g++ or c++ : c:\mingw\bin\g++.exe Checking for program cpp : c:\mingw\bin\cpp.exe Checking for program ar : c:\mingw\bin\ar.exe Checking for program ranlib : c:\mingw\bin\ranlib.exe Checking for g++ : ok Checking for program gcc or cc : c:\mingw\bin\gcc.exe Checking for program ar : c:\mingw\bin\ar.exe Checking for program ranlib : c:\mingw\bin\ranlib.exe Checking for gcc : ok Checking for library dl : not found Checking for openssl : not found Checking for function SSL_library_init : yes Checking for header openssl/crypto.h : yes Checking for library util : not found Checking for library rt : not found Checking for fdatasync(2) with c++ : no 'configure' finished successfully (6.395s)
2)然后,当我尝试进行构建时,它显示了这个
/c/Program: Files: No such file or directory scons: *** [obj\release\accessors.o] Error 127 Waf: Leaving directory `c:\Users\Anand\node\build' Build failed: -> task failed (err #2): {task: libv8.a SConstruct -> libv8.a} make: *** [program] Error 1
任何人都可以知道这个错误是什么?我怎么能克服这个错误?
答案 0 :(得分:2)
如果您想在Windows上试用节点,那就是品牌new node.exe binary since version 0.5.1。
仍然,unix文化在node.js的生态系统中运行。所以使用linux虚拟盒并不是一个坏主意。