Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to import when using NodeNext resolution #694

Open
arietrouw opened this issue Aug 22, 2024 · 3 comments
Open

Fails to import when using NodeNext resolution #694

arietrouw opened this issue Aug 22, 2024 · 3 comments

Comments

@arietrouw
Copy link

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.

@arietrouw
Copy link
Author

image

@arietrouw
Copy link
Author

This happens when importing from 'json-joy/lib/json-patch'

@macmillen
Copy link

Did you install all peer dependencies?
See #687 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants