Giter VIP home page Giter VIP logo

Comments (5)

Subtletree avatar Subtletree commented on May 23, 2024 1

Looks like it might be this embroider-build/embroider#1077 (comment)

As per that comment, overriding @embroider/* packages to v1.0.0 might fix the problem until the above PR is merged.

from ember-paper.

veelenga avatar veelenga commented on May 23, 2024 1

I found a problem in the app itself. Our environment config was not compatible with a new @embroider/macros (not serializable).

Thanks for the help.

from ember-paper.

Subtletree avatar Subtletree commented on May 23, 2024

What version ember-basic-dropdown are you running?

They updated 5 days ago to 4.0.4 with changelog: [FEATURE] Improve compatibility with Embroider/Ember 4.

If you're not at 4.0.4 then could try that, or if you are then you could try pinning to 4.0.3.

I'm not well versed in the embroider world but possible resources to help fix later:
embroider-build/embroider#1077
embroider-build/embroider#1083

from ember-paper.

Subtletree avatar Subtletree commented on May 23, 2024

@veelenga any chance you can test again with #1211?

from ember-paper.

veelenga avatar veelenga commented on May 23, 2024

@Subtletree thanks for the heads up.

Unfortunately, i'm still getting the same error but the stacktrace doesn't head to ember-paper anymore.

expand
=================================================================================

ENV Summary:

  TIME: Mon Feb 21 2022 10:09:05 GMT+0200 (Eastern European Standard Time)
  TITLE: ember
  ARGV:
  - ~/.nvm/versions/node/v14.18.1/bin/node
  - myapp/node_modules/.bin/ember
  - serve
  EXEC_PATH: ~/.nvm/versions/node/v14.18.1/bin/node
  TMPDIR: /var/folders/rt/3thkvgpd4jd0gbr1q_j_f0r00000gn/T
  SHELL: /bin/zsh
  PLATFORM: darwin arm64
  FREEMEM: 77611008
  TOTALMEM: 17179869184
  UPTIME: 4140879
  LOADAVG: 14.22119140625,11.38916015625,7.423828125
  CPUS:
  - Apple M1 - 24
  - Apple M1 - 24
  - Apple M1 - 24
  - Apple M1 - 24
  - Apple M1 - 24
  - Apple M1 - 24
  - Apple M1 - 24
  - Apple M1 - 24
  ENDIANNESS: LE
  VERSIONS:
  - ares: 1.17.2
  - brotli: 1.0.9
  - cldr: 39.0
  - icu: 69.1
  - llhttp: 2.1.4
  - modules: 83
  - napi: 8
  - nghttp2: 1.42.0
  - node: 14.18.1
  - openssl: 1.1.1l
  - tz: 2021a
  - unicode: 13.0
  - uv: 1.42.0
  - v8: 8.4.371.23-node.84
  - zlib: 1.2.11

ERROR Summary:

  - broccoliBuilderErrorStack: [undefined]
  - code: [undefined]
  - codeFrame: [undefined]
  - errorMessage: [Embroider:MacrosConfig] the given config from 'myapp/node_modules/ember-basic-dropdown/node_modules/ember-get-config' for packageName 'undefined' is not JSON serializable.
  - errorType: [undefined]
  - location:
    - column: [undefined]
    - file: [undefined]
    - line: [undefined]
  - message: [Embroider:MacrosConfig] the given config from 'myapp/node_modules/ember-basic-dropdown/node_modules/ember-get-config' for packageName 'undefined' is not JSON serializable.
  - name: Error
  - nodeAnnotation: [undefined]
  - nodeName: [undefined]
  - originalErrorMessage: [undefined]
  - stack: Error: [Embroider:MacrosConfig] the given config from 'myapp/node_modules/ember-basic-dropdown/node_modules/ember-get-config' for packageName 'undefined' is not JSON serializable.
    at MacrosConfig.internalSetConfig (myapp/node_modules/@embroider/macros/src/macros-config.js:163:19)
    at MacrosConfig.setOwnConfig (myapp/node_modules/@embroider/macros/src/macros-config.js:142:21)
    at Class.included (myapp/node_modules/@embroider/macros/src/ember-addon-main.js:25:26)
    at Class.superWrapper [as included] (myapp/node_modules/core-object/lib/assign-properties.js:34:20)
    at myapp/node_modules/ember-cli/lib/models/addon.js:497:26
    at Array.reduce (<anonymous>)
    at Class.eachAddonInvoke (myapp/node_modules/ember-cli/lib/models/addon.js:494:24)
    at Class.included (myapp/node_modules/ember-cli/lib/models/addon.js:769:10)
    at Class.superWrapper [as included] (myapp/node_modules/core-object/lib/assign-properties.js:34:20)
    at Class.included (myapp/node_modules/ember-basic-dropdown/node_modules/ember-get-config/index.js:29:26)

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

Also, my embroider-related deps look like this:

$ npm ls @embroider/macros
├─┬ [email protected]
│ └── @embroider/[email protected]
├─┬ [email protected]
│ └─┬ @ember/[email protected]
│   └── @embroider/[email protected]
├─┬ [email protected]
│ └── @embroider/[email protected]
├─┬ [email protected]
│ └─┬ [email protected]
│   ├── @embroider/[email protected]
│   └─┬ [email protected]
│     └── @embroider/[email protected]  deduped
└─┬ [email protected]
  └─┬ @embroider/[email protected]
    └── @embroider/[email protected]  deduped

It looks like the problem is unrelated to ember-paper anymore, please feel free to close.

from ember-paper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.