gpt4 book ai didi

javascript - 无法启动 grunt - ubuntu 16 上的 "TypeError: grunt.registerHelper is not a function"

转载 作者:行者123 更新时间:2023-11-30 21:01:20 25 4
gpt4 key购买 nike

无法启动 grunt

正在尝试运行 grunt serve在一个卑鄙的项目上,而是得到这个:


Running "serve" task
Loading "clean.js" tasks...ERROR



<blockquote>
<blockquote>
<p>TypeError: grunt.registerHelper is not a function</p>
</blockquote>
</blockquote>

<p>Running "clean:server" (clean) task
Warning: grunt.helper is not a function Use --force to continue.</p>

<p>Aborted due to warnings.</p>

Execution Time (2017-11-05 07:32:02 UTC+1)
loading tasks 814ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 90%
serve 63ms ▇▇▇ 7%
loading grunt-clean 14ms ▇ 2%
Total 900ms

任何想法

最佳答案

尝试:

npm install

&如果总是坚持尝试:

bower update
npm update

关于javascript - 无法启动 grunt - ubuntu 16 上的 "TypeError: grunt.registerHelper is not a function",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47118911/

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