single-spa / single-spa-ember

Helper functions for using single-spa and ember together.
Apache License 2.0
6 stars 4 forks source link

this.callback.apply is not a function when importing single-spa-ember #25

Open poplevente opened 6 months ago

poplevente commented 6 months ago

Hi Guys,

i have the same issue as the last person within this topic: https://github.com/ember-cli/loader.js/issues/151

I am trying the addon single-spa-ember and I am facing the same issue when adding this in ember-cli-buid.js file.

app.import('node_modules/single-spa-ember/amd/single-spa-ember.js', { using: [ { transformation: 'amd', as: 'single-spa-ember' } ] });

216963045-2271cdb2-e0fd-44dc-acd2-2777c0bfa195

do you have any solution? I'm using the latest version of ember (5.7)

freyjameetsmel commented 3 months ago

Hey there,

we face the same issue with our ember version on 5.4.0 (ember-data on 5.1.1). But as the last release here is from 2018 and noone bothers to comment on any open issue here, I assume that this will not be maintained anymore. Sad. 😞

Did you by any chance get your ember application to work with single-spa? 🤔

freyjameetsmel commented 2 months ago

Just in case anyone stumbles upon this issue and is in search for a solution: I found this article here https://mainmatter.com/blog/2024/03/27/embeddable-ember-apps/ and with its help I could implement a working prototype for single-spa with ember on version 5.4.0 😸

joeldenning commented 2 weeks ago

I'm not sure which versions of Ember are supported by single-spa-ember@0.2.0 - the last release was in 2018. There's a chance that newer versions of Ember aren't yet supported. I'm happy to work on this issue, if funded. My rate is $250/hr, billed to the minute, payment via Github sponsors or Open Collective.