Resolve issues shown when running the build process for Svelte app.