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
So, it appears that, in Node 6, npm linked modules think they are inside the node_modules folder of the project from which they are linked, instead of their actual path on the file system.
However, when we fork test-worker.js, it is aware of it's actual path. But that gets confused when when the user does require('ava') and the file paths show as nested again.
You will notice test-worker shows up twice as often as it should, with a deeper path the second time around.
The text was updated successfully, but these errors were encountered:
To debug, I added the following statements to a number of internal AVA files:
On Node 5, when everything works, I get this output:
On Node 6, where things are broken:
So, it appears that, in Node 6, npm linked modules think they are inside the
node_modules
folder of the project from which they are linked, instead of their actual path on the file system.However, when we fork
test-worker.js
, it is aware of it's actual path. But that gets confused when when the user doesrequire('ava')
and the file paths show as nested again.You will notice
test-worker
shows up twice as often as it should, with a deeper path the second time around.The text was updated successfully, but these errors were encountered: