TypeError with v9.0.0
See original GitHub issueI’m not able to successfully import the v9.0.0 version into a project like I was with v8.x.
Using CodeSandbox, here’s some example code with v8.1.1:
Here’s that same code with v9.0.0
When rendering in the browser, I’m consistently getting the error:
Cannot read property 'smcat.template.hbs' of undefined
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Cannot read property 'apps' of undefined firebase - Stack ...
javascript - Firebase Modular SDK V9. 0.0+ TypeError: Cannot read property 'apps' of undefined firebase - Stack Overflow. Collectives™ on Stack Overflow – ......
Read more >Grafana v9.0.0-beta2: TypeError: Object(...) is not a function
Seems like having a Background Color configured crashes the dashboard/panel with the following error: TypeError: Object(.
Read more >Node v9.0.0 (Current)
Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
Read more >Mocha documentation — DevDocs
Mocha 9.0.2 API documentation with instant search, offline support, keyboard shortcuts, mobile version, and more.
Read more >Firebase JavaScript SDK Release Notes - Google
Fixed a bug that caused Uncaught TypeError: e.auth. ... Fixed an issue where the number value -0.0 would lose its sign when stored...
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 FreeTop 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
Top GitHub Comments
It’s all based on PR #135 – we maintain our internal state in JSON objects and I wrote a map/reduce function that converts from our JSON format to yours and adds classes to all of the resulting objects. All the background and edge styling is implemented using regular CSS. The code which adds in the icons and adds onclick/onmouseover events just looks for items by className. We were originally using state-machine-cat to visualize existing workflows, but now we have a fully interactive editor for editing them as well. We use this as part of a larger application which tracks how well we adhere to our standard processes.
Thanks for the confirmation @mwaddell
state-machine-cat@9.0.1
- which includes the fix - has just been published.(And nice to hear of a real-life use case!)