You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 27, 2022. It is now read-only.
When using a fork of the demo app updated to use solid-auth-fetcher instead of solid-auth-client (available here ), the demo app only works if webpack isn't configured to exclude @solid/query-ldflex. Otherwise, the crypto object isn't resolved properly (?), and an error a.createSign is not a function is thrown.
The confusing part is that the error only manifests when logged in.
Create an account on https://dev.inrupt.net (there is a certificate issue with the created domain, it should be resolved soon)
Log in to this account from http://localhost:8080
The error will appear where the user name should be displayed, and if you refresh the page, the same error will be shown instead of Ruben's name and home page. If you log out, and refresh again, the error disappears. Screencast.
Stop the app
In webpack/webpack.common.config.js, comment out line 24 ('@solid/query-ldflex': ['solid', 'data'],)
npm run start
Log in again
Now, the username is properly displayed. There might be a network error on Ruben's profile, but that's an unrelated, known issue.
Version information
Node.js Version: v12.12.0
npm Version: 6.14.4
OS: Ubuntu 18.04-
Browser: Firefox 77
Additional information
The @solid/query-ldflex version that we depend on is also a fork, managed as a git dependency.
When using a fork of the demo app updated to use
solid-auth-fetcherinstead ofsolid-auth-client(available here ), the demo app only works ifwebpackisn't configured to exclude@solid/query-ldflex. Otherwise, thecryptoobject isn't resolved properly (?), and an errora.createSign is not a functionis thrown.The confusing part is that the error only manifests when logged in.
How to reproduce
Clone https://github.com/inrupt/react-components/tree/feature/experimental-auth-upgrade
npm cinpm run startGo to
http://localhost:8080There should be no problem yet
Create an account on
https://dev.inrupt.net(there is a certificate issue with the created domain, it should be resolved soon)Log in to this account from
http://localhost:8080The error will appear where the user name should be displayed, and if you refresh the page, the same error will be shown instead of Ruben's name and home page. If you log out, and refresh again, the error disappears. Screencast.
Stop the app
In
webpack/webpack.common.config.js, comment out line 24 ('@solid/query-ldflex': ['solid', 'data'],)npm run startLog in again
Now, the username is properly displayed. There might be a network error on Ruben's profile, but that's an unrelated, known issue.
Version information
Additional information
@solid/query-ldflexversion that we depend on is also a fork, managed as a git dependency.