2013-10-28 145 views
2

我想使用macports安装节点。安装nodejs时macports出错

不过,这并不在所有的工作:

$ sudo port install nodejs 
Password: 
---> Computing dependencies for nodejs 
---> Staging nodejs into destroot 
Error: org.macports.destroot for port nodejs returned: xinstall: Cannot stat: out/Release/node, No such file or directory 
Please see the log file for port nodejs for details: 
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nodejs/nodejs/main.log 
To report a bug, follow the instructions in the guide: 
    http://guide.macports.org/#project.tickets 
Error: Processing of port nodejs failed 
$ 

我尝试下面的命令,但仍然没有工作:

$ sudo xcodebuild -license 

回答

0

我有同样的问题,我管理运行,以解决

$ sudo xcodebuild -license 

然后通过做清洁建筑文件从头开始

$ sudo port clean nodejs; sudo port install nodejs