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.
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?