Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parcel doesn't work at all anymore (@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize) #6675

Closed
danieltroger opened this issue Aug 3, 2021 · 20 comments

Comments

@danieltroger
Copy link
Contributor

🐛 bug report

When trying to build a simple console.log("test"); on the nightly branch of parcel it infinite loops.

🎛 Configuration (.babelrc, package.json, cli command)

package.json:

{
  "scripts": {
    "build": "parcel build src/main.ts"
  },
  "devDependencies": {
    "@parcel/babel-plugin-transform-runtime": "nightly",
    "@parcel/babel-preset-env": "nightly",
    "@parcel/optimizer-cssnano": "nightly",
    "@parcel/optimizer-htmlnano": "nightly",
    "@parcel/packager-css": "nightly",
    "@parcel/packager-html": "nightly",
    "@parcel/transformer-css": "nightly",
    "@parcel/transformer-html": "nightly",
    "@parcel/transformer-inline-string": "nightly",
    "@parcel/transformer-postcss": "nightly",
    "@parcel/transformer-posthtml": "nightly",
    "@parcel/transformer-sass": "nightly",
    "parcel": "nightly"
  },
  "dependencies": {
    "@parcel/types": "nightly"
  }
}

CLI command: npm run build

🤔 Expected Behavior

No infinite loop

😯 Current Behavior

daniel@Daniels-MacBook-Pro parcel-fukd % npm run build

> build
> parcel build src/main.ts


@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

@parcel/workers: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.793+91287030:BundleGraph to be registered with serializer to deserialize
  at /private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/private/tmp/parcel-fukd/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/private/tmp/parcel-fukd/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)
⠋ Bundling...

💁 Possible Solution

Unsure

🔦 Context

Updated parcel this morning lusting for some fresh features and bugfixes and got this instead :(

💻 Code Sample

Please see this .zip:
parcel-fukd.zip

🌍 Your Environment

Software Version(s)
Parcel 2.0.0-nightly.793+91287030
Node v16.6.0
npm/Yarn npm v7.19.1
Operating System macOS 10.15.7 (19H1217)
@folknor
Copy link

folknor commented Aug 3, 2021

Same issue here, but in the original tickets "your environment" section it says Parcel: 2.0.0-nightly.793+91287030 and npm: v7.19.1, and that's not what I'm using. Also I'm on linux, running kernel 5.13 on ext4, and I'm running node v16.6.1.

$ node -v
v16.6.1
$ npm -v
7.20.3
$ npm list
test@1.0.0 /home/.../Projects/test
...
├── @parcel/optimizer-cssnano@2.0.0-nightly.795
├── @parcel/optimizer-htmlnano@2.0.0-nightly.795
├── @parcel/packager-css@2.0.0-nightly.795
├── @parcel/packager-html@2.0.0-nightly.795
├── @parcel/transformer-css@2.0.0-nightly.795
├── @parcel/transformer-html@2.0.0-nightly.795
├── @parcel/transformer-image@2.0.0-nightly.2417
├── @parcel/transformer-js@2.0.0-nightly.795
├── @parcel/transformer-postcss@2.0.0-nightly.795
├── @parcel/transformer-posthtml@2.0.0-nightly.795
├── @parcel/transformer-sass@2.0.0-nightly.795
├── @parcel/transformer-webmanifest@2.0.0-nightly.2417
...
├── parcel@2.0.0-nightly.793
...

@devongovett
Copy link
Member

Your example works for me. It looks like perhaps you have multiple copies of some node_modules somehow. Did you try cleaning out your node_modules or lock file and re-installing?

@danieltroger
Copy link
Contributor Author

I set up the folder in the .zip file from scratch - started with an empty folder, manually wrote package.json and ran npm install. So that can't be the issue.

I will download it again and see if the issue still happens and upload it for you with package-lock.json and node_modules folder.

@mischnic
Copy link
Member

mischnic commented Aug 3, 2021

npm 7 indeed installs both a nightly and rc.0 version of some packages with

{
  "scripts": {
    "build": "parcel build src/main.ts"
  },
  "devDependencies": {
    "@parcel/transformer-sass": "nightly",
    "parcel": "nightly"
  }
}

@danieltroger
Copy link
Contributor Author

Thanks @mischnic 🥳

@devongovett it's still reproducable for me. Here's a whole folder: https://arxius.io/f/c4bf8eee

@devongovett
Copy link
Member

Is it not a bug in npm? parcel depends on a pinned @parcel/core nightly. Why is it installing an rc version? It works properly with Yarn...

@danieltroger
Copy link
Contributor Author

Ok. Wish my bug report good luck lol

@mischnic
Copy link
Member

mischnic commented Aug 3, 2021

This might be "working as npm intended". It installs unsatisfied peerdeps as though they were regular dependencies now and RC does satisfy the alpha version peer dep constraint that some packages have: https://jubianchi.github.io/semver-check/#/^2.0.0-alpha.3/^2.0.0-rc.0

@danieltroger
Copy link
Contributor Author

It works properly with Yarn...

Thank you for making me realize npm is dead @devongovett.
They still haven't triaged my issue and I checked and the last time they triaged an issue was like the 11th of June.
It seems to be dead.
I'm now switching to yarn berry which had an issue triaged 13 hours ago and seems to be much faster and more modern 🤓

@folknor can you also imagine switching?

@folknor
Copy link

folknor commented Aug 5, 2021

I've been wanting to switch for a few years now, frankly. The only thing that held me back was I didn't want to spend the time doing the transition. But I believe that the time required to transition from npm to yarn berry is less than transitioning all my projects from parcel nightly to vite, so it's certainly looking attractive right now. I might give it a bit more time but not more than 1-3 weeks.

@danieltroger
Copy link
Contributor Author

Cool. I can recommend switching. For me it wasn't hard at all. I just removed node_modules and package-lock.json and ran this (parphrased) yarn set version berry command. Then yarn install and it all worked.

@folknor
Copy link

folknor commented Aug 30, 2021

Unfortunately yarn is horrendous at handling named releases like latest and nightly. Or, I am an utter nincompoop - because I'm unable to find any way of having yarn berry update packages from for example 2.0.0-nightly.815 to 2.0.0-nightly.819.

It installs the correct ones when I do the initial yarn install, but after that it refuses to update any "named release" (I'm not sure what the correct term is - but I know there is one) package.

@danieltroger
Copy link
Contributor Author

@folknor I had that too. Make sure to delete yarn.lock before running yarn install again. I think it's supposed to update when you do yarn up but there seems to be some cache or something. If deleting yarn.lock doesn't work, try deleting .yarn .pnp.cjs .yarnrc.yml too. I made a script for it lol.
Also the devs are responsive, two of them answered my one question today. So if you report it they're probably thankful.

@folknor
Copy link

folknor commented Nov 24, 2021

This is still broken using npm 8.1.4. I retested because I was thinking perhaps it had been fixed by d4b4256

I've long since migrated all my projects to pnpm and it runs parcel nightly flawlessly while also being able to actually update named releases, unlike yarn.

@parcel/workers: Expected constructor 2.0.0-nightly.924+8cabeae8:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.0.0-nightly.924+8cabeae8:BundleGraph to be registered with serializer to deserialize
  at /test/node_modules/@parcel/core/lib/serializer.js:228:15
  at memoizedFn (/test/node_modules/@parcel/core/lib/serializer.js:100:13)
  at mapObject (/test/node_modules/@parcel/core/lib/serializer.js:173:16)
  at restoreDeserializedObject (/test/node_modules/@parcel/core/lib/serializer.js:222:10)
  at deserialize (/test/node_modules/@parcel/core/lib/serializer.js:258:10)
  at Child.handleRequest (/test/node_modules/@parcel/workers/lib/child.js:204:31)
  at Child.messageListener (/test/node_modules/@parcel/workers/lib/child.js:108:19)
  at ThreadsChild.onMessage (/test/node_modules/@parcel/workers/lib/child.js:84:12)
  at ThreadsChild.handleMessage (/test/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:59:10)
  at MessagePort.<anonymous> (/test/node_modules/@parcel/workers/lib/threads/ThreadsChild.js:53:61)

... loop spam

@danieltroger
Copy link
Contributor Author

Thanks for the update @folknor!

after that it refuses to update any "named release" (I'm not sure what the correct term is - but I know there is one) package

Just an update from my side, I'm still on berry because I finally got the IDE situation somewhat sorted and am afraid to switch. The way I solved it was to write a script that does yarn remove on all packages in package.json and then yarn adds them back.

Did you report the issue to yarn / do you know if there is already an issue regarding this?

@mischnic
Copy link
Member

mischnic commented Jan 7, 2022

#7489 should have fixed the (or at least one) npm issue: #7246

@folknor
Copy link

folknor commented Jan 8, 2022

@danieltroger I've not tested npm since my last comment. All my projects now run on pnpm and it works perfectly. As a side note, I enjoy the way pnpm handles node_modules using hard links because it allows me to browse, inspect, and learn from the source code of the dependencies I use easily in the same folder tree as a project. I realise this is entirely possible in yarn as well, it's just not as easy with default settings.

npm obviously allows the same thing but has hundreds of copies of the same deps on the hdd by default, which pnpm by default doesn't.

I did not report the issue to yarn, because at the moment I see no reason to use yarn over pnpm.

#7489 probably fixed this for npm users. I ran a small test now using npm 8.3.0 and a clean copy (without node_modules, package locks, etc) of one of my projects, ran npm update and then NODE_ENV=production parcel build and it produced no errors.

I think you should retest as well and close the ticket if it works for you.

@danieltroger
Copy link
Contributor Author

Thanks for the pnpm explanation! Clever to use links. But it's probably still slower than yarn, no? Since every file has to be on the filesystem.

I think you should retest as well and close the ticket if it works for you.

Good point. Tested the reproduction and it works now 👌

@folknor
Copy link

folknor commented Jan 8, 2022

But it's probably still slower than yarn, no? Since every file has to be on the filesystem.

That sounds like a reasonable assertion. I have no idea. Most of my projects are simple static websites with close to no dependencies except bootstrap and parcel, so speed is of no concern.

@RacingBird
Copy link

This is happening again for me. Endless loop.
I'm using:

npm @8.5.5
parcel @2.5.0

The following repeats until aborted:

@parcel/workers: Expected constructor 2.5.0:BundleGraph to be registered with serializer to deserialize

  Error: Expected constructor 2.5.0:BundleGraph to be registered with serializer to deserialize
  at X:\posq\proj\node_modules\@parcel\core\lib\serializer.js:220:15
  at memoizedFn (X:\posq\proj\node_modules\@parcel\core\lib\serializer.js:92:13)
  at mapObject (X:\posq\proj\node_modules\@parcel\core\lib\serializer.js:165:16)
  at restoreDeserializedObject (X:\posq\proj\node_modules\@parcel\core\lib\serializer.js:214:10)
  at deserialize (X:\posq\proj\node_modules\@parcel\core\lib\serializer.js:250:10)
  at Child.handleRequest (X:\posq\proj\node_modules\@parcel\workers\lib\child.js:204:31)
  at Child.messageListener (X:\posq\proj\node_modules\@parcel\workers\lib\child.js:108:19)
  at ThreadsChild.onMessage (X:\posq\proj\node_modules\@parcel\workers\lib\child.js:84:12)
  at ThreadsChild.handleMessage
  (X:\posq\proj\node_modules\@parcel\workers\lib\threads\ThreadsChild.js:59:10)
  at MessagePort.<anonymous>
  (X:\posq\proj\node_modules\@parcel\workers\lib\threads\ThreadsChild.js:53:61)

Is the only solution then to use yarn or pnpm?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants