3

我想使用 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
4

1 回答 1

1

我有同样的问题,我设法通过运行解决

$ sudo xcodebuild -license

然后通过清理构建文件从头开始构建

$ sudo port clean nodejs; sudo port install nodejs
于 2013-11-20T14:24:46.063 回答