#ESM module import

3 messages · Page 1 of 1 (latest)

rocky anvil
#

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 !

rocky anvil
#

Ok solution 2 finally worked for me