Node.js Tracking bug
See original GitHub issueMeta bug for tracking issues with running Blockly under Node.js.
Known issues:
-
Blockly.utils.xml.createElement
&Blockly.utils.xml.createTextNode
-
Blockly.utils.xml.domToText
-
Blockly.utils.xml.textToDomDocument
The initial goal is to be able to load a set of blocks from XML onto a headless workspace, and generate code.
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (7 by maintainers)
Top Results From Across the Web
Issues · nodejs/node - GitHub
Expose a faster way to create objects with properties for Node-API feature request Issues that request new features to be added to Node.js....
Read more >Node Error Logging - TrackJS
Simple error tracking and debugging for your NodeJS website and API with TrackJS. We automatically log and track bugs in your NodeJS code...
Read more >Monitor & Detect Errors in Node.js Applications - Bugsnag
Error monitoring and reporting with Bugsnag is the most direct way to improve Node.js application quality for your users. Learn more today.
Read more >analytics and bug tracking for Node.js apps - Nucleus.sh
Cross-platform and real-time with bug reports and offline tracking. As simple as including the Node module. import Nucleus from "nucleus-analytics" Nucleus.
Read more >NodeJS Project On Bug Tracking System - FreeProjectz
The main objective of the NodeJS Project On Bug Tracking System is to manage the details of Bug Types, Managers,Bugs, Testers, Developers.
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
Yes, we still need an XML serializer polyfill for
Blockly.utils.xml.domToText
. I think we can usejsdom
for that.Blockly.utils.xml.createElement
andBlockly.utils.xml.createTextNode
are taken care of by usingjsdom
to polyfill adocument
element. Ifjsdom
doesn’t do it, we should consider just relying on https://www.npmjs.com/package/dom-parser and https://www.npmjs.com/package/xmlserializer for dom parsing and xml serialization.Hey @DaveWelling. We have also since tackled this issue. You can read more about the release here: https://groups.google.com/forum/#!topic/blockly/HZuw6KZWqYY
We are officially publishing our releases to NPM, wrapping each of our compressed files in a UMD module. We chose UMD to support both AMD and CommonJS ecosystems.
This should work out the box for Node, you can find it on NPM here: https://www.npmjs.com/package/blockly
and there’s a sample for using it with Node here: https://github.com/google/blockly-samples/tree/master/blockly-node