咖啡脚本安装失败

时间:2016-12-15 06:18:55

标签: node.js coffeescript ubuntu-12.04

我正在尝试在ubuntu 12.04上安装coffee脚本。我收到了这个错误。我也尝试使用npm(ver.1.1.4)安装命令,但它也失败了。

  $ sudo coffeescript/bin/cake install

node.js:201

throw e; // process.nextTick error, or 'error' event on first tick
  

TypeError:对象#没有方法' existsSync'在cakefileDirectory(/home/gerceka/coffeescript/lib/coffee-script/cake.js:104:12)

     

at Object.exports.run(/home/gerceka/coffeescript/lib/coffee-script/cake.js:51:19)

     

at Object。 (/家/ gerceka / CoffeeScript的/ bin中/蛋糕:7:38)

     

在Module._compile(module.js:441:26)

     

at Object.Module._extensions..js(module.js:459:10)

     

在Module.load(module.js:348:32)

     

在Function.Module._load(module.js:308:12)

     

在Array.Module.runMain [as 0](module.js:479:10)

     

在EventEmitter.startup.processNextTick.process._tickCallback(node.js:192:41)

我认为我需要这个用于genieacs安装。感谢。

2 个答案:

答案 0 :(得分:1)

感谢您提供的信息。我将我的Ubuntu版本升级到14.04。之后我没有问题。

答案 1 :(得分:0)

我不确定,但我认为当你npm run compile时,npm会为你做。

无论如何,如果你需要一个工作实例,我写了a guide for GenieACS v1.0-stable。它会在几个月内过时,但目前是最新稳定的选择。

如果您有这些类型的问题,最好将其发布到mailing list of GenieACS-Users

相关问题