当我运行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
cdnify插件已过时,不再维护。您可以使用其中一种替代品。我使用grunt-google-cdn2