Error message upon building sveltekit project... #11477
Unanswered
JimNayzium
asked this question in
Q&A
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
This is my first real sveltekit project that I have worked on for months on and off doing tutorials, so I am very very green with it all. But it works wonderfully locally and updates my firebase database perfectly and everything... Just trying to now build it so I can upload to my hosting company. I don't want to deploy via vercel, I just want to host the javascript files on my own hosting company.
I feel like something I am doing must be wrong because the app.html file is totally there and smiling at me as it tells me it's not there! hahahah.
Here is my vite.config.js
Here is the terminal error pasted:
The following Vite config options will be overridden by SvelteKit:
vite v4.4.9 building SSR bundle for production...
Unknown input options: allowExternal. Allowed options: acorn, acornInjectPlugins, cache, context, experimentalCacheExpiry, experimentalLogSideEffects, external, inlineDynamicImports, input, logLevel, makeAbsoluteExternalsRelative, manualChunks, maxParallelFileOps, maxParallelFileReads, moduleContext, onLog, onwarn, perf, plugins, preserveEntrySignatures, preserveModules, preserveSymlinks, shimMissingExports, strictDeprecations, treeshake, watch
✓ 20 modules transformed.
✓ built in 582ms
Could not resolve entry module "./app.html".
error during build:
RollupError: Could not resolve entry module "./app.html".
at error (file:///Users/martysimpson19/Documents/Jobs/Svelte-Projects/app-simple-grudgematch/the-iff-repository/node_modules/rollup/dist/es/shared/node-entry.js:2287:30)
at ModuleLoader.loadEntryModule (file:///Users/martysimpson19/Documents/Jobs/Svelte-Projects/app-simple-grudgematch/the-iff-repository/node_modules/rollup/dist/es/shared/node-entry.js:24876:20)
at async Promise.all (index 0)
Beta Was this translation helpful? Give feedback.
All reactions