'require is not defined' in eclipse orion

441 views Asked by At

I use eclipse orion with node.js together, but when using 'require' in the code below, eclipse orion complain that 'require is not defined', but the code execute just fine with node.

var sys = require("sys");
sys.puts("Hello World");

How is it possible to switch of the error message?

0

There are 0 answers