gpt4 book ai didi

gruntjs grunt-init grunfile 抛出错误 fatal error : Arguments to path. join 必须是字符串

转载 作者:行者123 更新时间:2023-12-02 17:11:09 25 4
gpt4 key购买 nike

我正在尝试使用 gruntjs 0.4 建立一个新项目。我已经卸载了 0.3 并安装了 grunt-cli 并导入了 grunt-init gruntfile。当我运行“grunt-init gruntfile”时,它的运行方式与 0.3 中询问正常问题的方式相同

Please answer the following: [?] Is the DOM involved in ANY way? (Y/n) y [?] Will files be concatenated or minified? (Y/n) y [?] Will you have a package.json file? (Y/n) y [?] Do you need to make any changes to the above before continuing? (y/N) n

但是在回答了所有问题后我收到了错误

Fatal error: Arguments to path.join must be strings

还有其他人处理过类似的事情吗?或者你能给我指出正确的调试方向吗?

最佳答案

这是由 Node 0.10.0 中的更改引起的错误,为 fixed今天早些时候。即将发布。

关于gruntjs grunt-init grunfile 抛出错误 fatal error : Arguments to path. join 必须是字符串,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15365996/

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