"handleError" is not exported by "src/hooks.client.ts" #12737
Answered
by
alexander-vidoni
orangecoloured
asked this question in
Q&A
-
Recently I started to get this message when building my app.
Can this be fixed? Seems like an internal
|
Beta Was this translation helpful? Give feedback.
Answered by
alexander-vidoni
Oct 6, 2024
Replies: 1 comment 2 replies
-
To remove this you have to create three files.
Then copy this code to hooks.client.js:
Then copy this code to hooks.js
hooks.server.js can be left empty, but it is also an entrypoint for some use cases, so create it now - some times you will need it. :-) Both of these codes do currently nothing, but can be filled some day with logic when needed. Further information can be found on the Svelte Documentation | Hooks |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
orangecoloured
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To remove this you have to create three files.
Then copy this code to hooks.client.js:
Then copy this code to hooks.js
hooks.server.js can be left empty, but it is also an entrypoint for some use cases, so create it now - some times you will need it. :-)
Both of these codes do currently nothing, but can be filled some day with logic when needed.
Further information can be found on the Svelte Documentati…