node.js - Nodeclipse, as referencing linked resources in javascript files? -
i have node application in nodeclipse , have "module not found" error when run line of code:
var routes = require('./routes/index');
this because index.js
file in virtual folder in nodeclipse project. how can reference linked resources in javascript code? created path variable in properties of project doesn't work ${variable_name}
construct.
when launching node within eclipse (or ide) usual node
executable running, , not aware of eclipse virtual folders , links.
probable linux/windows os file system links should work (not ide's) , can check running node
command line or within eclipse tcf terminal (included latest enide studio ctrl + alt + t)
Comments
Post a Comment