json-joy
json-joy copied to clipboard
Fails to import when using NodeNext resolution
Setting resolution to 'NodeNext' in a tsconfig project results in load failure. 16.9.x loads correctly. The problem seems to be that subsequent dependencies do not have a .js at the end of the import (node resolution). Would be great is a esm build of this was available that works with NodeNext.
This happens when importing from 'json-joy/lib/json-patch'
Did you install all peer dependencies? See https://github.com/streamich/json-joy/issues/687#issuecomment-2275455632