-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
TypeError: info is null #3214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@Conduitry what where the steps you took? at first I thought it maybe was a firefox-only issue, but I can reproduce on chrome: |
Then I opened http://localhost:8080/#/ in my browser, then I edited the URL to http://localhost:8080/#/blahblahblah. It appeared to correctly navigate to the '404 not found' page and there was nothing about |
You were hitting #3113 (you have Svelte at v3.6.5 in your Upgrading to v3.6.6+ fixes it, and that's probably why @Conduitry couldn't reproduce it: git clone https://git.homework-manager.ml/homework-manager/hnrd-web
cd hnrd-web
npm install
npm run dev
# http://localhost:8080/#/
# chose route {regExp: /^\/$/, component: ƒ}
# http://localhost:8080/#/not-found-route
# chose route {regExp: /.+/, component: ƒ, backCb: ƒ}
npm install -D [email protected]
npm run dev
# http://localhost:8080/#/
# chose route {regExp: /^\/$/, component: ƒ}
# http://localhost:8080/#/not-found-route
# chose route {regExp: /.+/, component: ƒ, backCb: ƒ}
# Uncaught (in promise) TypeError: Cannot read property 'block' of null @ Index.svelte:10 |
Oh. that's weird, I bootstrapped about 3 days ago. Maybe the webpack template is outdated? |
https://www.npmjs.com/package/svelte/v/3.6.6 3.6.6 was released 2 days ago. |
Well, (p)npm upgrade worked. Thanks a lot |
I posted this on the discord but no one seemed to answer me
I seem to be having an issue with
{#await}
basically when the component gets destroyed or something, the destroying function gets called twice but on the second time it can't destroy it bcuz it already got destroyed
or at least that's what i figured out
I wasn't able to set it up on the repl for some reason :(
-> https://git.homework-manager.ml/homework-manager/hnrd-web
go to localhost:8080/#/, then
#/whateveerr
. check terminalThe text was updated successfully, but these errors were encountered: