Getting through the lunch app

Lunch app tutorial:

I have nss installed on Windows and have been working with the Lunch app.
The app logs in although my provider is not what the instructions said.
(I was successful using the url of the server for provider, not my account on the server.
When I first registered for my account, it told me the latter.)

The next problem I faced was not loading and Neither of these files was included in the tutorial code at the point they became needed. I googled and downloaded from github - without knowing what they’re for etc. That at least eliminate the error.

I’m at the part where the app should return my profile.
It fails to fetch the card.

toConsumableArray.js:19 OPTIONS net::ERR_CONNECTION_TIMED_OUT
(anonymous) @ toConsumableArray.js:19
async function (async)
(anonymous) @ toConsumableArray.js:19
fetch @ toConsumableArray.js:19
value @ fetcher.js:809
value @ fetcher.js:684
value @ fetcher.js:669
(anonymous) @ main.js:28
dispatch @ jquery.js:2
y.handle @ jquery.js:2

fetcher.js:857 Fetcher: Non-HTTP fetch error: TypeError: Failed to fetch

fetcher.js:955 Uncaught (in promise) Error: Fetcher: fetch failed: TypeError: Failed to fetch
at e.value (fetcher.js:955)
at fetcher.js:857
value @ fetcher.js:955
(anonymous) @ fetcher.js:857
async function (async)
(anonymous) @ main.js:28
dispatch @ jquery.js:2
y.handle @ jquery.js:2

1 Like

I’m not sure what is causing that. You could try debugging in the browser console and trying to identify the line in Fetcher, breakpoint there and inspect. I can’t help much today but will check back - you might get help on the Solid gitter too. Good luck.

First obvious problem seems to be at fetcher.js:669 where originalUri is not defined.

Hi rogerfgay,

Thanks for sharing your experience, gold.

The lunch app tutorial is now on this link in GitHub along with many other tutorials so that you can make specific suggestions on how to improve it by submitting a pull request.

Your input is very welcome.


Thanks. :slight_smile:

1 Like