Grunt Serve停止处理cdnify加载错误

问题描述 投票:0回答:1

当我运行grunt serve命令时,我遇到了全新安装的Angular的错误

我正在将Node 12.6.1与Source Tree一起使用,并确认已安装Bower

Loading "cdnify.js" tasks...ERROR
>> ReferenceError: primordials is not defined

Running "serve" task

Running "clean:server" (clean) task
>> 1 path cleaned.

Running "wiredep:app" (wiredep) task

Running "wiredep:test" (wiredep) task

Running "concurrent:server" (concurrent) task

    Loading "cdnify.js" tasks...ERROR
    >> ReferenceError: primordials is not defined

    Running "copy:styles" (copy) task
    Copied 3 files

    Done.


    Execution Time (2020-02-21 18:22:53 UTC+5:30)
    loading tasks  13ms  ███████████ 22%
    copy:styles    45ms  █████████████████████████████████████ 78%
    Total 58ms

Running "autoprefixer:server" (autoprefixer) task
>> 3 autoprefixed stylesheets created.

Running "connect:livereload" (connect) task
Started connect web server on http://localhost:9000

angular gruntjs bower
1个回答
0
投票

cdnify插件已过时,不再维护。您可以使用其中一种替代品。我使用grunt-google-cdn2

© www.soinside.com 2019 - 2024. All rights reserved.