Replies: 1 comment
-
Am I at the wrong place or are my questions too basic or too advanced? Perhaps you need the reason why I'm asking the original questions: But it looks like I have to mock |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Reproduction
import { browser } from '$app/environment'
Error: Cannot find package '__sveltekit' imported from \node_modules@sveltejs\kit\src\runtime\app\environment.js
"Dirty" fix
In vite.config.ts setting the following option:
test.server.deps.inline = ['@sveltejs/kit']
Questions
Beta Was this translation helpful? Give feedback.
All reactions