Closed baticodes closed 6 years ago
Thanks for the information. I'll add it to the README soon!
I've added your instructions to the README. Thank you!!!
Glad to have been helpful :)
not sure if its related to nodejs or not but, my app shows a wheel spinning on macos
I did remove window specific code with just node
as I have installed node in my machine
$ node --version
v9.3.0
$ npm --version
5.6.0
--inspect
not helpful either
$ node --inspect start-electron.js
Debugger listening on ws://127.0.0.1:9229/b0298f3b-4c24-4004-9044-f0e47062c993
For help see https://nodejs.org/en/docs/inspector
Here is my cloned code -
package.json https://github.com/duwamish-os/cheech-marin.js/blob/master/package.json#L12
and index.html - https://github.com/duwamish-os/cheech-marin.js/blob/master/index.html#L69
Press the F1 key to see the server log while the spinner is spinning to see if there is any useful error message. Basically what is happening is that the server is not completing it's start up so when the code polls to see if the express app is available it's failing so always spinning.
I would say that your issue could be related to that line in your package.json:
"start": "node start-electron.js"
Maybe with the previous line I think you are calling to your global node instance instead of your local copy? Try this instead:
"start": "./node start-electron.js"
The following steps worked for me:
to
to