我最近从http://brunch.io切换到Yeoman / Grunt,所以我是新手。我正在开发一个角色应用程序,一切正常,但突然之间我现在因为咕噜声服务而出现这个错误:
Running "watch" task
Waiting...
Error: Bad Request
at SendStream.error (/Users/ched/Documents/Office/test2/node_modules/grunt-contrib-connect/node_modules/connect/node_modules/serve-static/node_modules/send/index.js:239:16)
at SendStream.pipe (/Users/ched/Documents/Office/test2/node_modules/grunt-contrib-connect/node_modules/connect/node_modules/serve-static/node_modules/send/index.js:411:32)
at Object.serveStatic [as handle] (/Users/ched/Documents/Office/test2/node_modules/grunt-contrib-connect/node_modules/connect/node_modules/serve-static/index.js:111:12)
at next (/Users/ched/Documents/Office/test2/node_modules/grunt-contrib-connect/node_modules/connect/lib/proto.js:174:15)
at Object.livereload [as handle] (/Users/ched/Documents/Office/test2/node_modules/grunt-contrib-connect/node_modules/connect-livereload/index.js:92:14)
at next (/Users/ched/Documents/Office/test2/node_modules/grunt-contrib-connect/node_modules/connect/lib/proto.js:174:15)
at Function.app.handle (/Users/ched/Documents/Office/test2/node_modules/grunt-contrib-connect/node_modules/connect/lib/proto.js:182:3)
at Server.app (/Users/ched/Documents/Office/test2/node_modules/grunt-contrib-connect/node_modules/connect/lib/connect.js:67:37)
at Server.emit (events.js:110:17)
at HTTPParser.parserOnIncoming [as onIncoming] (_http_server.js:491:12)
除了终端中的这条消息外,一切似乎都有效,所以我可以看到我的应用在浏览器中运行。我没有安装或卸载新组件,因此我没有任何线索来自此消息的来源以及如何解决此问题。
更新:现在我每隔五五次或者第六次随机工作我正在保存文件。有没有办法重新安装?
答案 0 :(得分:0)
出现这种情况的原因是无法找到图片的文件。