Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在 ubuntu linux 上安装 weex,当我为此运行常用命令时:
sudo npm install -g weex-toolkit
它返回下图中看到的错误。它抱怨我没有使用Mac。但是 weex 应该可以在两个平台上运行。然后当我尝试运行时:
威克斯
它说找不到命令(即未安装)。非常感谢任何帮助。
试试这个注册表。
npm install -g weex-toolkit --registry= https://registry.npm.taobao.org
或sudo根据需要添加。
sudo