I have the test project at https://github.com/ericg-ember-questions/test_computed_sort
I setup the project by doing the following:
Node version: v12.18.1 (npm v6.14.5)
- npm install --save-dev ember-cli@3.4
- ./node_modules/.bin/ember new test_computed_sort
- cd test_computed_sort/
- ./node_modules/.bin/ember install ember-light-table@1.13.2
- ./node_modules/.bin/ember generate component test-comp
- ./node_modules/.bin/ember serve
Hello
If I comment out the reference to light-table, no error is generated. However, with it, I see in the console:
media.js:15 Uncaught TypeError: decorator is not a function
at media.js:15:1
at Array.reduce (<anonymous>)
at _applyDecoratedDescriptor (media.js:15:1)
at Module.callback (media.js:240:1)
at Module.exports (loader.js:106:1)
at Module._reify (loader.js:143:1)
at Module.reify (loader.js:130:1)
at Module.exports (loader.js:104:1)
at requireModule (loader.js:27:1)
at Class._extractDefaultExport (index.js:432:1)
What can I do to resolve this error so I can use ember-light-table with this project?
Aucun commentaire:
Enregistrer un commentaire