Skip to content

Remove ember-cli-string-helpers addon #1666

New issue

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

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

Already on GitHub? # to your account

Open
barryofguilder opened this issue Apr 3, 2025 · 1 comment · May be fixed by #1672
Open

Remove ember-cli-string-helpers addon #1666

barryofguilder opened this issue Apr 3, 2025 · 1 comment · May be fixed by #1672

Comments

@barryofguilder
Copy link
Contributor

When I upgrade my addon to use @ember/string v4.0, my addon build will throw an error that says:

"Module not found: Error: ember-cli-string-helpers is trying to import the app's @ember/string package, but it seems to be missing"

I noticed that the ember-cli-string-helpers addon was archived in October 2024. I think it would be a good idea to remove this package and replace it with something that is maintained. For now, the way to fix this issue is by locking the version of @ember/string to 3.1.1.

@MichalBryxi
Copy link

For random bypassers:

fix this issue is by locking the version of @ember/string to 3.1.1.

Means:

// package.json
{
  "dependencies": {
    "@ember/string": "^3.1.1",
  },
}

MichalBryxi added a commit to MichalBryxi/ember-cli-addon-docs that referenced this issue Apr 23, 2025
- This pulls @ember/string 3.1.1 into dependent project and that causes a lot of issues
- Since we have `capitalize` in @ember/string, we can just call that in our internal helper
- Also bumped internal version of @ember/string to v4.x

Fixes ember-learn#1666
@MichalBryxi MichalBryxi linked a pull request Apr 23, 2025 that will close this issue
MichalBryxi added a commit to MichalBryxi/ember-cli-addon-docs that referenced this issue Apr 23, 2025
- This pulls @ember/string 3.1.1 into dependent project and that causes a lot of issues
- Since we have `capitalize` in @ember/string, we can just call that in our internal helper
- Also bumped internal version of @ember/string to v4.x

Fixes ember-learn#1666
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants