#ESM module import
3 messages · Page 1 of 1 (latest)
I came from this post, but none of exposed fix did the trick :
https://stackoverflow.com/questions/74830166/unable-to-import-esm-module-in-nestjs
Ok solution 2 finally worked for me
3 messages · Page 1 of 1 (latest)
Hi there,
I read this and can't find any solution as it is not working on my project :
#1057008517023801385 message
I am trying to import a library (p-map), but can't use it, got an error at runtime, sayning :
Error [ERR_REQUIRE_ESM]: Must use import to load ES Modul
Any idea ? Thanks !
I came from this post, but none of exposed fix did the trick :
https://stackoverflow.com/questions/74830166/unable-to-import-esm-module-in-nestjs
Ok solution 2 finally worked for me