question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`ember install` fails on first attempt, succeeds on second (ember-cli 3.28.0)

See original GitHub issue

Thank you for taking the time to open an issue!

For bug reports please include the following section in your issue details. If you include instructions on how to reproduce the bug or a failing test case it will make it easier for us to track down the issue you’re having.


Output from ember version --verbose && npm --version && yarn --version:

ember-cli: 3.28.0
node: 14.17.5
v8: 8.4.371.23-node.76
uv: 1.41.0
zlib: 1.2.11
brotli: 1.0.9
ares: 1.17.2
modules: 83
nghttp2: 1.42.0
napi: 8
llhttp: 2.1.3
openssl: 1.1.1k
cldr: 39.0
icu: 69.1
tz: 2021a
unicode: 13.0
os: linux x64
6.14.14
1.22.11

Description ember install fails on first attempt, succeeds on second.

Steps to Reproduce

$ ember new --no-welcome --yarn test-app
$ cd test-app
$ ember install ember-composable-helpers

🚧
Yarn: Installed ember-composable-helpers
Install failed. Could not find addon with name: ember-composable-helper

This happens on every Ember add-on tested, including ember-cli-typescript, ember-cli-mirage, ember-cli-string-helpers, ember-composable-helpers, and ember-uuid.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
bertdeblockcommented, Sep 27, 2022
1reaction
mansonacommented, Sep 2, 2021

So I’m seeing this as an issue when running ember install for any addon that has a default blueprint (a blueprint with the same name as the addon). For example when you run ember install empress-blog it throws an error

Install failed. Could not find addon with name: empress-blog

I have done a git bisect and I have confirmed that it is indeed https://github.com/ember-cli/ember-cli/pull/9487 that caused the issue, specifically this commit: https://github.com/ember-cli/ember-cli/pull/9487/commits/22b799b51410546d8e07685c9b621da8c11998d7

Unfortunately this is a massive PR and I’m wondering if we can actually just revert it while we figure out what went wrong? I don’t even know how to test this to make sure that it doesn’t break 🙈

Read more comments on GitHub >

github_iconTop Results From Across the Web

Addons fail to install the first time · Issue #4003 · ember-cli ...
Each time, I attempt to install the addon with ember install, and it fails to find it: $ ember install liquid-fire version: 0.2.3...
Read more >
Help getting ember-cli-mirage working - Testing
The model setup makes a ajax get request to '/status'. A success result sets model.status to loaded, and a failure the status to...
Read more >
Unable to use ember AddOns - General
Unable to use ember AddOns ... it will fail the first time saying it's unable to find the ember-file-upload library, and succeed on...
Read more >
Installing - Basic use - Ember CLI Guides
We'll know installation is successful when npm --version or yarn --version returns the version number. It is recommended to install the most recent...
Read more >
Ember 3.28 and 4.0 Beta Released
Ember CLI 3.28 drops support for Node 10. Node 10 became end of life (it no longer receives security updates) in April 2021....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found