Things That Don’t Work
I am fairly new to programming. I was trying to do a ‘quick start’ tutorial for the Electron Framework but received error messages when trying to run
npm start. I have also noticed when learning express that I can’t just create a server listening on a port and then navigate to that port on localhost.
What Actually Works
Instead I have to use
process.env.PORT then instead off navigating to
localhost:<port> I can view my server output on
In the case of both Electron and Express how come things work differently on Cloud 9. I am a newb but I realize documentation is written from the perspective of a user executing the commands locally and Cloud 9 is well, in the cloud. Is the documentation somewhere that I can read to understand what cloud 9 actually is in a little more detail?
So like I said i figured out how to make express work, but with Electron I am not sure. It is supposed to work with your native system and essentially creates a chromium browser window with whatever html, css, js you want to put in it…at least thats my newb understanding of it. How would I get Electron to work from Cloud 9? And why doesn’t it work out of the box like it presumably would if everything was done locally.
- I only own a chromebook so I don’t really have any other options at the moment for accessing Electron…at least that I know about.