Comments (3)
Thanks for reporting! Can you share the full stack trace?
from ember-template-lint.
Yes, for sure.
undefined: Cannot read property 'tag' of undefined ((..)/template):
`TypeError: Cannot read property 'tag' of undefined
at BasePlugin.LogStaticStrings._getBareStringAttribute (/ember-app/node_modules/ember-template-lint/lib/rules/lint-bare-strings.js:134:39)
at BasePlugin.TextNode (/ember-app/node_modules/ember-template-lint/lib/rules/lint-bare-strings.js:111:16)
at invokeVisitorEnter (/ember-app/node_modules/ember-template-lint/lib/rules/base.js:14:15)
at visitor.enter (/ember-app/node_modules/ember-template-lint/lib/rules/base.js:83:11)
at visitNode (/ember-app/node_modules/htmlbars/dist/cjs/htmlbars-syntax/traversal/traverse.js:18:28)
at visitKey (/ember-app/node_modules/htmlbars/dist/cjs/htmlbars-syntax/traversal/traverse.js:55:19)
at visitNode (/ember-app/node_modules/htmlbars/dist/cjs/htmlbars-syntax/traversal/traverse.js:25:7)
at visitArray (/ember-app/node_modules/htmlbars/dist/cjs/htmlbars-syntax/traversal/traverse.js:71:18)
at visitKey (/ember-app/node_modules/htmlbars/dist/cjs/htmlbars-syntax/traversal/traverse.js:53:5)
at visitNode (/ember-app/node_modules/htmlbars/dist/cjs/htmlbars-syntax/traversal/traverse.js:25:7)
at visitArray (/ember-app/node_modules/htmlbars/dist/cjs/htmlbars-syntax/traversal/traverse.js:71:18)
at visitKey (/ember-app/node_modules/htmlbars/dist/cjs/htmlbars-syntax/traversal/traverse.js:53:5)
at visitNode (/ember-app/node_modules/htmlbars/dist/cjs/htmlbars-syntax/traversal/traverse.js:25:7)
at Object.traverse (/ember-app/node_modules/htmlbars/dist/cjs/htmlbars-syntax/traversal/traverse.js:110:3)
at BasePlugin.transform (/ember-app/node_modules/ember-template-lint/lib/rules/base.js:41:17)
at Object.preprocess (/ember-app/node_modules/htmlbars/dist/cjs/htmlbars-syntax/parser.js:45:25)
at compileSpec (/ember-app/node_modules/htmlbars/dist/cjs/htmlbars-compiler/compiler.js:39:35)
at compile (/ember-app/node_modules/htmlbars/dist/cjs/htmlbars-compiler/compiler.js:88:46)
at Linter.verify (/ember-app/node_modules/ember-template-lint/lib/index.js:86:7)
at TemplateLinter.processString (/ember-app/node_modules/ember-cli-template-lint/broccoli-template-linter.js:91:28)
at Promise.then.result.output (/ember-app/node_modules/broccoli-persistent-filter/lib/strategies/persistent.js:41:23)
at lib$rsvp$$internal$$initializePromise (/ember-app/node_modules/rsvp/dist/rsvp.js:541:9)
at new lib$rsvp$promise$$Promise (/ember-app/node_modules/rsvp/dist/rsvp.js:757:9)
at /ember-app/node_modules/broccoli-persistent-filter/lib/strategies/persistent.js:40:18
at lib$rsvp$$internal$$tryCatch (/ember-app/node_modules/rsvp/dist/rsvp.js:493:16)
at lib$rsvp$$internal$$invokeCallback (/ember-app/node_modules/rsvp/dist/rsvp.js:505:17)
at lib$rsvp$$internal$$publish (/ember-app/node_modules/rsvp/dist/rsvp.js:476:11)
at lib$rsvp$asap$$flush (/ember-app/node_modules/rsvp/dist/rsvp.js:1198:9)
at doNTCallback0 (node.js:417:9)
at process._tickCallback (node.js:346:13)
from ember-template-lint.
@rwjblue The problem persists in v0.6.1
<md-autocomplete-wrap id= {{autocompleteWrapperId}} role="listbox" layout="row" class="{{if notFloating "md-whiteframe-z1"}} {{if notHidden "md-menu-showing"}}"></md-autocomplete-wrap>
undefined: Cannot read property 'tag' of undefined (input-language-autocomplete/template):
`TypeError: Cannot read property 'tag' of undefined
at BasePlugin.LogStaticStrings._getBareStringAttribute (ember-app/node_modules/ember-template-lint/lib/rules/lint-bare-strings.js:134:39)
at BasePlugin.TextNode (ember-app/node_modules/ember-template-lint/lib/rules/lint-bare-strings.js:111:16)
at invokeVisitorEnter (ember-app/node_modules/ember-template-lint/lib/rules/base.js:14:15)
at visitor.enter (ember-app/node_modules/ember-template-lint/lib/rules/base.js:83:11)
at visitNode (ember-app/node_modules/htmlbars/dist/cjs/htmlbars-syntax/traversal/traverse.js:18:28)
at visitKey (ember-app/node_modules/htmlbars/dist/cjs/htmlbars-syntax/traversal/traverse.js:55:19)
at visitNode (ember-app/node_modules/htmlbars/dist/cjs/htmlbars-syntax/traversal/traverse.js:25:7)
at visitArray (ember-app/node_modules/htmlbars/dist/cjs/htmlbars-syntax/traversal/traverse.js:71:18)
at visitKey (ember-app/node_modules/htmlbars/dist/cjs/htmlbars-syntax/traversal/traverse.js:53:5)
at visitNode (ember-app/node_modules/htmlbars/dist/cjs/htmlbars-syntax/traversal/traverse.js:25:7)
at visitArray (ember-app/node_modules/htmlbars/dist/cjs/htmlbars-syntax/traversal/traverse.js:71:18)
at visitKey (ember-app/node_modules/htmlbars/dist/cjs/htmlbars-syntax/traversal/traverse.js:53:5)
at visitNode (ember-app/node_modules/htmlbars/dist/cjs/htmlbars-syntax/traversal/traverse.js:25:7)
at Object.traverse (ember-app/node_modules/htmlbars/dist/cjs/htmlbars-syntax/traversal/traverse.js:110:3)
at BasePlugin.transform (ember-app/node_modules/ember-template-lint/lib/rules/base.js:41:17)
at Object.preprocess (ember-app/node_modules/htmlbars/dist/cjs/htmlbars-syntax/parser.js:45:25)
at compileSpec (ember-app/node_modules/htmlbars/dist/cjs/htmlbars-compiler/compiler.js:39:35)
at compile (ember-app/node_modules/htmlbars/dist/cjs/htmlbars-compiler/compiler.js:88:46)
at Linter.verify (ember-app/node_modules/ember-template-lint/lib/index.js:86:7)
at TemplateLinter.processString (ember-app/node_modules/ember-cli-template-lint/broccoli-template-linter.js:91:28)
at Promise.then.result.output (ember-app/node_modules/broccoli-persistent-filter/lib/strategies/persistent.js:41:23)
at initializePromise (ember-app/node_modules/rsvp/dist/rsvp.js:588:5)
at new Promise (ember-app/node_modules/rsvp/dist/rsvp.js:1076:31)
at ember-app/node_modules/broccoli-persistent-filter/lib/strategies/persistent.js:40:18
at tryCatch (ember-app/node_modules/rsvp/dist/rsvp.js:538:12)
at invokeCallback (ember-app/node_modules/rsvp/dist/rsvp.js:553:13)
at publish (ember-app/node_modules/rsvp/dist/rsvp.js:521:7)
at flush (ember-app/node_modules/rsvp/dist/rsvp.js:2373:5)
at doNTCallback0 (node.js:417:9)
at process._tickCallback (node.js:346:13)
from ember-template-lint.
Related Issues (20)
- Incorrect no-redundant-role on img HOT 5
- Improve builtin-component-arguments rule to lint against "radio" inputs HOT 1
- ARIA-compliant disabled link communication raises errors on default config
- allow no-invalid-link-text to be configured for custom link component names
- Drop Recommended Rules for Deprecated Ember 3.x Features HOT 4
- New rule: no-jsx-attributes
- New rule: No chaining `this` to itself HOT 2
- [no-action-on-submit-button] Do not handle `<form method="dialog">`
- Autofix of block-indentation crash
- require-input-label false positive HOT 3
- Revamped gjs/gts support HOT 2
- [gjs]: no-unknown-arguments-for-builtin-components incorrectly assumes an `<Input>` is the ember `<Input>`
- [gjs]: require-input-label incorrectly assumes an `<Input>` is the ember `<Input>`
- Migrate off Jest HOT 3
- no-black-params-for-html-elements failes with dot-separated angle bracket invocation
- Plan v7 Release
- overrides do not apply to gts
- Running `--fix` when enabling `attribute-order` rule hangs process HOT 1
- Bug: autofix of `attribute-order` removes empty string attribute/argument values HOT 1
- Contradictions from no-potential-path-strings and no-unnecessary-curly-strings HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ember-template-lint.