【问题标题】:Cannot start brunch server无法启动早午餐服务器
【发布时间】:2013-08-22 21:46:36
【问题描述】:

我首先开始一个新项目

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)

我不知道如何解决这个错误?

【问题讨论】:

    标签: ember.js brunch emblem.js


    【解决方案1】:

    我和我的高级程序员想通了。

    原来我没有在我的 ubuntu 上安装 build-essential 软件包。它正在寻找 g++ 命令。

    同样,当我进行 npm 安装时,它需要 sudo。在 g++ 修复和 sudo npm install 之后,我能够启动

    brunch w -s
    

    【讨论】:

      猜你喜欢
      • 2018-08-27
      • 2016-01-19
      • 1970-01-01
      • 1970-01-01
      • 2019-01-04
      • 2018-05-07
      • 2016-07-26
      • 1970-01-01
      • 2015-09-03
      相关资源
      最近更新 更多