Getting these Errors on new Ember Octane App
See original GitHub issuenode_modules/@glimmer/runtime/dist/types/lib/component/curried-component.d.ts:6:87 - error TS2677: A type predicate's type must be assignable to its parameter's type.
Type 'CurriedComponentDefinition' is not assignable to type 'Maybe<Dict<unknown>>'.
Type 'CurriedComponentDefinition' is not assignable to type 'Dict<unknown>'.
Index signature is missing in type 'CurriedComponentDefinition'.
6 export declare function isComponentDefinition(definition: Maybe<Dict>): definition is CurriedComponentDefinition;
~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/@glimmer/util/dist/types/lib/destroy.d.ts:3:69 - error TS2677: A type predicate's type must be assignable to its parameter's type.
Type 'SymbolDestroyable' is not assignable to type 'Maybe<Dict<unknown>>'.
Type 'SymbolDestroyable' is not assignable to type 'Dict<unknown>'.
Index signature is missing in type 'SymbolDestroyable'.
3 export declare function isDestroyable(value: Maybe<Dict>): value is SymbolDestroyable;
I am using glimmer
components which may be related.
Here is my package.json
{
"name": "ui",
"version": "0.0.0",
"private": true,
"description": "Small description for ui goes here",
"repository": "",
"license": "MIT",
"author": "",
"directories": {
"doc": "doc",
"test": "tests"
},
"scripts": {
"build": "ember build",
"lint:hbs": "ember-template-lint .",
"lint:js": "eslint .",
"start": "ember serve",
"test": "ember test"
},
"devDependencies": {
"@ember/optional-features": "^0.7.0",
"@glimmer/component": "^0.14.0-alpha.3",
"@types/ember__test-helpers": "^0.7.8",
"@types/ember-data": "^3.1.7",
"@types/ember-qunit": "^3.4.6",
"@types/ember-test-helpers": "^1.0.5",
"@types/ember-testing-helpers": "^0.0.3",
"@types/ember": "^3.1.0",
"@types/qunit": "^2.9.0",
"@types/rsvp": "^4.0.2",
"babel-eslint": "^8.0.2",
"broccoli-asset-rev": "^3.0.0",
"ember-auto-import": "^1.2.20",
"ember-cli-app-version": "^3.2.0",
"ember-cli-babel": "^7.7.0",
"ember-cli-dependency-checker": "^3.0.0",
"ember-cli-eslint": "^5.0.0",
"ember-cli-htmlbars-inline-precompile": "^2.0.0",
"ember-cli-htmlbars": "^3.0.0",
"ember-cli-inject-live-reload": "^2.0.1",
"ember-cli-sri": "^2.1.1",
"ember-cli-tailwind": "^0.7.0",
"ember-cli-template-lint": "^1.0.0-beta.1",
"ember-cli-typescript-blueprints": "^2.0.0",
"ember-cli-typescript": "^2.0.1",
"ember-cli-uglify": "^2.1.0",
"ember-cli": "github:ember-cli/ember-cli#316b6030004891cfec171742dcba7966067ac860",
"ember-data": "^3.10.0",
"ember-export-application-global": "^2.0.0",
"ember-intl": "^3.5.2",
"ember-load-initializers": "^2.0.0",
"ember-maybe-import-regenerator": "^0.1.6",
"ember-qunit": "^4.1.2",
"ember-resolver": "^5.1.3",
"ember-route-action-helper": "^2.0.7",
"ember-simple-auth-auth0": "^5.0.0-beta.0",
"ember-simple-auth": "^1.8.2",
"ember-source": "https://s3.amazonaws.com/builds.emberjs.com/canary/shas/a9f2c52c7049da8ad1301493e89d194a6e5f083c.tgz",
"eslint-plugin-ember": "^6.0.1",
"eslint-plugin-node": "^8.0.1",
"loader.js": "^4.7.0",
"qunit-dom": "^0.8.0",
"typescript": "^3.5.1"
},
"engines": {
"node": "6.* || 8.* || >= 10.*"
}
}
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Ember Octane How to Get Error Messages to be Displayed?
New components solve this by placing all arguments in an object available as the args property. When referencing an argument to a component...
Read more >The most common Ember.js Octane mistakes and how to ...
A month ago, I asked some Ember.js redditors about the most common mistakes they and their teams made while writing Ember apps using...
Read more >eslint errors in fresh app generated with Octane blueprint
I generated a new app using ember new octane-app -b @ember/octane-app-blueprint --yarn --no-welcome, and the freshly-generated app has three ...
Read more >Ember Octane generate component -gc errors 3.17.1
I'm trying to generate new octane components js and hbs. I do this: ember g component foo -gc. It works in terms of...
Read more >The 8 Most Common Mistakes That Ember.js Developers Make
Routes in Ember.js set up properties on controllers that serve as the context for the corresponding template. These controllers are singletons and consequently ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Just wanted to say that I am running into this as well 😃 Thanks for the awesome work everyone!
Wonderful! Thank you for following up!