I am writing a node.js solution to store "printed" maps to embed in a video. When I run the node file by itself, it executes without problem. When I link to the node file from my file that includes my ESRI code, I get the following error:
Uncaught Error: undefinedModule
and it says it occurs at line 5 of (minified) init.js, which isn't a file I modify.
Has anyone else encountered this issue? Specifically, when trying to use node's "fs" and "mkdirp" modules? Do node and ESRI just not play well together?
Hey, I have experimented with node.js for a few things... You might want to check-out runnable for prototyping. I have a couple of my own I've created for a few POC type stuff (including Esri's Terraformer project):
http://code.runnable.com/u/fieroCode87
Esri has a node.js adaptor for geoservices in their GitHub. I know this doesn't answer your question, but just wanted to forward along, if any of this is helpful with using node.js.