node.js - Require path in nodejs frappe -
so experimenting nodejs, , have chosen frappe skeleton learning (as utilize coffeescript on frontend blah blah blah). anyway getting started , have encountered problem, noobish, can't find reply on google. image above should all.
what wrong path /config/globals ? have tried:
./config/globals /config/globals globals
to no avail. missing here?
path should ./globals
since require file same directory.
../config/globals
work.
a require value no path info looks module loaded npm either locally within node_modules, or in global npm location.
node.js coffeescript frappe
No comments:
Post a Comment