logto
logto copied to clipboard
bug: Your Vanilla JS Instructions Do Not Work
I'm following your instructions on this page in order to setup a Vanilla JS installation:
My suspicion is that you haven't gotten around to testing this particular part of your onboarding flow with actual users yet, because these instructions aren't sufficient to produce anything useful.
I would expect to see a working test project. I tried to download the files in this folder: https://github.com/logto-io/js/tree/HEAD/packages/browser-sample
And ran an npm install
(which after investigation doesn't work with npm, but rather only pnpm or yarn, despite the instructions in the screenshot stating otherwise).
However, the project doesn't build (npm run build
), it just reports various syntax errors that are in the downloaded code.
I could continue with investigation here, and I'm happy to provide diagnostic information, but before I invest hours in this, I need to know whether there's even any interest among the maintainers to fix this.
Its worth noting that for vanilla JS development, I would expect to be given a single .js file to point to in a