You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Motto is unable to load any module from node_modules which requires other modules in node_modules. So if I require('foo') and the foo module in turn will require('bar'), then motto fails saying that 'bar' cannot be found.
Motto seems to be searching for node_modules/foo/node_modules/bar, which is of course incorrect.
N.B. I don't think this is related to gh-10 as it this looks to be a bug in motto itself, while that issue is about missing/incorrect test data.
The text was updated successfully, but these errors were encountered:
I think this was actually how modules were loaded in the version of Node around in 2014. I think it meant paths could get so deep that Windows wouldn't load things, and there were weird conflicts. That doesn't help now as much, but I think the answer is that this project is out of date and needs a maintainer that can redo the module resolution.
Motto is unable to load any module from
node_modules
which requires other modules innode_modules
. So if Irequire('foo')
and the foo module in turn willrequire('bar')
, then motto fails saying that 'bar' cannot be found.Motto seems to be searching for
node_modules/foo/node_modules/bar
, which is of course incorrect.N.B. I don't think this is related to gh-10 as it this looks to be a bug in motto itself, while that issue is about missing/incorrect test data.
The text was updated successfully, but these errors were encountered: