Entrapta Jones
Entrapta Jones
Sorry I missed this earlier. I think I know why this is failing and I'm not sure how it could be resolved without finding how to remove my hack for...
That hack is the only part of this codebase I hate/want to get rid of. If anyone has any solutions or alternative ways of supporting destructing of legacy node_modules please...
I will attempt to refactor the file and module loader functions this weekend.
@armarti Can you test to see if the issue is still present with the changes made in #28 I changed how I require in Common.JS modules, which could possibly allow...
Yeah, when I started this project it was meant as a proof of concept to be integrated into `TS-Node` now I've morphed it into its own ecosystem.
Wait, I wonder if my new getSource based CJS module compat/(TOTALLY NOT A HACK) makes Yarn2 Work now...
Doesn't work magically but I do think that this will be easier to be done
The core of this issue is that Yarn2 doesn't support NodeJS loader hooks, because their hack to allow for the "compressed" modules assumes that ESModules don't exist in Node.JS. This...
One way I could see this working is if TS-ESNode is loaded from disk instead of attempting to load the installed version from Yarn
Just thought of a potential workaround, using a bin script that loads TS-ESNode. Turns out that even that won't work because the virtual filesystem appears to not include the `package.json`...