2013-10-28 209 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