gpt4 book ai didi

node.js - 在 Mac 上安装 Remotebuild 失败,并显示“uid 必须是无符号整数”

转载 作者:太空宇宙 更新时间:2023-11-04 00:33:59 24 4
gpt4 key购买 nike

我尝试在 Mac 上安装 Remotebuild,以便通过我的 Mac 在 Visual Studio 2015 中部署 Cordova 应用程序。

技术信息:macOS 塞拉利昂 Node v4.6.0npm v3.10.8Xcode 8

但它失败并出现以下错误:“uid 必须是无符号整数”

我尝试重新安装 npm 但没有成功。

$ sudo npm install -g remotebuild

npm WARN deprecated wrench@1.5.9: wrench.js is deprecated! You should check out fs-extra (https://github.com/jprichardson/node-fs-extra) for any operations you were using wrench for. Thanks for all the usage over the years.
npm ERR! Darwin 16.0.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "remotebuild"
npm ERR! node v4.6.0
npm ERR! npm v3.10.8

npm ERR! uid must be an unsigned int
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Darwin 16.0.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "remotebuild"
npm ERR! node v4.6.0
npm ERR! npm v3.10.8
....
npm ERR! uid must be an unsigned int
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>

最佳答案

But it fails with the following error: „uid must be an unsigned int“

这是一个已知问题,根本原因在于 Node.js 核心,其中 OS X 上 nobodyUID(-2 转换为无符号整数)将由 fs.stat() 返回为有符号整数。请参阅 Github 中的讨论 here 。此问题仅存在于 npm v3.10.8 中。

修复已更新。请参阅fs: fix handling of struct stat fields #8515 .

关于node.js - 在 Mac 上安装 Remotebuild 失败,并显示“uid 必须是无符号整数”,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39911232/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com