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
Importing parallel with: import Parallel from "paralleljs", the following error happens:
internal/modules/esm/resolve.js:61
let url = moduleWrapResolve(specifier, parentURL);
^
Error: Invalid JSON in node_modules/paralleljs/package.json imported from script.js
at Loader.defaultResolve [as _resolve] (internal/modules/esm/resolve.js:61:13)
at Loader.resolve (internal/modules/esm/loader.js:85:40)
at Loader.getModuleJob (internal/modules/esm/loader.js:191:28)
at ModuleWrap.<anonymous> (internal/modules/esm/module_job.js:42:40)
at link (internal/modules/esm/module_job.js:41:36) {
code: 'ERR_INVALID_PACKAGE_CONFIG'
}
If I remove paralleljs/package.json and import with "paralleljs/lib/parallel.js"`, then it works fine.
The text was updated successfully, but these errors were encountered:
Importing parallel with:
import Parallel from "paralleljs"
, the following error happens:If I remove
paralleljs/package.json
and import with "paralleljs/lib/parallel.js"`, then it works fine.The text was updated successfully, but these errors were encountered: