Add "main": "index.html" to package.json (as nw.js requires it)
Execute "/path/to/nwjs/nw ."
The errors are:
TypeError: undefined is not a function
at file:///home/fmjr/rst/the.js:7:17076
AssertionError: path must be a string
at Module.require (module.js:355:3)
at require (module.js:375:17)
at window.require (:4:17)
at file:///home/fmjr/rst/index.html:19:7
Either in devel or in deploy mode. Everything works in Chrome and Firefox (opening index.html or 127.0.0.1:4000) and in nw.js with "amber serve".
nw.js version: 0.12.0-alpha3 and node-webkit 0.11.6
amber version: latest
Originally at 2015-02-24T20:05:14Z by Ivan Sukin
Steps to reproduce (I tried on Linux and Windows)
1. Execute "amber init" in some directory
2. Add "main": "index.html" to package.json (as nw.js requires it)
3. Execute "/path/to/nwjs/nw ."
The errors are:
* TypeError: undefined is not a function
at file:///home/fmjr/rst/the.js:7:17076
* AssertionError: path must be a string
at Module.require (module.js:355:3)
at require (module.js:375:17)
at window.require (<anonymous>:4:17)
at file:///home/fmjr/rst/index.html:19:7
Either in devel or in deploy mode. Everything works in Chrome and Firefox (opening index.html or 127.0.0.1:4000) and in nw.js with "amber serve".
nw.js version: 0.12.0-alpha3 and node-webkit 0.11.6
amber version: latest
<bountysource-plugin>
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/8880278-error-running-amber-in-nw-js?utm_campaign=plugin&utm_content=tracker%2F79201&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F79201&utm_medium=issues&utm_source=github).
</bountysource-plugin>
Originally at 2015-02-24T20:05:14Z by Ivan Sukin
Steps to reproduce (I tried on Linux and Windows)
The errors are:
Either in devel or in deploy mode. Everything works in Chrome and Firefox (opening index.html or 127.0.0.1:4000) and in nw.js with "amber serve".
nw.js version: 0.12.0-alpha3 and node-webkit 0.11.6 amber version: latest
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Stalled. Maybe irrelevant. Closing.