grygrflzr / are-we-there-yet Goto Github PK
View Code? Open in Web Editor NEWWeb client for Deschtimes group status
Home Page: https://are-we-there-yet.vercel.app/
License: Apache License 2.0
Web client for Deschtimes group status
Home Page: https://are-we-there-yet.vercel.app/
License: Apache License 2.0
This has been an issue for a while so I don't need to explain everything. Long story short the themes aren't working. Someone's hypothesis on this bug is "$page.query.get(..) returns null for prerendered pages" as shown in this sveltejs issue thread . Here's a video demonstrating it by that same person, and here's a video of the issue in action. Not sure how to fix this since I don't know this language of coding but I hope these resources can speed up the process of fixing it.
18:22:47.341 | Error: request in handle has been replaced with event. See https://github.com/sveltejs/kit/pull/3384 for details
18:22:47.341 | at Object.get request [as request] (file:///vercel/path0/.svelte-kit/output/server/app.js:1303:15)
18:22:47.341 | at Object.handle (file:///vercel/path0/.svelte-kit/output/server/app.js:1336:25)
18:22:47.341 | at respond (file:///vercel/path0/.svelte-kit/output/server/app.js:1230:32)
18:22:47.341 | at App.render (file:///vercel/path0/.svelte-kit/output/server/app.js:1404:12)
18:22:47.341 | at visit (file:///vercel/path0/node_modules/@sveltejs/kit/dist/chunks/index5.js:418:30)
18:22:47.341 | at Object.fn (file:///vercel/path0/node_modules/@sveltejs/kit/dist/chunks/index5.js:406:22)
18:22:47.342 | at dequeue (file:///vercel/path0/node_modules/@sveltejs/kit/dist/chunks/index5.js:57:42)
18:22:47.342 | at Object.add (file:///vercel/path0/node_modules/@sveltejs/kit/dist/chunks/index5.js:84:4)
18:22:47.342 | at enqueue (file:///vercel/path0/node_modules/@sveltejs/kit/dist/chunks/index5.js:406:12)
18:22:47.342 | at prerender (file:///vercel/path0/node_modules/@sveltejs/kit/dist/chunks/index5.js:530:6)
18:22:47.352 | Error: request in handle has been replaced with event. See https://github.com/sveltejs/kit/pull/3384 for details
18:22:47.353 | at Object.get request [as request] (file:///vercel/path0/.svelte-kit/output/server/app.js:1303:15)
18:22:47.353 | at Object.handle (file:///vercel/path0/.svelte-kit/output/server/app.js:1336:25)
18:22:47.353 | at respond (file:///vercel/path0/.svelte-kit/output/server/app.js:1230:32)
18:22:47.353 | at App.render (file:///vercel/path0/.svelte-kit/output/server/app.js:1404:12)
18:22:47.353 | at visit (file:///vercel/path0/node_modules/@sveltejs/kit/dist/chunks/index5.js:418:30)
18:22:47.353 | at Object.fn (file:///vercel/path0/node_modules/@sveltejs/kit/dist/chunks/index5.js:406:22)
18:22:47.353 | at dequeue (file:///vercel/path0/node_modules/@sveltejs/kit/dist/chunks/index5.js:57:42)
18:22:47.353 | at file:///vercel/path0/node_modules/@sveltejs/kit/dist/chunks/index5.js:66:7
18:22:47.353 | at processTicksAndRejections (internal/process/task_queues.js:95:5)
18:22:47.354 | at file:///vercel/path0/node_modules/@sveltejs/kit/dist/chunks/index5.js:314:11
18:22:47.354 | at visit (file:///vercel/path0/node_modules/@sveltejs/kit/dist/chunks/index5.js:466:5)
18:22:47.354 | at processTicksAndRejections (internal/process/task_queues.js:95:5)
18:22:47.372 | npm ERR! code ELIFECYCLE
18:22:47.373 | npm ERR! errno 1
18:22:47.378 | npm ERR! [email protected] build:vercel: `svelte-kit build`
18:22:47.378 | npm ERR! Exit status 1
18:22:47.378 | npm ERR!
18:22:47.378 | npm ERR! Failed at the [email protected] build:vercel script.
18:22:47.378 | npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
This was merged yesterday and is causing build issues for are-we-there-yet.
Every time I redeploy everything is up to date.. and that's it. There are no POSITION updates after that redeploy, but, yet the times update just fine. The embed isn't just straight-up failing, it's still working shown by the times but position updates don't seem to work unless you redeploy again.
[[email protected]]# npx svelte-kit start -p 3001
> Listening on http://localhost:3001
TypeError: Cannot read property 'flatMap' of undefined
at allGroupPositions (file:///root/are-we-there-yet/.svelte/build/unoptimized/server/_components/utils.js:41:22)
at groupCorePositions (file:///root/are-we-there-yet/.svelte/build/unoptimized/server/_components/utils.js:73:21)
at Object.prepare (file:///root/are-we-there-yet/.svelte/build/unoptimized/server/_app/setup/index.js:10:22)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at render (file:///root/are-we-there-yet/node_modules/@sveltejs/kit/src/renderer/index.js:22:4)
at file:///root/are-we-there-yet/node_modules/@sveltejs/kit/src/api/start/index.js:33:23
[[email protected]]# node -v
v14.9.0
[[email protected]]# npm -v
7.5.4
The page /config
its work fine, but the main page /
isn't and also the /?theme=light&accent=green&size=normal&lang=en
isnt.
On the page it says
"Connection error
Internal server error, contact site operators"
This is the latest error.
37 packages are looking for funding
run `npm fund` for details
> [email protected] build:vercel /vercel/path0
> svelte-kit build
warn - 'coolGray' has been renamed to 'gray'.
warn - Please update your color palette to eliminate this warning.
> config.kit.target is no longer required, and should be removed
at file:///vercel/path0/node_modules/@sveltejs/kit/dist/cli.js:877:10
at file:///vercel/path0/node_modules/@sveltejs/kit/dist/cli.js:769:43
at file:///vercel/path0/node_modules/@sveltejs/kit/dist/cli.js:755:18
at file:///vercel/path0/node_modules/@sveltejs/kit/dist/cli.js:755:18
at validate_config (file:///vercel/path0/node_modules/@sveltejs/kit/dist/cli.js:939:9)
at load_config (file:///vercel/path0/node_modules/@sveltejs/kit/dist/cli.js:916:20)
at async file:///vercel/path0/node_modules/@sveltejs/kit/dist/cli.js:1051:19
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build:vercel: `svelte-kit build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build:vercel script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /vercel/.npm/_logs/2022-02-27T21_47_58_749Z-debug.log
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.