this can be fixed quite easily, just run a small static server to serve your content
It might be an easy fix for experimentation and Aurelia and Electron are great but you should not ship a production Electron app with a built in web server simply because aurelia-script doesn't work on file://.
Most of time you'll be lucky and port 45789 will be available on the machine but Aurelia works perfectly well with Electron without exposing a server on localhost.
Yes, this was intended to test aurelia-script within electron and any potential gotchas (like the file:// part). I just wanted to share my experience about using it
I don't intend anyone to ship aurelia-script to production and I'm well aware of some aurelia + electron solutions
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
It might be an easy fix for experimentation and Aurelia and Electron are great but you should not ship a production Electron app with a built in web server simply because
aurelia-script
doesn't work onfile://
.Most of time you'll be lucky and port 45789 will be available on the machine but Aurelia works perfectly well with Electron without exposing a server on localhost.
Yes, this was intended to test aurelia-script within electron and any potential gotchas (like the
file://
part). I just wanted to share my experience about using itI don't intend anyone to ship aurelia-script to production and I'm well aware of some aurelia + electron solutions