Doesn't work on nodejs
See original GitHub issue> require('matter-js').Engine.create()
TypeError: Cannot read property 'nodeType' of undefined
at Object.Common.isElement (/root/server/node_modules/matter-js/build/matter.js:4449:23)
at Object.Engine.create (/root/server/node_modules/matter-js/build/matter.js:4846:26)
at repl:1:29
at ContextifyScript.Script.runInThisContext (vm.js:50:33)
at REPLServer.defaultEval (repl.js:240:29)
at bound (domain.js:301:14)
at REPLServer.runBound [as eval] (domain.js:314:12)
at REPLServer.onLine (repl.js:441:10)
at emitOne (events.js:120:20)
at REPLServer.emit (events.js:210:7)
>
root@7d42879a986e:~/server# cat node_modules/matter-js/package.json | grep version
"gulp-tag-version": "^1.3.0",
"version": "0.14.0"
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:5 (1 by maintainers)
Top Results From Across the Web
6 reasons your Node.js apps are failing - IBM Developer
Common Node.js deployment problems · Uncaught exception or error event in JavaScript code · Excessive memory usage, which may result in an out-of-memory...
Read more >Node js doesn't work in a terminal which node did not installed ...
Hi I tried to install node js from this link: https://github.com/nodejs/help/wiki/Installation So I installed it and it was successful but ...
Read more >Node.js is not working? - Stack Overflow
It looks like your Node.js installation is not working. To test it, either type nodejs or nodejs --version and see if it provides...
Read more >Top 10 Most Common Node.js Developer Mistakes - Toptal
However, like any other platform, Node.js is vulnerable to developer problems and issues. Some of these mistakes degrade performance, while others make Node.js...
Read more >Troubleshoot your Node.js installation
Solution. Some common problems users encounter after installing the New Relic Node.js agent include: Not seeing data.
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
Thanks @liabru! Fix works for me.
Ugh I thought I’d solved that! Looks it needs to handle undefined.