Corona HTML5 Node Kit
_ Build Corona HTML5 plugins using NodeJS, NPM, and modern JavaScript. _
https://www.youtube.com/watch?v=fvnAW0F3a6s
Docs: https://develephant.github.io/corona-html5-node-kit-docs/
-dev
Corona HTML5 Node Kit
_ Build Corona HTML5 plugins using NodeJS, NPM, and modern JavaScript. _
https://www.youtube.com/watch?v=fvnAW0F3a6s
Docs: https://develephant.github.io/corona-html5-node-kit-docs/
-dev
This is really cool -dev!
Rob
great work!
I test it. It can not compiled nodejs library, like fs module, require(“fs”) return empty object after compile.
Hi,
In general you can’t use IO type modules in the browser. You could try https://www.npmjs.com/package/browserify-fs
What are you trying to accomplish?
-dev
Sorry, I am the new in html5.
I want to make a zip plugin. So I search the npm and find the “file-zip” module. But it can not work.
Hi,
Unfortunately you can’t use any modules that access the filesystem from the browser. It’s a browser security limitation, and has nothing to do with node modules in particular.
-dev
Hi,
Corona HTML5 Node Kit has been updated with a couple new commands:
coronakit make
This convenience command will run a compile command followed by a build command.
coronakit pack
Pack the demo project and plugin files into .zip archives. These will be placed in the root directory.
You can update to the latest version (0.5.0) by running:
npm update -g @develephant/corona-html5-node-kit
Docs: https://develephant.github.io/corona-html5-node-kit-docs/cli/
-dev
This is really cool -dev!
Rob
great work!
I test it. It can not compiled nodejs library, like fs module, require(“fs”) return empty object after compile.
Hi,
In general you can’t use IO type modules in the browser. You could try https://www.npmjs.com/package/browserify-fs
What are you trying to accomplish?
-dev
Sorry, I am the new in html5.
I want to make a zip plugin. So I search the npm and find the “file-zip” module. But it can not work.
Hi,
Unfortunately you can’t use any modules that access the filesystem from the browser. It’s a browser security limitation, and has nothing to do with node modules in particular.
-dev
Hi,
Corona HTML5 Node Kit has been updated with a couple new commands:
coronakit make
This convenience command will run a compile command followed by a build command.
coronakit pack
Pack the demo project and plugin files into .zip archives. These will be placed in the root directory.
You can update to the latest version (0.5.0) by running:
npm update -g @develephant/corona-html5-node-kit
Docs: https://develephant.github.io/corona-html5-node-kit-docs/cli/
-dev