我正在使用官方的express生成器和heroku上的CEDAR堆栈生成的应用程序。
当我尝试访问样式表(
当我尝试访问样式表(
/stylesheets/style.css
)时,出现以下错误。所有其他静态资产都可以正常加载,并且Sass版本的样式表(/stylesheets/style.scss
)也可以正常加载。
可能是什么问题呢?
2015-03-09T22:27:54.648677+00:00 heroku[router]: at=error code=H13 desc="Connection closed without response" method=GET path="/stylesheets/style.css" host=**.herokuapp.com request_id=c29b6d81-3dae-4e3f-a35a-53f3dea3fb48 fwd="80.244.17.16" dyno=web.1 connect=0ms service=167ms status=503 bytes=0
2015-03-09T22:27:54.589437+00:00 app[web.1]: events.js:85
2015-03-09T22:27:54.589449+00:00 app[web.1]: at Process.ChildProcess._handle.onexit (child_process.js:1046:32)
2015-03-09T22:27:54.589447+00:00 app[web.1]: at exports._errnoException (util.js:746:11)
2015-03-09T22:27:54.589444+00:00 app[web.1]: ^
2015-03-09T22:27:54.589442+00:00 app[web.1]: throw er; // Unhandled 'error' event
2015-03-09T22:27:54.589446+00:00 app[web.1]: Error: spawn compass ENOENT
2015-03-09T22:27:54.589452+00:00 app[web.1]: at process._tickCallback (node.js:355:11)
2015-03-09T22:27:54.671202+00:00 app[web.1]:
2015-03-09T22:27:54.589451+00:00 app[web.1]: at child_process.js:1137:20
https://github.com/stephanmelzer/heroku-buildpack-nodejs-grunt-compass
,但我仍然收到那个错误。 - Stefanos Chrs