Javascript Flyletaxe dosen';无法找到所有模块

Javascript Flyletaxe dosen';无法找到所有模块,javascript,node.js,Javascript,Node.js,如果我从github运行flyletase,在Debian和Ubuntu上会出现以下错误。我的nodejs是坏了还是有错误?首先,我在工作目录中运行npm install-d。我的nodejs版本是0.10.25。最后一个输出是npm info ok有人有办法解决这个问题吗 rennecke@odin ~/flylatex ±master » nodejs app.js module.js:340 throw err; ^ Error: Cannot find mo

如果我从github运行flyletase,在Debian和Ubuntu上会出现以下错误。我的nodejs是坏了还是有错误?首先,我在工作目录中运行
npm install-d
。我的nodejs版本是0.10.25。最后一个输出是
npm info ok
有人有办法解决这个问题吗

rennecke@odin ~/flylatex ±master » nodejs app.js 
module.js:340
    throw err;
          ^
Error: Cannot find module './src'
  at Function.Module._resolveFilename (module.js:338:15)
  at Function.Module._load (module.js:280:25)
  at Module.require (module.js:364:17)
  at require (module.js:380:17)
  at Object.<anonymous> (/home/rennecke/flylatex/node_modules/share/index.js:2:18)
  at Module._compile (module.js:456:26)
  at Object.Module._extensions..js (module.js:474:10)
  at Module.load (module.js:356:32)
  at Function.Module._load (module.js:312:12)
  at Module.require (module.js:364:17)
  at require (module.js:380:17)
  at Object.<anonymous> (/home/rennecke/flylatex/app.js:10:13)
  at Module._compile (module.js:456:26)
  at Object.Module._extensions..js (module.js:474:10)
  at Module.load (module.js:356:32)
  at Function.Module._load (module.js:312:12)
  at Function.Module.runMain (module.js:497:10)
  at startup (node.js:119:16)
  at node.js:902:3
rennecke@odin~/flyletex±master»nodejs app.js
module.js:340
犯错误;
^
错误:找不到模块'./src'
在Function.Module.\u解析文件名(Module.js:338:15)
在Function.Module.\u加载(Module.js:280:25)
at Module.require(Module.js:364:17)
根据需要(模块js:380:17)
反对。(/home/rennecke/flyletaxe/node_modules/share/index.js:2:18)
在模块处编译(Module.js:456:26)
在Object.Module.\u extensions..js(Module.js:474:10)
在Module.load(Module.js:356:32)
在Function.Module.\u加载(Module.js:312:12)
at Module.require(Module.js:364:17)
根据需要(模块js:380:17)
反对。(/home/rennecke/flyletaxe/app.js:10:13)
在模块处编译(Module.js:456:26)
在Object.Module.\u extensions..js(Module.js:474:10)
在Module.load(Module.js:356:32)
在Function.Module.\u加载(Module.js:312:12)
位于Function.Module.runMain(Module.js:497:10)
启动时(node.js:119:16)
在node.js:902:3
我也有同样的问题。 这是一个“
节点和咖啡脚本”问题。
您必须找到一种方法向“
nodejs
”解释如何“动态编译”咖啡脚本

我无法找到解决方案,但就我而言,coeffeescript的
/node\u modules/share/src
已经在
/node\u moudules/share/lib
中用javascript编译

因此,我只需编辑文件:

./node_modules/share/index.js

comment the 2 lines
// require ('coffee-script');
// module.exports = require('./src'):
并添加行

module.exports = require('./lib');
这就是工作

我仍然在寻找一种更“优雅”的解决方案,用于coffescript的“一行”编译

希望这有帮助。

我也有同样的问题。 这是一个“
节点和咖啡脚本”问题。
您必须找到一种方法向“
nodejs
”解释如何“动态编译”咖啡脚本

我无法找到解决方案,但就我而言,coeffeescript的
/node\u modules/share/src
已经在
/node\u moudules/share/lib
中用javascript编译

因此,我只需编辑文件:

./node_modules/share/index.js

comment the 2 lines
// require ('coffee-script');
// module.exports = require('./src'):
并添加行

module.exports = require('./lib');
这就是工作

我仍然在寻找一种更“优雅”的解决方案,用于coffescript的“一行”编译

希望这有帮助。

我也有同样的问题。 这是一个“
节点和咖啡脚本”问题。
您必须找到一种方法向“
nodejs
”解释如何“动态编译”咖啡脚本

我无法找到解决方案,但就我而言,coeffeescript的
/node\u modules/share/src
已经在
/node\u moudules/share/lib
中用javascript编译

因此,我只需编辑文件:

./node_modules/share/index.js

comment the 2 lines
// require ('coffee-script');
// module.exports = require('./src'):
并添加行

module.exports = require('./lib');
这就是工作

我仍然在寻找一种更“优雅”的解决方案,用于coffescript的“一行”编译

希望这有帮助。

我也有同样的问题。 这是一个“
节点和咖啡脚本”问题。
您必须找到一种方法向“
nodejs
”解释如何“动态编译”咖啡脚本

我无法找到解决方案,但就我而言,coeffeescript的
/node\u modules/share/src
已经在
/node\u moudules/share/lib
中用javascript编译

因此,我只需编辑文件:

./node_modules/share/index.js

comment the 2 lines
// require ('coffee-script');
// module.exports = require('./src'):
并添加行

module.exports = require('./lib');
这就是工作

我仍然在寻找一种更“优雅”的解决方案,用于coffescript的“一行”编译

希望这有帮助