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

Installing ember-classic-decorator "breaks" the @ember/string deprecation warning #107

Open
boris-petrov opened this issue Feb 7, 2023 · 1 comment

Comments

@boris-petrov
Copy link
Contributor

boris-petrov commented Feb 7, 2023

ember new classic-decorator-bug
cd classic-decorator-bug
ember install ember-classic-decorator
ember serve

You'll see a bunch of Importing from @ember/string without having the @ember/string package in your project is deprecated. warnings in the console. They shouldn't be there as a brand-new Ember app doesn't have them. Remove ember-classic-decorator and run the app to see.

@kategengler
Copy link
Member

This is the same issue as in emberjs/ember.js#20377

There is currently no way to always get the correct (external) version of @ember/string and resolve the deprecation. That apps get the incorrect version with the install of this addon is coincidental, I believe.

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

No branches or pull requests

2 participants