You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not really an issue with SvelteKit-electron so starting a discussion.
Does anyone have a good solution for a data store that can be compiled and shipped with an electron app that uses SvelteKit? I have one in a Quasar project that is based on NeDB. No problems there. But I cannot for the life of me wire up NeDB to work with sveltekit-electron.
By the way, this project is not for profit.
Common error: [vite] Error when evaluating SSR module /db.js TypeError: Cannot create proxy with a non-object as target or handler
Does the svelte.config.js file need to be changed somehow?
I see that the svelte.config file uses the static adapter. Could that be the issue? I'm grasping at straws here. Searched and asked on Discord but nothing is working for me. Admittedly, I have very little experience with Svelte-kit.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Not really an issue with SvelteKit-electron so starting a discussion.
Does anyone have a good solution for a data store that can be compiled and shipped with an electron app that uses SvelteKit? I have one in a Quasar project that is based on NeDB. No problems there. But I cannot for the life of me wire up NeDB to work with sveltekit-electron.
By the way, this project is not for profit.
Common error:
[vite] Error when evaluating SSR module /db.js
TypeError: Cannot create proxy with a non-object as target or handler
Does the svelte.config.js file need to be changed somehow?
I see that the svelte.config file uses the static adapter. Could that be the issue? I'm grasping at straws here. Searched and asked on Discord but nothing is working for me. Admittedly, I have very little experience with Svelte-kit.
db.js
Attempting to connect in handler:
I have Tailwind working fine. I cannot seem to wire up a data store. NeDB is nice because it is easy to query etc. 🤷♂️
Any assistance or direction to resources would be most appreciated!
Beta Was this translation helpful? Give feedback.
All reactions