aleph.js: aleph dev startup fail on windows
Hello, on the latest version of Aleph, after running aleph init
, i.e. when I then want to run aleph dev
I get uncaught DomException Error telling me that Aleph is unable to set the location
.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 24 (17 by maintainers)
@ije This is from @swork1 on the discord and I can confirm it is the same
I think figured out where part of the problem is coming from. A couple places in
app.ts
we are appendingfile://
at the start of the names of modules which is causing the browser to look inC:\
or something where it won’t be able to find anything because it’s not there. It should be using the whole path so that the browser knows where to look, but @ije why aren’t we instead importing straight from the dev server? I think pointing browsers to look through the file system is a privacy thing that many people don’t want to risk.thanks @shadowtime2000