2013-08-20 51 views
0

我第一次開始一個新項目無法啓動早午餐服務器

brunch new https://github.com/wordofchristian/brunch-with-hampsters 

然後我嘗試啓動手錶和服務器

$brunch w -s 

我得到這個錯誤

node_modules/emblem-brunch/lib/index.js:27 
     this.window.run(fs.readFileSync(paths.jquery, 'utf8')); 

TypeError: Object object has no method 'run' 
at EmblemCompiler.module.exports.EmblemCompiler.setup (node_modules/emblem-brunch/lib/index.js:27:21) 
at new EmblemCompiler (node_modules/emblem-brunch/lib/index.js:43:14) 

我沒有想法如何解決這個錯誤?

回答

0

我想到了我的高級程序員。

事實證明,我沒有在我的Ubuntu上安裝必要的軟件包。它正在尋找g ++命令。

同樣,當我做一個npm安裝時,它需要sudo。在g ++修復和sudo npm安裝後,我能夠啓動

brunch w -s