You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice if the package supported the older require() standard as well as the newer import().
Caught exception: Error [ERR_REQUIRE_ESM]: require() of ES Module {...}/node_modules/is-ip/index.js from {...}/src/apiv1.js not supported.
Instead change the require of index.js in {...}/src/apiv1.js to a dynamic import() which is available in all CommonJS modules.
at Object.<anonymous> (/{...}/src/apiv1.js:15:14)
at Object.<anonymous> (/{...}/index.js:48:19) {
code: 'ERR_REQUIRE_ESM'
Current workaround for anyone with issues is to force release to 3.1.0.
The text was updated successfully, but these errors were encountered:
It would be nice if the package supported the older
require()
standard as well as the newerimport()
.Current workaround for anyone with issues is to force release to 3.1.0.
The text was updated successfully, but these errors were encountered: