Build for Web3 app freezed and failed

Reposting, because thanks to spam bot I lost priority (Build timout on Cloudflare Pages for Node 16.13.0).

I had similar issue like in this topic: Pages: Deployment failed after ~30min.

My packages:
lottiefiles/svelte-lottie-player": “^0.2.0”,
metamask/onboarding": “^1.0.1”,
sveltejs/adapter-static": “next”,
sveltejs/kit": “next”,
typechain/web3-v1": “^4.0.0”,
types/cookie": “^0.4.1”,
types/simplemde": “^1.11.8”,
“autoprefixer”: “^10.3.7”,
“gun”: “^0.2020.1235”,
“simplemde”: “^1.11.2”,
“svelte”: “^3.34.0”,
“svelte-check”: “^2.2.6”,
“svelte-forms”: “^1.1.51”,
“svelte-preprocess”: “^4.9.4”,
“svelte-use-form”: “^2.4.3”,
“svelte-web3”: “^2.3.2”,
“tailwindcss”: “^2.2.17”,
“tslib”: “^2.3.1”,
“typechain”: “^6.0.3”,
“typescript”: “^4.4.3”,
fontsource/fira-mono": “^4.5.0”,
lukeed/uuid": “^2.0.0”,
“cookie”: “^0.4.1”,
“date-fns”: “^2.26.0”,
“svelte-hero-icons”: “^3.0.0”,
“svelte-markdown”: “^0.1.13”

Also packages run globally using NPX:

Things I know:
classic Svelte apps are working on both Page and Worker deployment
this app uses web3 and blockchain packages
this app failed on build for Worker deployment, this is why I try to use Page

A post was merged into an existing topic: Build timout on Cloudflare Pages for Node 16.13.0