Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation warning deprecated-run-loop-and-computed-dot-access blocking Ember 4 upgrade #86

Open
nwhittaker opened this issue Jan 7, 2022 · 0 comments · May be fixed by #87
Open

Deprecation warning deprecated-run-loop-and-computed-dot-access blocking Ember 4 upgrade #86

nwhittaker opened this issue Jan 7, 2022 · 0 comments · May be fixed by #87

Comments

@nwhittaker
Copy link

nwhittaker commented Jan 7, 2022

Using the add-on in an app is producing the below deprecation warning. I believe this deprecation blocks the ability to upgrade to Ember 4.

DEPRECATION: Using `run.schedule` has been deprecated. Instead, import the value directly from @ember/runloop:

  import { schedule } from '@ember/runloop';

These usages may be caused by an outdated ember-cli-babel dependency. Usages of the Ember Global may be caused by an outdated ember-cli-babel dependency. The following steps may help:
...

Not sure if there are other instances of deprecated usage, but this particular warning is traced to:

run.schedule('afterRender', this, () => {

Also noticed this usage:

return new Promise(resolve => run.later(resolve, 1000));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant