Embroider + Ember 3.27: TypeError: setting getter-only property "setupMandatorySetter"
NullVoxPopuli opened this issue · comments
NullVoxPopuli commented
Found this while trying to repro this: embroider-build/embroider#817
Reproduction: https://github.com/NullVoxPopuli/embroider-resolution-reproduction-issue-817
just yarn && yarn start
, and you get the error:
Uncaught TypeError: setting getter-only property "setupMandatorySetter"
<anonymous> object.js:20
js chunk.9323c6c3d59b6ab7919f.js:3480
__webpack_require__ chunk.2145a4d29ef12f2bf0a4.js:31
<anonymous> decorator.js:9
js chunk.9323c6c3d59b6ab7919f.js:3469
__webpack_require__ chunk.2145a4d29ef12f2bf0a4.js:31
<anonymous> index.js:11
js chunk.9323c6c3d59b6ab7919f.js:3491
__webpack_require__ chunk.2145a4d29ef12f2bf0a4.js:31
<anonymous> application.js:7
js chunk.a8d3a7bd10ad06479926.js:94
__webpack_require__ chunk.2145a4d29ef12f2bf0a4.js:31
<anonymous> embroider-resolution-reproduction-issue-817.js:91
exports loader.js:106
requireModule loader.js:27
Ember 47
<anonymous> embroider-resolution-reproduction-issue-817.js:1048
js chunk.a8d3a7bd10ad06479926.js:50
__webpack_require__ chunk.2145a4d29ef12f2bf0a4.js:31
__webpack_exports__ chunk.2145a4d29ef12f2bf0a4.js:186
O chunk.2145a4d29ef12f2bf0a4.js:68
<anonymous> chunk.2145a4d29ef12f2bf0a4.js:187
<anonymous> chunk.2145a4d29ef12f2bf0a4.js:189
chunk.9323c6c3d59b6ab7919f.js line 3480 > eval:20:3
NullVoxPopuli commented
This is merged, but not yet released.
fix can be previewed with:
"resolutions": {
"tracked-maps-and-sets": "github:NullVoxPopuli/tracked-maps-and-sets#resolve-global-ember-issue",
"tracked-built-ins": "github:pzuraq/tracked-built-ins#master"
},
"scripts": {
"postinstall": "( cd node_modules/tracked-maps-and-sets && yarn && yarn build )"
}