alphasights / ember-calendar

An awesome Ember calendar, designed with composability and reusability in mind.
https://alphasights.github.io/ember-calendar/demo
MIT License
157 stars 47 forks source link

Integration with Ember 3.15 Octane #260

Open adet4ever opened 4 years ago

adet4ever commented 4 years ago

Installing this addon on Ember Octane does not work. Is there any plan to make it work on newer versions of ember?

⠹ building... [broccoli-persistent-filter:TemplateCompiler > applyPatches]DEPRECATION: Passing actions to components as strings (like `{{input key-up="inputQueryChanged"}}`) is deprecated. Please use closure actions instead (`{{input key-up=(action "inputQueryChanged")}}`). ('web-ui/templates/components/as-calendar/time-zone-select.hbs' @ L13:C10)  [deprecation id: ember-component.send-action] See https://emberjs.com/deprecations/v3.x#toc_ember-component-send-action for more details.
        at logDeprecationStackTrace (/home/major/v-clinic/web-ui/node_modules/ember-source/dist/ember-template-compiler.js:1898:21)
        at HANDLERS.<computed> (/home/major/v-clinic/web-ui/node_modules/ember-source/dist/ember-template-compiler.js:1995:9)
        at raiseOnDeprecation (/home/major/v-clinic/web-ui/node_modules/ember-source/dist/ember-template-compiler.js:1925:9)
        at HANDLERS.<computed> (/home/major/v-clinic/web-ui/node_modules/ember-source/dist/ember-template-compiler.js:1995:9)
        at invoke (/home/major/v-clinic/web-ui/node_modules/ember-source/dist/ember-template-compiler.js:2007:9)
        at deprecate (/home/major/v-clinic/web-ui/node_modules/ember-source/dist/ember-template-compiler.js:1963:28)
        at /home/major/v-clinic/web-ui/node_modules/ember-source/dist/ember-template-compiler.js:6866:59
        at Array.forEach (<anonymous>)
        at MustacheStatement (/home/major/v-clinic/web-ui/node_modules/ember-source/dist/ember-template-compiler.js:6864:29)
(node:16640) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open '/tmp/broccoli-16640Hx1vf6vd081H/out-411-broccoli_debug_debug_8_vendor_js/bower_components/interact/interact.js'
    at Object.openSync (fs.js:457:3)
    at Object.readFileSync (fs.js:359:35)
    at SourceMap.addFile (/home/major/v-clinic/web-ui/node_modules/fast-sourcemap-concat/lib/source-map.js:77:33)
    at /home/major/v-clinic/web-ui/node_modules/broccoli-concat/concat.js:204:18
    at Array.forEach (<anonymous>)
    at Concat.<anonymous> (/home/major/v-clinic/web-ui/node_modules/broccoli-concat/concat.js:202:26)
    at /home/major/v-clinic/web-ui/node_modules/fast-sourcemap-concat/lib/source-map.js:431:14
    at new Promise (<anonymous>)
    at SourceMap.end (/home/major/v-clinic/web-ui/node_modules/fast-sourcemap-concat/lib/source-map.js:418:12)
    at Concat._doLegacyBuild (/home/major/v-clinic/web-ui/node_modules/broccoli-concat/concat.js:187:24)
(node:16640) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 4)
(node:16640) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
cleaning up...
mcfiredrill commented 4 years ago

Hi,

I have a fork here where I've done a few upgrades (as well as incorporated the month view from another fork). It's not perfect, but I am using it in a couple of octane apps at the moment. https://github.com/mcfiredrill/ember-calendar