gpt4 book ai didi

node.js - 无法安装 grunt-contrib-imagemin(奇怪的错误 1)

转载 作者:行者123 更新时间:2023-12-04 19:03:48 25 4
gpt4 key购买 nike

我无法安装软件包 grunt-contrib-imagemin在一个 yeoman (角度)项目中。它失败了

npm ERR! weird error 1
npm ERR! not ok code 0

但没有报告其他错误。

我正在运行 Ubuntu 12.04 和 NodeJS 0.8

最佳答案

这可以通过将 nodejs 更新到 0.10 版本来解决

我按照 http://slopjong.de/2012/10/31/how-to-install-the-latest-nodejs-in-ubuntu/ 的说明进行操作

关于node.js - 无法安装 grunt-contrib-imagemin(奇怪的错误 1),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18411848/

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