Skip to content

@sentry/ember breaks ember-cli build when used with ember-data >= 4.6.1 #5701

@pichfl

Description

@pichfl

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which package are you using?

@sentry/ember

SDK Version

7.12.1

Framework Version

7.12.1

Link to Sentry event

No response

Steps to Reproduce

  1. Install @sentry/ember using npm install --save-dev @sentry/ember
  2. Run project using npm start (which in turn runs ember serve)

Expected Result

Build completes successfully and ember-cli serves the project.

Actual Result

[broccoli-persistent-filter:Babel > [Babel: @ember-data/model]: Babel: @ember-data/model] was configured to `throwUnlessParallelizable` and was unable to parallelize a plugin.
plugins:
1: name: unknown, location: unknown

Please see: https://github.com/babel/broccoli-babel-transpiler#parallel-transpilation for more details


Stack Trace and Error Report: /var/folders/cq/l1v54dyd5qb_3p7pky5mf7f00000gn/T/error.dump.6c9d0a1e610cb2506c50b0bea57c3547.log
error.dump.6c9d0a1e610cb2506c50b0bea57c3547.log
=================================================================================

ENV Summary:

  TIME: Tue Sep 06 2022 23:35:03 GMT+0200 (Central European Summer Time)
  TITLE: ember
  ARGV:
  - /Users/pichfl/.volta/tools/image/node/16.17.0/8.15.0/bin/node
  - /Users/pichfl/Source/#PROJECTNAME/packages/tix-ui/node_modules/.bin/ember
  - serve
  - --ssl
  - --host=local.staging.tix.vlb.de
  EXEC_PATH: /Users/pichfl/.volta/tools/image/node/16.17.0/8.15.0/bin/node
  TMPDIR: /var/folders/cq/l1v54dyd5qb_3p7pky5mf7f00000gn/T
  SHELL: /usr/local/bin/fish
  PATH:
  - /Users/pichfl/Source/#PROJECTNAME/packages/tix-ui/node_modules/.bin
  - /Users/pichfl/.volta/tools/image/packages/pnpm/7.9.5/dist/node-gyp-bin
  - /Users/pichfl/Source/#PROJECTNAME/node_modules/.bin
  - /Users/pichfl/.volta/tools/image/node/16.17.0/8.15.0/bin
  - /Users/pichfl/.volta/tools/image/yarn/1.22.15/bin
  - /Users/pichfl/Library/pnpm
  - /usr/local/sbin
  - /Users/pichfl/.cargo/bin
  - /Users/pichfl/.fig/bin
  - /usr/local/bin
  - /usr/bin
  - /bin
  - /usr/sbin
  - /sbin
  - /Library/Apple/usr/bin
  PLATFORM: darwin x64
  FREEMEM: 724672512
  TOTALMEM: 17179869184
  UPTIME: 1289362
  LOADAVG: 14.45458984375,9.05224609375,7.27001953125
  CPUS:
  - Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz - 2600
  - Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz - 2600
  - Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz - 2600
  - Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz - 2600
  - Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz - 2600
  - Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz - 2600
  - Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz - 2600
  - Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz - 2600
  - Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz - 2600
  - Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz - 2600
  - Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz - 2600
  - Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz - 2600
  ENDIANNESS: LE
  VERSIONS:
  - ares: 1.18.1
  - brotli: 1.0.9
  - cldr: 41.0
  - icu: 71.1
  - llhttp: 6.0.7
  - modules: 93
  - napi: 8
  - nghttp2: 1.47.0
  - nghttp3: 0.1.0-DEV
  - ngtcp2: 0.1.0-DEV
  - node: 16.17.0
  - openssl: 1.1.1q+quic
  - tz: 2022a
  - unicode: 14.0
  - uv: 1.43.0
  - v8: 9.4.146.26-node.22
  - zlib: 1.2.11

ERROR Summary:

  - broccoliBuilderErrorStack: [undefined]
  - code: [undefined]
  - codeFrame: [undefined]
  - errorMessage: [broccoli-persistent-filter:Babel > [Babel: @ember-data/model]: Babel: @ember-data/model] was configured to `throwUnlessParallelizable` and was unable to parallelize a plugin. 
plugins:
1: name: unknown, location: unknown

Please see: https://github.com/babel/broccoli-babel-transpiler#parallel-transpilation for more details
  - errorType: [undefined]
  - location:
    - column: [undefined]
    - file: [undefined]
    - line: [undefined]
  - message: [broccoli-persistent-filter:Babel > [Babel: @ember-data/model]: Babel: @ember-data/model] was configured to `throwUnlessParallelizable` and was unable to parallelize a plugin. 
plugins:
1: name: unknown, location: unknown

Please see: https://github.com/babel/broccoli-babel-transpiler#parallel-transpilation for more details
  - name: Error
  - nodeAnnotation: [undefined]
  - nodeName: [undefined]
  - originalErrorMessage: [undefined]
  - stack: Error: [broccoli-persistent-filter:Babel > [Babel: @ember-data/model]: Babel: @ember-data/model] was configured to `throwUnlessParallelizable` and was unable to parallelize a plugin. 
plugins:
1: name: unknown, location: unknown

Please see: https://github.com/babel/broccoli-babel-transpiler#parallel-transpilation for more details
    at new Babel (/Users/pichfl/Source/#PROJECTNAME/node_modules/.pnpm/[email protected]/node_modules/broccoli-babel-transpiler/index.js:90:11)
    at Class.transpileTree (/Users/pichfl/Source/#PROJECTNAME/node_modules/.pnpm/[email protected]/node_modules/ember-cli-babel/index.js:170:16)
    at rollupPrivateModule (/Users/pichfl/Source/#PROJECTNAME/node_modules/.pnpm/@[email protected]/node_modules/@ember-data/private-build-infra/src/utilities/rollup-private-module.js:59:35)
    at Class.treeForAddon (/Users/pichfl/Source/#PROJECTNAME/node_modules/.pnpm/@[email protected]/node_modules/@ember-data/private-build-infra/src/addon-build-config-for-data-package.js:182:25)
    at Class.superWrapper [as treeForAddon] (/Users/pichfl/Source/#PROJECTNAME/node_modules/.pnpm/[email protected]/node_modules/core-object/lib/assign-properties.js:34:20)
    at Class._treeFor (/Users/pichfl/Source/#PROJECTNAME/node_modules/.pnpm/[email protected]/node_modules/ember-cli/lib/models/addon.js:668:33)
    at Class.treeFor (/Users/pichfl/Source/#PROJECTNAME/node_modules/.pnpm/[email protected]/node_modules/ember-cli/lib/models/addon.js:628:21)
    at /Users/pichfl/Source/#PROJECTNAME/node_modules/.pnpm/[email protected]/node_modules/ember-cli/lib/models/addon.js:497:26
    at Array.reduce (<anonymous>)
    at Class.eachAddonInvoke (/Users/pichfl/Source/#PROJECTNAME/node_modules/.pnpm/[email protected]/node_modules/ember-cli/lib/models/addon.js:494:24)

=================================================================================

Sadly the log above isn't helpful at all as it doesn't even reference the sentry plugin. But I can confirm that the project runs fine without it.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions