node_modules/documentjs/node_modules/q/q.js:126
throw e;
^
Error: ENOENT: no such file or directory, lstat '/node_modules/documentjs/node_modules/steal/steal.production.js'
at Error (native)
This is because Steal is installed in the node_modules of the project root. The solution is to use require.resolve in DocumentJS.
Originally reporterd in https://github.com/donejs/place-my-order/issues/87. It throws the following error:
This is because Steal is installed in the
node_modules
of the project root. The solution is to userequire.resolve
in DocumentJS.