inrupt / inrupt/solid-client-authn-js

bundle is a 404 when running `npm run dev-script`

Open
#172 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
77
Forks
49
Avg merge
18h 20m
Merged PRs (30d)
32

Description

npm run dev-script starts a web server on port 3001, but the browser then says solid-auth-fetcher-bundle.js is a 404.
Running npm run build works around that, but then the error in the browser console is:

solid-auth-fetcher.bundle.js:144 Uncaught (in promise) Error: schema is invalid:
 should have required property '.oidcIssuer',
 should have required property '.webId',
 should match exactly one schema in oneOf
    at Object.e.default (solid-auth-fetcher.bundle.js:144)
    at f.loginHelper (solid-auth-fetcher.bundle.js:205)
    at f.login (solid-auth-fetcher.bundle.js:205)
    at Object.e.login (solid-auth-fetcher.bundle.js:190)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the npm configuration behind npm run dev-script and npm run build, then reproduce the missing solid-auth-fetcher-bundle.js in the browser. Trace the login path associated with the reported schema error. Done means the development script serves the bundle and the reported login error no longer occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
authentication, build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.