I know this is a real mess but bear with me:
The latest version of ink is published as an ES module, and when this package is built with tsc, it converts all of the import statements into requires, which is entirely reasonable. However, when it tries to require('ink'), it spins out, since ink is published directly as an es module without being built now.
I'm not entirely sure how this can be resolved, but poking into it - just wanted to raise the issue at least π
I know this is a real mess but bear with me:
The latest version of
inkis published as an ES module, and when this package is built withtsc, it converts all of theimportstatements intorequires, which is entirely reasonable. However, when it tries torequire('ink'), it spins out, since ink is published directly as an es module without being built now.I'm not entirely sure how this can be resolved, but poking into it - just wanted to raise the issue at least π