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

Unknown feature "default-async-observers" found in config/optional-features.json #261

Closed
ozywuli opened this issue May 4, 2020 · 13 comments · Fixed by #263
Closed

Unknown feature "default-async-observers" found in config/optional-features.json #261

ozywuli opened this issue May 4, 2020 · 13 comments · Fixed by #263

Comments

@ozywuli
Copy link

ozywuli commented May 4, 2020

Unknown feature "default-async-observers" found in config/optional-features.json

An error occurred in the constructor for @ember/optional-features at /Users/<username>/projects/<project_name>/node_modules/semantic-ui-ember/node_modules/@ember/optional-features

An error occurred in the constructor for semantic-ui-ember at /Users/<username>/projects/<project_name>/node_modules/semantic-ui-ember

Seeing this error on a fresh install of ember-cli@3.17. Any ideas why?

@Unkrass
Copy link
Collaborator

Unkrass commented May 12, 2020

I'm having the same issue. I believe that it is not a Semantic-UI-Ember specific issue, but rather Ember-CLI related.

https://guides.emberjs.com/release/configuring-ember/optional-features/#toc_default-async-observers

I opened an issue in the ember-cli repo here

@kulbida
Copy link

kulbida commented Jun 7, 2020

Wondering if you were able to find a solution, yet.

@Unkrass
Copy link
Collaborator

Unkrass commented Jun 7, 2020

@kulbida unfortunately no. I‘m still waiting for a response in the ember-cli repo issue I mentioned in my above comment.

@Unkrass
Copy link
Collaborator

Unkrass commented Jun 11, 2020

I have to backpedal. This really is an issue with semantic-ui-ember. When removing the package from package.json it works just fine...

@Unkrass
Copy link
Collaborator

Unkrass commented Jun 11, 2020

Well, @richard-viney just showed me that it's an issue with the @ember/optional-features dependency inside semantic-ui-ember. So, please someone bump this to 1.3.0.

Until then you can use the following workaround with selective dependency resolutions in package.json (on the same level as dependencies):

"resolutions": {
  "semantic-ui-ember/@ember/optional-features": "^1.3.0"
}

For further information on resolutions check https://classic.yarnpkg.com/en/docs/selective-version-resolutions/

@richard-viney
Copy link

@Unkrass Could you open a PR that fixes this?

@Unkrass
Copy link
Collaborator

Unkrass commented Jun 12, 2020

@richard-viney I have opened a PR

@palyvodaBoi
Copy link

seems it doesn't work..

@FrancoisLetourneau
Copy link

There's a PR that was never merged regarding this issue.

Can we expect a resolution soon?

@richard-viney
Copy link

My workaround above should continue to work fine. There's not much else to be done except wait for a maintainer to bump the package version and/or merge that small PR.

@allthesignals
Copy link

Please bump

@RubenSmit
Copy link

Could this please be resolved? The solution is fine indeed, it only needs to be merged and the version bumped.

@zubeirom
Copy link

zubeirom commented Oct 7, 2020

Well, @richard-viney just showed me that it's an issue with the @ember/optional-features dependency inside semantic-ui-ember. So, please someone bump this to 1.3.0.

Until then you can use the following workaround with selective dependency resolutions in package.json (on the same level as dependencies):

"resolutions": {
  "semantic-ui-ember/@ember/optional-features": "^1.3.0"
}

For further information on resolutions check https://classic.yarnpkg.com/en/docs/selective-version-resolutions/

Thats only working with yarn, for npm please use npm-force-resolutions https://www.npmjs.com/package/npm-force-resolutions

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.

9 participants