Closed devcsrj closed 10 months ago
After purging directories (node_modules
, package-lock.json
, build
) and so on, I can't seem to reproduce this anymore. In the meantime I'll close this issue.
P.S.: If someone can guide me on how to print verbose logs, this will still be helpful 🙏
[23:58:44] Running build in Washington, D.C., USA (East) – iad1
[23:58:44] Cloning github.com/bartvdbraak/hellob.art (Branch: feat/dynamic-og-images, Commit: 1be9ad4)
[23:58:45] Cloning completed: 588.445ms
[23:58:49] Restored build cache
[23:58:49] Running "vercel build"
[23:58:50] Vercel CLI 33.1.0
[23:58:50] Detected `pnpm-lock.yaml` version 6 generated by pnpm 8
[23:58:50] Installing dependencies...
[23:58:51] Lockfile is up to date, resolution step is skipped
[23:58:51] Progress: resolved 1, reused 0, downloaded 0, added 0
[23:58:51] Packages: +30 -1
[23:58:51] ++++++++++++++++++++++++++++++-
[23:58:52] Progress: resolved 30, reused 0, downloaded 30, added 30, done
[23:58:52] .../node_modules/@sveltejs/kit postinstall$ node postinstall.js
[23:58:53] .../node_modules/@sveltejs/kit postinstall: Done
[23:58:54]
[23:58:54] dependencies:
[23:58:54] + @ethercorps/sveltekit-og 3.0.0
[23:58:54] + @types/node 20.11.5
[23:58:54]
[23:58:54]
[23:58:54] > hellob.art@1.0.0 prepare /vercel/path0
[23:58:54] > npx husky install && svelte-kit sync && svelte-check --tsconfig ./tsconfig.json
[23:58:54]
[23:58:55] npm WARN exec The following package was not found and will be installed: husky@8.0.3
[23:58:56] husky - Git hooks installed
[23:58:57]
[23:58:57] ====================================
[23:58:57] Loading svelte-check in workspace: /vercel/path0
[23:58:57] Getting Svelte diagnostics...
[23:58:57]
[23:59:06] ====================================
[23:59:06] [32msvelte-check found 0 errors and 0 warnings
[23:59:06] [39mDone in 15.8s
[23:59:06] Running "pnpm run build"
[23:59:07]
[23:59:07] > hellob.art@1.0.0 build /vercel/path0
[23:59:07] > vite build
[23:59:07]
[23:59:08] 10:59:08 PM [vite-plugin-svelte] WARNING: The following packages have a svelte field in their package.json but no exports condition for svelte.
[23:59:08]
[23:59:08] radix-icons-svelte@1.2.1
[23:59:08] svelte-wrap-balancer@0.0.4
[23:59:08]
[23:59:08] Please see https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition for details.
[23:59:08] [36mvite v5.0.11 [32mbuilding SSR bundle for production...[36m[39m
[23:59:08] transforming...
[23:59:17] [32m✓[39m 519 modules transformed.
[23:59:17] [31m[commonjs--resolver] Unexpected character '\u{7f}' (Note that you need plugins to import files that are not JavaScript)[39m
[23:59:17] file: [36m/vercel/path0/node_modules/.pnpm/@resvg+resvg-js@2.6.0/node_modules/@resvg/resvg-js/index.js:1:0[39m
[23:59:17] [33m1: ELF >
Describe the bug
After upgrading to sveltekit 2, I am getting this error:
I have no idea what unicode character is that supposed to be.
Reproduction
No idea how to reproduce yet. If someone can guide me on how to print verbose logs, that would be helpful! That way I can pinpoint which source exactly is it failing to parse
Logs
No response
System Info
Severity
blocking an upgrade
Additional Information
No response