带有Compass的默认Express应用程序提供ENOENT [英] Default Express app with Compass gives ENOENT

查看:81
本文介绍了带有Compass的默认Express应用程序提供ENOENT的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Ubuntu 14.04
节点0.10.25
Express 4.2.0

Ubuntu 14.04 Node 0.10.25 Express 4.2.0

sudo apt-get install nodejs
npm install -g express-generator
express -c compass test
cd test
npm install
npm start

来自浏览器的发送请求

GET / 200 12ms - 206b

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: spawn ENOENT
    at errnoException (child_process.js:988:11)
    at Process.ChildProcess._handle.onexit (child_process.js:779:34)
npm ERR! weird error 8
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm ERR! not ok code 0

任何人都知道这是为什么吗?

Anyone know why this is?

推荐答案

解决方案是

$ gem update --system
$ gem install compass

每个包装文档
https://www.npmjs.org/package/node-compass

这篇关于带有Compass的默认Express应用程序提供ENOENT的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆