Closed BobDickinson closed 9 years ago
This has been fixed (node_modules are supported per app, though they must be on the local server, even if the rest of the Synchro app modules are hosted somewhere else by a remote module store (like Azure of AWS). This is now well documented in the wiki.
We need some mechanism for Synchro apps to include the node_modules that they require. Using the node_modules directory in the Synchro app directory seems natural, but this would require those supporting node modules (which could have cascading dependencies underneath) to be loaded using our dynamic loader that can load modules other than from disk files.
Wherever these node_modules are loaded from, they must be resolvable from the Synchro apps that require them, which are themselves loaded at a virtual path relative the the Synchro API server (since the Synchro app modules don't exist at any physical file path).