I'm stuck on the first step of the "Getting Started" guide.
1. I've downloaded helloworld.zip to my local computer, I think.
2. I open the filer.app.js by clicking the link on the webpage. This open a 90s.dev instance right on the page.
3. Then i'm supposed to mount helloworld/app as app and click it, so i click the mount button, it asks for the drive name, hi put in helloworld/app and click mount but nothing happens.
I must be missing how you're supposed to get helloworld.zip into the 90s.dev instance... how do you upload it into the instance?
You're likely using Firefox, right? This feature relies on showDirectoryPicker which Firefox doesn't support. You'd have to use Chrome for the getting started guide.
Also, the drive name shouldn't have a path. Name it something like "foo". I'll udpate the guide to reflect this. Then foo/helloworld.app.js will point to /some/local/path/helloworld.app.js, as long as you mounted "foo" to point to the directory at "/some/local/path"
I'm in actually in Chrome. I get the following error when running 90s.dev on that getting started page:
process.ts:159 SecurityError: Failed to execute 'showDirectoryPicker' on 'Window': Cross origin sub frames aren't allowed to show a file picker.
at askdir (process.ts:154:37)
at port.onmessage (rpc.ts:103:10)
askdir @ process.ts:159
await in askdir
port.onmessage @ rpc.ts:103
filer.app.js:129 Failed to get folder: error, cancelled, or using Firefox.
That's a new error, and it's because I changed some internals[1]. For now, you'll have to open the link[2] in a new tab and do the steps there.
[1] For about a week (and at the time of posting) the app was on 90s.dev/os/ to avoid this exact CORS error. But I got tired of how it forced me to name my github repos or pay for my own server, so I moved it back to os.90s.dev, which has the one downside of the error you ran into.
1. I've downloaded helloworld.zip to my local computer, I think. 2. I open the filer.app.js by clicking the link on the webpage. This open a 90s.dev instance right on the page. 3. Then i'm supposed to mount helloworld/app as app and click it, so i click the mount button, it asks for the drive name, hi put in helloworld/app and click mount but nothing happens.
I must be missing how you're supposed to get helloworld.zip into the 90s.dev instance... how do you upload it into the instance?