I wanted to try out SvelteKit on MacOs 11.5.2. Using node v16.13.1, npm 8.1.2.
I have installed the SvelteKit as per original guidance:
npm init svelte@next my-app
cd my-app
npm install
npm run dev -- --open
Then, when localhost:3000 opens, I get this error:
**Error: request.query has been replaced by request.url.searchParams**
at Object.get (file:///Web/Svelte_30-12-21/my-app/node_modules/@sveltejs/kit/dist/ssr.js:1753:12)
at Object.handle (/Web/Svelte_30-12-21/my-app/src/hooks.ts:10:30)
at respond (file:///Web/Svelte_30-12-21/my-app/node_modules/@sveltejs/kit/dist/ssr.js:1764:30)
at svelteKitMiddleware (file:///Web/Svelte_30-12-21/my-app/node_modules/@sveltejs/kit/dist/chunks/index.js:4577:28)
What could be the problem?
