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
{{ message }}
This repository has been archived by the owner on Nov 17, 2022. It is now read-only.
Being present in the exports field of package.json does not automatically make the file an ES module. It must be ended with .mjs, or the package.json has to include type: "module".
(node:78771) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
(Use `node --trace-warnings ...` to show where the warning was created)
import resolve from 'resolve';
^^^^^^
SyntaxError: Cannot use import statement outside a module
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Being present in the
exports
field ofpackage.json
does not automatically make the file an ES module. It must be ended with.mjs
, or the package.json has to includetype: "module"
.https://nodejs.org/api/packages.html#packages_determining_module_system
The text was updated successfully, but these errors were encountered: