Comments (5)
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.
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.
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.
@veelenga any chance you can test again with #1211?
from ember-paper.
@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)
- Deprecations when upgrading to Ember >= v3.20.x, {{-in-element}} HOT 1
- Paper select errors when menu is closed on ember > 3.17 HOT 3
- Form elements that accept `required` don't set an A11y attribute on the child element
- PaperSelect with selected=0 HOT 1
- Tab Component lacks accessible role="tab"
- Paper Tabs Pagination Always Visible
- Select ARIA violation around not having an accessible name
- paper-menu.item.shouldRenderButton doesn't handle the case when click handler is installed differently HOT 2
- Paper chips component throws an 'focus' error with readOnly property as true
- paper-chips inside paper-form: form is sent and closed when adding new tag (press Enter)
- error when building app with ember-paper HOT 8
- Ghost basic-dropdown-content once paper-menu closed HOT 1
- Remove usage of liquid and any other confusing irrelevant library from the docs
- With this being deprecated, what should we replace it with? HOT 2
- Add support for `renderInPlace` to `PaperSelect`
- Does not install with Ember 4.1.0 HOT 4
- Quest: Ember 4 + Octane HOT 1
- Button HOT 1
- How does the docs site get deployed? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ember-paper.