-
Notifications
You must be signed in to change notification settings - Fork 250
Description
Describe the bug
Container did not start at all with the following error message:
Error: Rename your server hook file from src/hooks.js to src/hooks.server.js (because there's also client hooks now). See the PR for more information: sveltejs/kit#6586
at eval (file:///home/projects/sveltejs-kit-template-default-umtnmq/node_modules/@sveltejs/kit/src/exports/vite/dev/index.js:341:13)
at call (file:///home/projects/sveltejs-kit-template-default-umtnmq/node_modules/vite/dist/node/chunks/dep-665b0112.js:48376:7)
at next (file:///home/projects/sveltejs-kit-template-default-umtnmq/node_modules/vite/dist/node/chunks/dep-665b0112.js:48320:5)
at viteServeRawFsMiddleware (file:///home/projects/sveltejs-kit-template-default-umtnmq/node_modules/vite/dist/node/chunks/dep-665b0112.js:37123:13)
at call (file:///home/projects/sveltejs-kit-template-default-umtnmq/node_modules/vite/dist/node/chunks/dep-665b0112.js:48376:7)
at next (file:///home/projects/sveltejs-kit-template-default-umtnmq/node_modules/vite/dist/node/chunks/dep-665b0112.js:48320:5)
at viteTransformMiddleware (file:///home/projects/sveltejs-kit-template-default-umtnmq/node_modules/vite/dist/node/chunks/dep-665b0112.js:60318:20)
at call (file:///home/projects/sveltejs-kit-template-default-umtnmq/node_modules/vite/dist/node/chunks/dep-665b0112.js:48376:7)
at next (file:///home/projects/sveltejs-kit-template-default-umtnmq/node_modules/vite/dist/node/chunks/dep-665b0112.js:48320:5)
at next (file:///home/projects/sveltejs-kit-template-default-umtnmq/node_modules/vite/dist/node/chunks/dep-665b0112.js:48298:14)
Link to the blitz that caused the error
https://stackblitz.com/edit/sveltejs-kit-template-default-s955oj?file=README.md&terminal=dev
Steps to reproduce
- Go to Dashboard
- Create a new Project in the Fullstack tab
- Click on Svelte
Expected behavior
A ready to start Svelte project should be available
Parity with Local
- I have run the project in my local machine and I could not reproduce the issue.
Screenshots
No response
Platform
Browser name = Firefox
Full version = 91.0
Major version = 91
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0
performance.memory = undefined
Hash = a1e315a41ec6498e2c2758b32fbf437db67b244b
Additional context
No response