我正在使用Web应用程序生成器,但在默认构建中出现错误。 我创建了一个新目录并运行
yo webapp
那么
grunt
最后,
grunt server:dist
Chrome控制台给出以下错误信息:
Allo 'Allo! a53234b6.main.js:3
Running jQuery 1.10.2 a53234b6.main.js:3
Failed to load resource http://127.0.0.1:35729/livereload.js?snipver=1
Failed to load resource: the server responded with a status of 404 (Not Found) http://127.0.0.1:9000/modules/a53234b6.main.js
Uncaught Error: Script error for: a53234b6.main
http://requirejs.org/docs/errors.html#scripterror skitch.js:354
我是否使用了错误的命令?我需要更新node、npm、yeoman等吗?这是一个很棒的工具,但是我可能需要切换回手动模式,因为我无法很好地进行故障排除。