Closed paulgoldsmith closed 9 years ago
The npm module when has a folder node and file node.js. If the following is executed
node
node.js
ynode> require('when/node');
An uncaught exception is thrown as it attempts to yearn the folder instead of the file.
A real world example of this case is the npm module phridge which does this very require in spawn.js.
The issue is really only occurring when running with legacy turned on and that's due to a different bug that will be addressed.
The npm module when has a folder
node
and filenode.js
. If the following is executedAn uncaught exception is thrown as it attempts to yearn the folder instead of the file.
A real world example of this case is the npm module phridge which does this very require in spawn.js.