试图用节点启动app.js.

时间:2014-02-02 03:17:38

标签: linux raspberry-pi

它给了我这个错误

pi@raspberrypi ~ $ node app.js

module.js:340
throw err;
      ^
Error: Cannot find module '/home/pi/app.js'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:902:3

此外,当我在kiosk模式下运行Chromium时,它会给我这个错误

(chromium:2288): Gtk-WARNING **: cannot open display: 

0 个答案:

没有答案