QwikCommunity / pwa

Turn your Qwik Application into an offline compatible PWA
https://pwa-a3b.pages.dev/
90 stars 8 forks source link

Build fails on Cloudflare #8

Closed brandonpittman closed 9 months ago

brandonpittman commented 9 months ago

App builds fine locally, but fails when deploying to Cloudflare pages.


12:56:10.989 | dist/service-worker.js                  21.08 kB │ gzip:  7.16 kB
-- | --
12:56:10.989 | dist/build/q-d0460e7d.js                52.22 kB │ gzip: 21.25 kB
12:56:10.990 | dist/build/q-0ebf9871.js                55.96 kB │ gzip: 13.85 kB
12:56:10.990 | dist/build/q-200ecef0.js                57.65 kB │ gzip:  7.95 kB
12:56:10.990 | dist/build/q-1760a7a4.js                60.98 kB │ gzip: 26.08 kB
12:56:10.990 | dist/build/q-d1a101c5.js                61.37 kB │ gzip:  8.90 kB
12:56:10.990 | dist/build/q-7a022fc6.js                66.89 kB │ gzip: 11.95 kB
12:56:10.990 | ✓ built in 6.68s
12:56:10.992 | free(): invalid size
12:56:11.012 | Aborted
12:56:11.013 | npm ERR! Lifecycle script `build.client` failed with error:
12:56:11.014 | npm ERR! Error: command failed
12:56:11.015 | npm ERR!   in workspace: xxx/app
12:56:11.015 | npm ERR!   at location: /opt/buildhome/repo/packages/app
12:56:11.028 | npm ERR! Lifecycle script `build` failed with error:
12:56:11.028 | npm ERR! Error: command failed
12:56:11.029 | npm ERR!   in workspace: xxx/app
12:56:11.029 | npm ERR!   at location: /opt/buildhome/repo/packages/app
12:56:11.037 | Failed: Error while executing user command. Exited with error code: 1
12:56:11.048 | Failed: build command exited with code: 1
12:56:12.073 | Failed: error occurred while running build command

Only link with same error message I could find: https://stackoverflow.com/questions/49422220/error-in-free-invalid-size

Aslemammad commented 9 months ago

Hey sure, we'll resolve this. Do you have a reproduction? stackblitz for instance.

AmirSa12 commented 9 months ago

I think its from the Cloudflare configurations in your project. Could you provide a reproduction link ?

dejurin commented 9 months ago

Hello, I got same problem. Repo: https://github.com/dejurin/qwik-pwa-example

Works with all updated dependencies except for Qwik. The problems started with Qwik 1.3.0+, possibly using Qwik new sharp 0.33.2.

LOG: Delpoy failur Qwik 1.4.5

2024-02-21T09:32:07.867028Z Cloning repository...
2024-02-21T09:32:08.730714Z From https://github.com/dejurin/qwik-pwa-example
2024-02-21T09:32:08.731259Z  * branch            25768fe5f23c9632ca19a06dabe6c013d6aaf895 -> FETCH_HEAD
2024-02-21T09:32:08.731398Z 
2024-02-21T09:32:08.784356Z HEAD is now at 25768fe 0.33.2
2024-02-21T09:32:08.784827Z 
2024-02-21T09:32:08.880396Z 
2024-02-21T09:32:08.880873Z Using v2 root directory strategy
2024-02-21T09:32:08.908235Z Success: Finished cloning repository files
2024-02-21T09:32:09.681037Z Detected the following tools from environment: nodejs@18.17.1, pnpm@8.7.1
2024-02-21T09:32:10.557862Z Installing project dependencies: pnpm install
2024-02-21T09:32:11.296108Z Lockfile is up to date, resolution step is skipped
2024-02-21T09:32:11.337245Z Progress: resolved 1, reused 0, downloaded 0, added 0
2024-02-21T09:32:11.464731Z Packages: +698
2024-02-21T09:32:11.465029Z ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2024-02-21T09:32:12.345161Z Progress: resolved 698, reused 0, downloaded 94, added 94
2024-02-21T09:32:13.344626Z Progress: resolved 698, reused 0, downloaded 353, added 349
2024-02-21T09:32:14.345219Z Progress: resolved 698, reused 0, downloaded 529, added 522
2024-02-21T09:32:15.345495Z Progress: resolved 698, reused 0, downloaded 691, added 689
2024-02-21T09:32:16.346459Z Progress: resolved 698, reused 0, downloaded 697, added 697
2024-02-21T09:32:16.442379Z Progress: resolved 698, reused 0, downloaded 698, added 698, done
2024-02-21T09:32:16.75134Z  .../sharp@0.32.6/node_modules/sharp install$ (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)
2024-02-21T09:32:16.957182Z .../sharp@0.32.6/node_modules/sharp install: sharp: Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.14.5/libvips-8.14.5-linux-x64.tar.br
2024-02-21T09:32:17.495769Z .../sharp@0.32.6/node_modules/sharp install: sharp: Integrity check passed for linux-x64
2024-02-21T09:32:18.092546Z .../sharp@0.32.6/node_modules/sharp install: Done
2024-02-21T09:32:18.174185Z .../esbuild@0.19.12/node_modules/esbuild postinstall$ node install.js
2024-02-21T09:32:18.174734Z .../esbuild@0.17.19/node_modules/esbuild postinstall$ node install.js
2024-02-21T09:32:18.175388Z .../node_modules/workerd postinstall$ node install.js
2024-02-21T09:32:18.286234Z .../esbuild@0.19.12/node_modules/esbuild postinstall: Done
2024-02-21T09:32:18.292611Z .../esbuild@0.17.19/node_modules/esbuild postinstall: Done
2024-02-21T09:32:18.331352Z .../node_modules/workerd postinstall: Done
2024-02-21T09:32:18.852792Z .../sharp@0.33.2/node_modules/sharp install$ node install/check
2024-02-21T09:32:18.980959Z .../sharp@0.33.2/node_modules/sharp install: Done
2024-02-21T09:32:19.098338Z 
2024-02-21T09:32:19.098569Z dependencies:
2024-02-21T09:32:19.099042Z + vite-plugin-pwa 0.19.0
2024-02-21T09:32:19.099218Z 
2024-02-21T09:32:19.099442Z devDependencies:
2024-02-21T09:32:19.099709Z + @builder.io/qwik 1.4.5
2024-02-21T09:32:19.099895Z + @builder.io/qwik-city 1.4.5
2024-02-21T09:32:19.100147Z + @types/eslint 8.56.2
2024-02-21T09:32:19.100325Z + @types/node 20.11.19
2024-02-21T09:32:19.100633Z + @typescript-eslint/eslint-plugin 7.0.2
2024-02-21T09:32:19.100862Z + @typescript-eslint/parser 7.0.2
2024-02-21T09:32:19.101652Z + @vite-pwa/assets-generator 0.2.4
2024-02-21T09:32:19.102027Z + eslint 8.56.0
2024-02-21T09:32:19.10237Z  + eslint-plugin-qwik 1.4.5
2024-02-21T09:32:19.102678Z + fast-glob 3.3.2
2024-02-21T09:32:19.102878Z + prettier 3.2.5
2024-02-21T09:32:19.103024Z + typescript 5.3.3
2024-02-21T09:32:19.103186Z + undici 6.6.2
2024-02-21T09:32:19.103326Z + vite 5.1.3
2024-02-21T09:32:19.103448Z + vite-tsconfig-paths 4.3.1
2024-02-21T09:32:19.103614Z + workbox-precaching 7.0.0
2024-02-21T09:32:19.103776Z + workbox-routing 7.0.0
2024-02-21T09:32:19.103935Z + workbox-strategies 7.0.0
2024-02-21T09:32:19.104094Z + wrangler 3.28.4
2024-02-21T09:32:19.104252Z 
2024-02-21T09:32:19.114656Z Done in 8.2s
2024-02-21T09:32:19.207477Z Executing user command: npm run build
2024-02-21T09:32:20.131719Z 
2024-02-21T09:32:20.131958Z > build
2024-02-21T09:32:20.132076Z > qwik build
2024-02-21T09:32:20.132199Z 
2024-02-21T09:32:20.225989Z 
2024-02-21T09:32:20.22629Z        ............
2024-02-21T09:32:20.226476Z     .::: :--------:.
2024-02-21T09:32:20.226626Z    .::::  .:-------:.
2024-02-21T09:32:20.226773Z   .:::::.   .:-------.
2024-02-21T09:32:20.226928Z   ::::::.     .:------.
2024-02-21T09:32:20.227105Z  ::::::.        :-----:
2024-02-21T09:32:20.227266Z  ::::::.       .:-----.
2024-02-21T09:32:20.227429Z   :::::::.     .-----.
2024-02-21T09:32:20.227585Z    ::::::::..   ---:.
2024-02-21T09:32:20.227738Z     .:::::::::. :-:.
2024-02-21T09:32:20.227886Z      ..::::::::::::
2024-02-21T09:32:20.228032Z              ...::::
2024-02-21T09:32:20.228188Z      
2024-02-21T09:32:20.228351Z 
2024-02-21T09:32:20.228517Z 
2024-02-21T09:32:20.228666Z npm run build.client
2024-02-21T09:32:20.228817Z npm run build.server
2024-02-21T09:32:20.228965Z 
2024-02-21T09:32:20.597927Z 
2024-02-21T09:32:20.598193Z > build.client
2024-02-21T09:32:20.598573Z > vite build
2024-02-21T09:32:20.598719Z 
2024-02-21T09:32:20.84384Z  �[33mThe CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.�[39m
2024-02-21T09:32:21.605017Z �[36mvite v5.1.3 �[32mbuilding for production...�[36m�[39m
2024-02-21T09:32:21.786405Z transforming...
2024-02-21T09:32:21.871469Z munmap_chunk(): invalid pointer
2024-02-21T09:32:21.881183Z Aborted
2024-02-21T09:32:21.90315Z  Failed: Error while executing user command. Exited with error code: 1
2024-02-21T09:32:21.910584Z Failed: build command exited with code: 1
2024-02-21T09:32:22.723027Z Failed: error occurred while running build command

LOG: Delpoy successful Qwik 1.2.9

2024-02-21T10:31:53.008402Z Cloning repository...
2024-02-21T10:31:53.953382Z From https://github.com/dejurin/qwik-pwa-example
2024-02-21T10:31:53.953963Z  * branch            69a0d1969e48a3a8ae1d2f92f6450d3b53a340a6 -> FETCH_HEAD
2024-02-21T10:31:53.954147Z 
2024-02-21T10:31:54.006233Z HEAD is now at 69a0d19 1.2.9
2024-02-21T10:31:54.006681Z 
2024-02-21T10:31:54.095736Z 
2024-02-21T10:31:54.096481Z Using v2 root directory strategy
2024-02-21T10:31:54.125046Z Success: Finished cloning repository files
2024-02-21T10:31:55.042653Z Detected the following tools from environment: nodejs@18.17.1, pnpm@8.7.1
2024-02-21T10:31:55.922613Z Installing project dependencies: pnpm install
2024-02-21T10:31:56.668692Z Lockfile is up to date, resolution step is skipped
2024-02-21T10:31:56.70796Z  Progress: resolved 1, reused 0, downloaded 0, added 0
2024-02-21T10:31:56.847805Z Packages: +697
2024-02-21T10:31:56.848276Z ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2024-02-21T10:31:57.710617Z Progress: resolved 697, reused 0, downloaded 94, added 92
2024-02-21T10:31:58.710783Z Progress: resolved 697, reused 0, downloaded 349, added 347
2024-02-21T10:31:59.710597Z Progress: resolved 697, reused 0, downloaded 537, added 535
2024-02-21T10:32:00.710625Z Progress: resolved 697, reused 0, downloaded 695, added 695
2024-02-21T10:32:01.711364Z Progress: resolved 697, reused 0, downloaded 697, added 696
2024-02-21T10:32:01.793756Z Progress: resolved 697, reused 0, downloaded 697, added 697, done
2024-02-21T10:32:02.092587Z .../sharp@0.32.6/node_modules/sharp install$ (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)
2024-02-21T10:32:02.293426Z .../sharp@0.32.6/node_modules/sharp install: sharp: Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.14.5/libvips-8.14.5-linux-x64.tar.br
2024-02-21T10:32:03.129544Z .../sharp@0.32.6/node_modules/sharp install: sharp: Integrity check passed for linux-x64
2024-02-21T10:32:03.846444Z .../sharp@0.32.6/node_modules/sharp install: Done
2024-02-21T10:32:03.931625Z .../esbuild@0.19.12/node_modules/esbuild postinstall$ node install.js
2024-02-21T10:32:03.931969Z .../esbuild@0.18.20/node_modules/esbuild postinstall$ node install.js
2024-02-21T10:32:03.93221Z  .../esbuild@0.17.19/node_modules/esbuild postinstall$ node install.js
2024-02-21T10:32:03.95458Z  .../node_modules/workerd postinstall$ node install.js
2024-02-21T10:32:04.037446Z .../esbuild@0.19.12/node_modules/esbuild postinstall: Done
2024-02-21T10:32:04.08295Z  .../esbuild@0.18.20/node_modules/esbuild postinstall: Done
2024-02-21T10:32:04.106565Z .../esbuild@0.17.19/node_modules/esbuild postinstall: Done
2024-02-21T10:32:04.129577Z .../node_modules/workerd postinstall: Done
2024-02-21T10:32:04.758051Z 
2024-02-21T10:32:04.758344Z dependencies:
2024-02-21T10:32:04.758542Z + vite-plugin-pwa 0.19.0
2024-02-21T10:32:04.758714Z 
2024-02-21T10:32:04.758893Z devDependencies:
2024-02-21T10:32:04.759095Z + @builder.io/qwik 1.2.19
2024-02-21T10:32:04.759243Z + @builder.io/qwik-city 1.2.19
2024-02-21T10:32:04.759466Z + @types/eslint 8.56.2
2024-02-21T10:32:04.759674Z + @types/node 20.11.19
2024-02-21T10:32:04.759847Z + @typescript-eslint/eslint-plugin 7.0.2
2024-02-21T10:32:04.75999Z  + @typescript-eslint/parser 7.0.2
2024-02-21T10:32:04.760292Z + @vite-pwa/assets-generator 0.2.4
2024-02-21T10:32:04.760498Z + eslint 8.56.0
2024-02-21T10:32:04.76068Z  + eslint-plugin-qwik 1.2.19
2024-02-21T10:32:04.760862Z + fast-glob 3.3.2
2024-02-21T10:32:04.761123Z + prettier 3.2.5
2024-02-21T10:32:04.761369Z + typescript 5.3.3
2024-02-21T10:32:04.761714Z + undici 6.6.2
2024-02-21T10:32:04.761848Z + vite 5.1.3
2024-02-21T10:32:04.762162Z + vite-tsconfig-paths 4.3.1
2024-02-21T10:32:04.762381Z + workbox-precaching 7.0.0
2024-02-21T10:32:04.762589Z + workbox-routing 7.0.0
2024-02-21T10:32:04.762735Z + workbox-strategies 7.0.0
2024-02-21T10:32:04.762879Z + wrangler 3.28.4
2024-02-21T10:32:04.763651Z 
2024-02-21T10:32:04.774636Z Done in 8.5s
2024-02-21T10:32:04.855208Z Executing user command: npm run build
2024-02-21T10:32:05.75735Z  
2024-02-21T10:32:05.757607Z > build
2024-02-21T10:32:05.75777Z  > qwik build
2024-02-21T10:32:05.757905Z 
2024-02-21T10:32:05.850825Z 
2024-02-21T10:32:05.851095Z       ............
2024-02-21T10:32:05.85125Z      .::: :--------:.
2024-02-21T10:32:05.85139Z     .::::  .:-------:.
2024-02-21T10:32:05.851492Z   .:::::.   .:-------.
2024-02-21T10:32:05.851586Z   ::::::.     .:------.
2024-02-21T10:32:05.851679Z  ::::::.        :-----:
2024-02-21T10:32:05.851772Z  ::::::.       .:-----.
2024-02-21T10:32:05.851878Z   :::::::.     .-----.
2024-02-21T10:32:05.851983Z    ::::::::..   ---:.
2024-02-21T10:32:05.852085Z     .:::::::::. :-:.
2024-02-21T10:32:05.852178Z      ..::::::::::::
2024-02-21T10:32:05.852278Z              ...::::
2024-02-21T10:32:05.852376Z      
2024-02-21T10:32:05.852494Z 
2024-02-21T10:32:05.852597Z 
2024-02-21T10:32:05.852696Z npm run build.client
2024-02-21T10:32:05.852801Z npm run build.server
2024-02-21T10:32:05.8529Z   
2024-02-21T10:32:06.225914Z 
2024-02-21T10:32:06.226223Z > build.client
2024-02-21T10:32:06.226412Z > vite build
2024-02-21T10:32:06.226579Z 
2024-02-21T10:32:06.481468Z �[33mThe CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.�[39m
2024-02-21T10:32:07.136498Z [QWIK PLUGIN: 384] Qwik Insight not found  `/opt/buildhome/repo/dist/q-insights.json`, skipping.
2024-02-21T10:32:07.136767Z         Consider setting up https://qwik.builder.io/docs/labs/insights/ for better bundle optimization.
2024-02-21T10:32:07.353914Z �[36mvite v5.1.3 �[32mbuilding for production...�[36m�[39m
2024-02-21T10:32:07.539498Z transforming...
2024-02-21T10:32:08.998821Z �[32m✓�[39m 152 modules transformed.
2024-02-21T10:32:09.082057Z rendering chunks...
2024-02-21T10:32:09.132884Z computing gzip size...
2024-02-21T10:32:09.144961Z �[2mdist/�[22m�[32mbuild/q-BmcCi45F.webp  �[39m�[1m�[2m 4.52 kB�[22m�[1m�[22m
2024-02-21T10:32:09.145365Z �[2mdist/�[22m�[32mbuild/q-BUBLOrfT.webp  �[39m�[1m�[2m 8.98 kB�[22m�[1m�[22m
2024-02-21T10:32:09.145776Z �[2mdist/�[22m�[32mbuild/q-BiJlifZL.webp  �[39m�[1m�[2m13.19 kB�[22m�[1m�[22m
2024-02-21T10:32:09.145937Z �[2mdist/�[22m�[32mbuild/q-B7lONujc.webp  �[39m�[1m�[2m18.90 kB�[22m�[1m�[22m
2024-02-21T10:32:09.146085Z �[2mdist/�[22m�[32mbuild/q-BtN0psye.webp  �[39m�[1m�[2m29.88 kB�[22m�[1m�[22m
2024-02-21T10:32:09.146235Z �[2mdist/�[22m�[32mq-manifest.json        �[39m�[1m�[2m36.81 kB�[22m�[1m�[22m�[2m │ gzip:  6.04 kB�[22m
2024-02-21T10:32:09.146381Z �[2mdist/�[22m�[35mbuild/q-DKVIvDmV.css   �[39m�[1m�[2m 3.99 kB�[22m�[1m�[22m�[2m │ gzip:  1.27 kB�[22m
2024-02-21T10:32:09.146523Z �[2mdist/�[22m�[36mbuild/q-B82w7M2h.js    �[39m�[1m�[2m 0.13 kB�[22m�[1m�[22m�[2m │ gzip:  0.13 kB�[22m
2024-02-21T10:32:09.146681Z �[2mdist/�[22m�[36mbuild/q-D_-t6uof.js    �[39m�[1m�[2m 0.26 kB�[22m�[1m�[22m�[2m │ gzip:  0.21 kB�[22m
2024-02-21T10:32:09.146821Z �[2mdist/�[22m�[36mbuild/q-Cx1A9j23.js    �[39m�[1m�[2m 0.32 kB�[22m�[1m�[22m�[2m │ gzip:  0.21 kB�[22m
2024-02-21T10:32:09.14694Z  �[2mdist/�[22m�[36mbuild/q-Dbuq97lU.js    �[39m�[1m�[2m 0.41 kB�[22m�[1m�[22m�[2m │ gzip:  0.26 kB�[22m
2024-02-21T10:32:09.14711Z  �[2mdist/�[22m�[36mbuild/q-BzdwWAgU.js    �[39m�[1m�[2m 0.44 kB�[22m�[1m�[22m�[2m │ gzip:  0.28 kB�[22m
2024-02-21T10:32:09.147318Z �[2mdist/�[22m�[36mbuild/q-DkorVdrq.js    �[39m�[1m�[2m 0.47 kB�[22m�[1m�[22m�[2m │ gzip:  0.32 kB�[22m
2024-02-21T10:32:09.14747Z  �[2mdist/�[22m�[36mbuild/q-C0iLi_Qn.js    �[39m�[1m�[2m 0.51 kB�[22m�[1m�[22m�[2m │ gzip:  0.32 kB�[22m
2024-02-21T10:32:09.147671Z �[2mdist/�[22m�[36mbuild/q-DVxaGyR6.js    �[39m�[1m�[2m 0.55 kB�[22m�[1m�[22m�[2m │ gzip:  0.36 kB�[22m
2024-02-21T10:32:09.147865Z �[2mdist/�[22m�[36mbuild/q-DcZ-38Dk.js    �[39m�[1m�[2m 0.58 kB�[22m�[1m�[22m�[2m │ gzip:  0.37 kB�[22m
2024-02-21T10:32:09.148018Z �[2mdist/�[22m�[36mbuild/q-WXT699jY.js    �[39m�[1m�[2m 0.61 kB�[22m�[1m�[22m�[2m │ gzip:  0.38 kB�[22m
2024-02-21T10:32:09.148164Z �[2mdist/�[22m�[36mbuild/q-DzP1xvWc.js    �[39m�[1m�[2m 0.70 kB�[22m�[1m�[22m�[2m │ gzip:  0.44 kB�[22m
2024-02-21T10:32:09.148286Z �[2mdist/�[22m�[36mbuild/q-7czoeQDx.js    �[39m�[1m�[2m 0.74 kB�[22m�[1m�[22m�[2m │ gzip:  0.42 kB�[22m
2024-02-21T10:32:09.148413Z �[2mdist/�[22m�[36mbuild/q-BXV2vtJe.js    �[39m�[1m�[2m 0.75 kB�[22m�[1m�[22m�[2m │ gzip:  0.46 kB�[22m
2024-02-21T10:32:09.148537Z �[2mdist/�[22m�[36mbuild/q-pEbALzsF.js    �[39m�[1m�[2m 0.77 kB�[22m�[1m�[22m�[2m │ gzip:  0.42 kB�[22m
2024-02-21T10:32:09.148686Z �[2mdist/�[22m�[36mbuild/q-DqBGAW7D.js    �[39m�[1m�[2m 0.89 kB�[22m�[1m�[22m�[2m │ gzip:  0.56 kB�[22m
2024-02-21T10:32:09.148827Z �[2mdist/�[22m�[36mbuild/q-BjLUUWcz.js    �[39m�[1m�[2m 0.96 kB�[22m�[1m�[22m�[2m │ gzip:  0.51 kB�[22m
2024-02-21T10:32:09.148972Z �[2mdist/�[22m�[36mbuild/q-HLMNM8hx.js    �[39m�[1m�[2m 0.97 kB�[22m�[1m�[22m�[2m │ gzip:  0.59 kB�[22m
2024-02-21T10:32:09.14912Z  �[2mdist/�[22m�[36mbuild/q-CxwRI_fv.js    �[39m�[1m�[2m 1.20 kB�[22m�[1m�[22m�[2m │ gzip:  0.62 kB�[22m
2024-02-21T10:32:09.149318Z �[2mdist/�[22m�[36mbuild/q-BA4Ym2hY.js    �[39m�[1m�[2m 1.22 kB�[22m�[1m�[22m�[2m │ gzip:  0.73 kB�[22m
2024-02-21T10:32:09.149474Z �[2mdist/�[22m�[36mbuild/q-CCIkZ1M4.js    �[39m�[1m�[2m 1.33 kB�[22m�[1m�[22m�[2m │ gzip:  0.75 kB�[22m
2024-02-21T10:32:09.149657Z �[2mdist/�[22m�[36mbuild/q-BHaV8bhY.js    �[39m�[1m�[2m 1.34 kB�[22m�[1m�[22m�[2m │ gzip:  0.72 kB�[22m
2024-02-21T10:32:09.149819Z �[2mdist/�[22m�[36mbuild/q-CnklD6G0.js    �[39m�[1m�[2m 1.36 kB�[22m�[1m�[22m�[2m │ gzip:  0.67 kB�[22m
2024-02-21T10:32:09.149965Z �[2mdist/�[22m�[36mbuild/q-D7qP6TaP.js    �[39m�[1m�[2m 1.68 kB�[22m�[1m�[22m�[2m │ gzip:  0.81 kB�[22m
2024-02-21T10:32:09.150138Z �[2mdist/�[22m�[36mbuild/q-D4wX7Hlc.js    �[39m�[1m�[2m 1.87 kB�[22m�[1m�[22m�[2m │ gzip:  0.97 kB�[22m
2024-02-21T10:32:09.150441Z �[2mdist/�[22m�[36mbuild/q-fJkQnue_.js    �[39m�[1m�[2m 2.29 kB�[22m�[1m�[22m�[2m │ gzip:  1.11 kB�[22m
2024-02-21T10:32:09.150723Z �[2mdist/�[22m�[36mbuild/q-C-2PR1O4.js    �[39m�[1m�[2m 2.87 kB�[22m�[1m�[22m�[2m │ gzip:  1.31 kB�[22m
2024-02-21T10:32:09.150848Z �[2mdist/�[22m�[36mbuild/q-DnS0KCFu.js    �[39m�[1m�[2m 3.03 kB�[22m�[1m�[22m�[2m │ gzip:  1.04 kB�[22m
2024-02-21T10:32:09.151122Z �[2mdist/�[22m�[36mbuild/q-BDtmaECv.js    �[39m�[1m�[2m 3.82 kB�[22m�[1m�[22m�[2m │ gzip:  1.84 kB�[22m
2024-02-21T10:32:09.151241Z �[2mdist/�[22m�[36mbuild/q-BpaN5ZYx.js    �[39m�[1m�[2m 5.55 kB�[22m�[1m�[22m�[2m │ gzip:  2.22 kB�[22m
2024-02-21T10:32:09.151344Z �[2mdist/�[22m�[36mbuild/q-BqVslDWH.js    �[39m�[1m�[2m 6.02 kB�[22m�[1m�[22m�[2m │ gzip:  2.55 kB�[22m
2024-02-21T10:32:09.15144Z  �[2mdist/�[22m�[36mbuild/q-6AiTGm6m.js    �[39m�[1m�[2m 9.54 kB�[22m�[1m�[22m�[2m │ gzip:  4.44 kB�[22m
2024-02-21T10:32:09.151536Z �[2mdist/�[22m�[36mservice-worker.js      �[39m�[1m�[2m19.49 kB�[22m�[1m�[22m�[2m │ gzip:  6.74 kB�[22m
2024-02-21T10:32:09.151633Z �[2mdist/�[22m�[36mbuild/q-KemCkf1D.js    �[39m�[1m�[2m50.85 kB�[22m�[1m�[22m�[2m │ gzip: 20.68 kB�[22m
2024-02-21T10:32:09.151727Z �[32m✓ built in 1.77s�[39m
2024-02-21T10:32:09.156243Z [
2024-02-21T10:32:09.156501Z   {
2024-02-21T10:32:09.156665Z     id: 'IndexRoute',
2024-02-21T10:32:09.156922Z     filePath: '/opt/buildhome/repo/src/routes/index.tsx',
2024-02-21T10:32:09.157096Z     pathname: '/',
2024-02-21T10:32:09.157235Z     layouts: [ [Object] ],
2024-02-21T10:32:09.157364Z     ext: '.tsx',
2024-02-21T10:32:09.157505Z     pattern: /^\/$/,
2024-02-21T10:32:09.157651Z     routeName: '/',
2024-02-21T10:32:09.157781Z     paramNames: [],
2024-02-21T10:32:09.157924Z     segments: [ [Array] ]
2024-02-21T10:32:09.158065Z   },
2024-02-21T10:32:09.158209Z   {
2024-02-21T10:32:09.158423Z     id: 'DemoFlowerRoute',
2024-02-21T10:32:09.158614Z     filePath: '/opt/buildhome/repo/src/routes/demo/flower/index.tsx',
2024-02-21T10:32:09.158796Z     pathname: '/demo/flower/',
2024-02-21T10:32:09.158959Z     layouts: [ [Object] ],
2024-02-21T10:32:09.159112Z     ext: '.tsx',
2024-02-21T10:32:09.159256Z     pattern: /^\/demo\/flower\/?$/,
2024-02-21T10:32:09.159389Z     routeName: 'demo/flower/',
2024-02-21T10:32:09.159529Z     paramNames: [],
2024-02-21T10:32:09.159663Z     segments: [ [Array], [Array], [] ]
2024-02-21T10:32:09.159805Z   },
2024-02-21T10:32:09.159957Z   {
2024-02-21T10:32:09.160094Z     id: 'DemoTodolistRoute',
2024-02-21T10:32:09.160236Z     filePath: '/opt/buildhome/repo/src/routes/demo/todolist/index.tsx',
2024-02-21T10:32:09.160369Z     pathname: '/demo/todolist/',
2024-02-21T10:32:09.16072Z      layouts: [ [Object] ],
2024-02-21T10:32:09.16088Z      ext: '.tsx',
2024-02-21T10:32:09.161038Z     pattern: /^\/demo\/todolist\/?$/,
2024-02-21T10:32:09.161177Z     routeName: 'demo/todolist/',
2024-02-21T10:32:09.161326Z     paramNames: [],
2024-02-21T10:32:09.161482Z     segments: [ [Array], [Array], [] ]
2024-02-21T10:32:09.161626Z   }
2024-02-21T10:32:09.161769Z ]
2024-02-21T10:32:09.195859Z 
2024-02-21T10:32:09.196213Z ✓ Built client modules
2024-02-21T10:32:09.56325Z  
2024-02-21T10:32:09.563573Z > build.server
2024-02-21T10:32:09.563725Z > vite build -c adapters/cloudflare-pages/vite.config.ts
2024-02-21T10:32:09.563887Z 
2024-02-21T10:32:10.192218Z �[33mThe CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.�[39m
2024-02-21T10:32:10.68129Z  �[36mvite v5.1.3 �[32mbuilding SSR bundle for production...�[36m�[39m
2024-02-21T10:32:12.944685Z transforming...
2024-02-21T10:32:14.836992Z �[32m✓�[39m 38 modules transformed.
2024-02-21T10:32:14.911343Z rendering chunks...
2024-02-21T10:32:14.963325Z �[2mserver/�[22m�[35mbuild/q-BqbdkZLO.css                �[39m�[1m�[2m  3.99 kB�[22m�[1m�[22m
2024-02-21T10:32:14.963625Z �[2mserver/�[22m�[36mentry.ssr.js                        �[39m�[1m�[2m  0.12 kB�[22m�[1m�[22m
2024-02-21T10:32:14.963873Z �[2mserver/�[22m�[36m@qwik-city-plan.js                  �[39m�[1m�[2m  0.22 kB�[22m�[1m�[22m
2024-02-21T10:32:14.964058Z �[2mserver/�[22m�[36mentry.cloudflare-pages.js           �[39m�[1m�[2m 19.34 kB�[22m�[1m�[22m
2024-02-21T10:32:14.964203Z �[2mserver/�[22m�[2massets/�[22m�[36mentry.ssr-8WfIanBo.js        �[39m�[1m�[2m 52.43 kB�[22m�[1m�[22m
2024-02-21T10:32:14.964325Z �[2mserver/�[22m�[2massets/�[22m�[36m@qwik-city-plan-DgDi3uMN.js  �[39m�[1m�[2m157.29 kB�[22m�[1m�[22m
2024-02-21T10:32:14.9645Z   �[32m✓ built in 4.26s�[39m
2024-02-21T10:32:14.964722Z [QWIK PLUGIN: 754] Qwik Insight not found  `/opt/buildhome/repo/dist/q-insights.json`, skipping.
2024-02-21T10:32:14.964839Z         Consider setting up https://qwik.builder.io/docs/labs/insights/ for better bundle optimization.
2024-02-21T10:32:15.013628Z 
2024-02-21T10:32:15.013864Z �[1m�[32mStarting Qwik City SSG...�[39m�[22m
2024-02-21T10:32:15.020043Z 
2024-02-21T10:32:15.02024Z  �[32mSSG results�[39m
2024-02-21T10:32:15.021849Z - Duration: �[2m5.7 ms�[22m
2024-02-21T10:32:15.022218Z 
2024-02-21T10:32:15.979343Z ✓ Built server (ssr) modules
2024-02-21T10:32:15.979626Z 
2024-02-21T10:32:16.000091Z Finished
2024-02-21T10:32:16.00065Z  Found _worker.js in output directory. Uploading.
2024-02-21T10:32:17.187775Z ✨ Compiled Worker successfully
2024-02-21T10:32:17.242313Z Found _routes.json in output directory. Uploading.
2024-02-21T10:32:17.255057Z Validating asset output directory
2024-02-21T10:32:18.042761Z Deploying your site to Cloudflare's global network...
2024-02-21T10:32:19.961751Z Parsed 0 valid redirect rules.
2024-02-21T10:32:19.962391Z Parsed 1 valid header rule.
2024-02-21T10:32:21.220153Z Uploading... (24/56)
2024-02-21T10:32:22.016348Z Uploading... (35/56)
2024-02-21T10:32:22.072991Z Uploading... (45/56)
2024-02-21T10:32:22.194076Z Uploading... (56/56)
2024-02-21T10:32:22.194288Z ✨ Success! Uploaded 32 files (24 already uploaded) (1.33 sec)
2024-02-21T10:32:22.194419Z 
2024-02-21T10:32:22.39919Z  ✨ Upload complete!
2024-02-21T10:32:25.198811Z Success: Assets published!
2024-02-21T10:32:28.659931Z Success: Your site was deployed!
AmirSa12 commented 9 months ago

Hello, I got same problem. Repo: https://github.com/dejurin/qwik-pwa-example

Works with all updated dependencies except for Qwik. The problems started with Qwik 1.3.0+, possibly using Qwik new sharp 0.33.2.

LOG: Delpoy failur Qwik 1.4.5

2024-02-21T09:32:07.867028Z   Cloning repository...
2024-02-21T09:32:08.730714Z   From https://github.com/dejurin/qwik-pwa-example
2024-02-21T09:32:08.731259Z    * branch            25768fe5f23c9632ca19a06dabe6c013d6aaf895 -> FETCH_HEAD
2024-02-21T09:32:08.731398Z   
2024-02-21T09:32:08.784356Z   HEAD is now at 25768fe 0.33.2
2024-02-21T09:32:08.784827Z   
2024-02-21T09:32:08.880396Z   
2024-02-21T09:32:08.880873Z   Using v2 root directory strategy
2024-02-21T09:32:08.908235Z   Success: Finished cloning repository files
2024-02-21T09:32:09.681037Z   Detected the following tools from environment: nodejs@18.17.1, pnpm@8.7.1
2024-02-21T09:32:10.557862Z   Installing project dependencies: pnpm install
2024-02-21T09:32:11.296108Z   Lockfile is up to date, resolution step is skipped
2024-02-21T09:32:11.337245Z   Progress: resolved 1, reused 0, downloaded 0, added 0
2024-02-21T09:32:11.464731Z   Packages: +698
2024-02-21T09:32:11.465029Z   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2024-02-21T09:32:12.345161Z   Progress: resolved 698, reused 0, downloaded 94, added 94
2024-02-21T09:32:13.344626Z   Progress: resolved 698, reused 0, downloaded 353, added 349
2024-02-21T09:32:14.345219Z   Progress: resolved 698, reused 0, downloaded 529, added 522
2024-02-21T09:32:15.345495Z   Progress: resolved 698, reused 0, downloaded 691, added 689
2024-02-21T09:32:16.346459Z   Progress: resolved 698, reused 0, downloaded 697, added 697
2024-02-21T09:32:16.442379Z   Progress: resolved 698, reused 0, downloaded 698, added 698, done
2024-02-21T09:32:16.75134Z    .../sharp@0.32.6/node_modules/sharp install$ (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)
2024-02-21T09:32:16.957182Z   .../sharp@0.32.6/node_modules/sharp install: sharp: Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.14.5/libvips-8.14.5-linux-x64.tar.br
2024-02-21T09:32:17.495769Z   .../sharp@0.32.6/node_modules/sharp install: sharp: Integrity check passed for linux-x64
2024-02-21T09:32:18.092546Z   .../sharp@0.32.6/node_modules/sharp install: Done
2024-02-21T09:32:18.174185Z   .../esbuild@0.19.12/node_modules/esbuild postinstall$ node install.js
2024-02-21T09:32:18.174734Z   .../esbuild@0.17.19/node_modules/esbuild postinstall$ node install.js
2024-02-21T09:32:18.175388Z   .../node_modules/workerd postinstall$ node install.js
2024-02-21T09:32:18.286234Z   .../esbuild@0.19.12/node_modules/esbuild postinstall: Done
2024-02-21T09:32:18.292611Z   .../esbuild@0.17.19/node_modules/esbuild postinstall: Done
2024-02-21T09:32:18.331352Z   .../node_modules/workerd postinstall: Done
2024-02-21T09:32:18.852792Z   .../sharp@0.33.2/node_modules/sharp install$ node install/check
2024-02-21T09:32:18.980959Z   .../sharp@0.33.2/node_modules/sharp install: Done
2024-02-21T09:32:19.098338Z   
2024-02-21T09:32:19.098569Z   dependencies:
2024-02-21T09:32:19.099042Z   + vite-plugin-pwa 0.19.0
2024-02-21T09:32:19.099218Z   
2024-02-21T09:32:19.099442Z   devDependencies:
2024-02-21T09:32:19.099709Z   + @builder.io/qwik 1.4.5
2024-02-21T09:32:19.099895Z   + @builder.io/qwik-city 1.4.5
2024-02-21T09:32:19.100147Z   + @types/eslint 8.56.2
2024-02-21T09:32:19.100325Z   + @types/node 20.11.19
2024-02-21T09:32:19.100633Z   + @typescript-eslint/eslint-plugin 7.0.2
2024-02-21T09:32:19.100862Z   + @typescript-eslint/parser 7.0.2
2024-02-21T09:32:19.101652Z   + @vite-pwa/assets-generator 0.2.4
2024-02-21T09:32:19.102027Z   + eslint 8.56.0
2024-02-21T09:32:19.10237Z    + eslint-plugin-qwik 1.4.5
2024-02-21T09:32:19.102678Z   + fast-glob 3.3.2
2024-02-21T09:32:19.102878Z   + prettier 3.2.5
2024-02-21T09:32:19.103024Z   + typescript 5.3.3
2024-02-21T09:32:19.103186Z   + undici 6.6.2
2024-02-21T09:32:19.103326Z   + vite 5.1.3
2024-02-21T09:32:19.103448Z   + vite-tsconfig-paths 4.3.1
2024-02-21T09:32:19.103614Z   + workbox-precaching 7.0.0
2024-02-21T09:32:19.103776Z   + workbox-routing 7.0.0
2024-02-21T09:32:19.103935Z   + workbox-strategies 7.0.0
2024-02-21T09:32:19.104094Z   + wrangler 3.28.4
2024-02-21T09:32:19.104252Z   
2024-02-21T09:32:19.114656Z   Done in 8.2s
2024-02-21T09:32:19.207477Z   Executing user command: npm run build
2024-02-21T09:32:20.131719Z   
2024-02-21T09:32:20.131958Z   > build
2024-02-21T09:32:20.132076Z   > qwik build
2024-02-21T09:32:20.132199Z   
2024-02-21T09:32:20.225989Z   
2024-02-21T09:32:20.22629Z          ............
2024-02-21T09:32:20.226476Z       .::: :--------:.
2024-02-21T09:32:20.226626Z      .::::  .:-------:.
2024-02-21T09:32:20.226773Z     .:::::.   .:-------.
2024-02-21T09:32:20.226928Z     ::::::.     .:------.
2024-02-21T09:32:20.227105Z    ::::::.        :-----:
2024-02-21T09:32:20.227266Z    ::::::.       .:-----.
2024-02-21T09:32:20.227429Z     :::::::.     .-----.
2024-02-21T09:32:20.227585Z      ::::::::..   ---:.
2024-02-21T09:32:20.227738Z       .:::::::::. :-:.
2024-02-21T09:32:20.227886Z        ..::::::::::::
2024-02-21T09:32:20.228032Z                ...::::
2024-02-21T09:32:20.228188Z        
2024-02-21T09:32:20.228351Z   
2024-02-21T09:32:20.228517Z   
2024-02-21T09:32:20.228666Z   npm run build.client
2024-02-21T09:32:20.228817Z   npm run build.server
2024-02-21T09:32:20.228965Z   
2024-02-21T09:32:20.597927Z   
2024-02-21T09:32:20.598193Z   > build.client
2024-02-21T09:32:20.598573Z   > vite build
2024-02-21T09:32:20.598719Z   
2024-02-21T09:32:20.84384Z    �[33mThe CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.�[39m
2024-02-21T09:32:21.605017Z   �[36mvite v5.1.3 �[32mbuilding for production...�[36m�[39m
2024-02-21T09:32:21.786405Z   transforming...
2024-02-21T09:32:21.871469Z   munmap_chunk(): invalid pointer
2024-02-21T09:32:21.881183Z   Aborted
2024-02-21T09:32:21.90315Z    Failed: Error while executing user command. Exited with error code: 1
2024-02-21T09:32:21.910584Z   Failed: build command exited with code: 1
2024-02-21T09:32:22.723027Z   Failed: error occurred while running build command

LOG: Delpoy successful Qwik 1.2.9

2024-02-21T10:31:53.008402Z   Cloning repository...
2024-02-21T10:31:53.953382Z   From https://github.com/dejurin/qwik-pwa-example
2024-02-21T10:31:53.953963Z    * branch            69a0d1969e48a3a8ae1d2f92f6450d3b53a340a6 -> FETCH_HEAD
2024-02-21T10:31:53.954147Z   
2024-02-21T10:31:54.006233Z   HEAD is now at 69a0d19 1.2.9
2024-02-21T10:31:54.006681Z   
2024-02-21T10:31:54.095736Z   
2024-02-21T10:31:54.096481Z   Using v2 root directory strategy
2024-02-21T10:31:54.125046Z   Success: Finished cloning repository files
2024-02-21T10:31:55.042653Z   Detected the following tools from environment: nodejs@18.17.1, pnpm@8.7.1
2024-02-21T10:31:55.922613Z   Installing project dependencies: pnpm install
2024-02-21T10:31:56.668692Z   Lockfile is up to date, resolution step is skipped
2024-02-21T10:31:56.70796Z    Progress: resolved 1, reused 0, downloaded 0, added 0
2024-02-21T10:31:56.847805Z   Packages: +697
2024-02-21T10:31:56.848276Z   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2024-02-21T10:31:57.710617Z   Progress: resolved 697, reused 0, downloaded 94, added 92
2024-02-21T10:31:58.710783Z   Progress: resolved 697, reused 0, downloaded 349, added 347
2024-02-21T10:31:59.710597Z   Progress: resolved 697, reused 0, downloaded 537, added 535
2024-02-21T10:32:00.710625Z   Progress: resolved 697, reused 0, downloaded 695, added 695
2024-02-21T10:32:01.711364Z   Progress: resolved 697, reused 0, downloaded 697, added 696
2024-02-21T10:32:01.793756Z   Progress: resolved 697, reused 0, downloaded 697, added 697, done
2024-02-21T10:32:02.092587Z   .../sharp@0.32.6/node_modules/sharp install$ (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)
2024-02-21T10:32:02.293426Z   .../sharp@0.32.6/node_modules/sharp install: sharp: Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.14.5/libvips-8.14.5-linux-x64.tar.br
2024-02-21T10:32:03.129544Z   .../sharp@0.32.6/node_modules/sharp install: sharp: Integrity check passed for linux-x64
2024-02-21T10:32:03.846444Z   .../sharp@0.32.6/node_modules/sharp install: Done
2024-02-21T10:32:03.931625Z   .../esbuild@0.19.12/node_modules/esbuild postinstall$ node install.js
2024-02-21T10:32:03.931969Z   .../esbuild@0.18.20/node_modules/esbuild postinstall$ node install.js
2024-02-21T10:32:03.93221Z    .../esbuild@0.17.19/node_modules/esbuild postinstall$ node install.js
2024-02-21T10:32:03.95458Z    .../node_modules/workerd postinstall$ node install.js
2024-02-21T10:32:04.037446Z   .../esbuild@0.19.12/node_modules/esbuild postinstall: Done
2024-02-21T10:32:04.08295Z    .../esbuild@0.18.20/node_modules/esbuild postinstall: Done
2024-02-21T10:32:04.106565Z   .../esbuild@0.17.19/node_modules/esbuild postinstall: Done
2024-02-21T10:32:04.129577Z   .../node_modules/workerd postinstall: Done
2024-02-21T10:32:04.758051Z   
2024-02-21T10:32:04.758344Z   dependencies:
2024-02-21T10:32:04.758542Z   + vite-plugin-pwa 0.19.0
2024-02-21T10:32:04.758714Z   
2024-02-21T10:32:04.758893Z   devDependencies:
2024-02-21T10:32:04.759095Z   + @builder.io/qwik 1.2.19
2024-02-21T10:32:04.759243Z   + @builder.io/qwik-city 1.2.19
2024-02-21T10:32:04.759466Z   + @types/eslint 8.56.2
2024-02-21T10:32:04.759674Z   + @types/node 20.11.19
2024-02-21T10:32:04.759847Z   + @typescript-eslint/eslint-plugin 7.0.2
2024-02-21T10:32:04.75999Z    + @typescript-eslint/parser 7.0.2
2024-02-21T10:32:04.760292Z   + @vite-pwa/assets-generator 0.2.4
2024-02-21T10:32:04.760498Z   + eslint 8.56.0
2024-02-21T10:32:04.76068Z    + eslint-plugin-qwik 1.2.19
2024-02-21T10:32:04.760862Z   + fast-glob 3.3.2
2024-02-21T10:32:04.761123Z   + prettier 3.2.5
2024-02-21T10:32:04.761369Z   + typescript 5.3.3
2024-02-21T10:32:04.761714Z   + undici 6.6.2
2024-02-21T10:32:04.761848Z   + vite 5.1.3
2024-02-21T10:32:04.762162Z   + vite-tsconfig-paths 4.3.1
2024-02-21T10:32:04.762381Z   + workbox-precaching 7.0.0
2024-02-21T10:32:04.762589Z   + workbox-routing 7.0.0
2024-02-21T10:32:04.762735Z   + workbox-strategies 7.0.0
2024-02-21T10:32:04.762879Z   + wrangler 3.28.4
2024-02-21T10:32:04.763651Z   
2024-02-21T10:32:04.774636Z   Done in 8.5s
2024-02-21T10:32:04.855208Z   Executing user command: npm run build
2024-02-21T10:32:05.75735Z    
2024-02-21T10:32:05.757607Z   > build
2024-02-21T10:32:05.75777Z    > qwik build
2024-02-21T10:32:05.757905Z   
2024-02-21T10:32:05.850825Z   
2024-02-21T10:32:05.851095Z         ............
2024-02-21T10:32:05.85125Z        .::: :--------:.
2024-02-21T10:32:05.85139Z       .::::  .:-------:.
2024-02-21T10:32:05.851492Z     .:::::.   .:-------.
2024-02-21T10:32:05.851586Z     ::::::.     .:------.
2024-02-21T10:32:05.851679Z    ::::::.        :-----:
2024-02-21T10:32:05.851772Z    ::::::.       .:-----.
2024-02-21T10:32:05.851878Z     :::::::.     .-----.
2024-02-21T10:32:05.851983Z      ::::::::..   ---:.
2024-02-21T10:32:05.852085Z       .:::::::::. :-:.
2024-02-21T10:32:05.852178Z        ..::::::::::::
2024-02-21T10:32:05.852278Z                ...::::
2024-02-21T10:32:05.852376Z        
2024-02-21T10:32:05.852494Z   
2024-02-21T10:32:05.852597Z   
2024-02-21T10:32:05.852696Z   npm run build.client
2024-02-21T10:32:05.852801Z   npm run build.server
2024-02-21T10:32:05.8529Z 
2024-02-21T10:32:06.225914Z   
2024-02-21T10:32:06.226223Z   > build.client
2024-02-21T10:32:06.226412Z   > vite build
2024-02-21T10:32:06.226579Z   
2024-02-21T10:32:06.481468Z   �[33mThe CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.�[39m
2024-02-21T10:32:07.136498Z   [QWIK PLUGIN: 384] Qwik Insight not found  `/opt/buildhome/repo/dist/q-insights.json`, skipping.
2024-02-21T10:32:07.136767Z           Consider setting up https://qwik.builder.io/docs/labs/insights/ for better bundle optimization.
2024-02-21T10:32:07.353914Z   �[36mvite v5.1.3 �[32mbuilding for production...�[36m�[39m
2024-02-21T10:32:07.539498Z   transforming...
2024-02-21T10:32:08.998821Z   �[32m✓�[39m 152 modules transformed.
2024-02-21T10:32:09.082057Z   rendering chunks...
2024-02-21T10:32:09.132884Z   computing gzip size...
2024-02-21T10:32:09.144961Z   �[2mdist/�[22m�[32mbuild/q-BmcCi45F.webp  �[39m�[1m�[2m 4.52 kB�[22m�[1m�[22m
2024-02-21T10:32:09.145365Z   �[2mdist/�[22m�[32mbuild/q-BUBLOrfT.webp  �[39m�[1m�[2m 8.98 kB�[22m�[1m�[22m
2024-02-21T10:32:09.145776Z   �[2mdist/�[22m�[32mbuild/q-BiJlifZL.webp  �[39m�[1m�[2m13.19 kB�[22m�[1m�[22m
2024-02-21T10:32:09.145937Z   �[2mdist/�[22m�[32mbuild/q-B7lONujc.webp  �[39m�[1m�[2m18.90 kB�[22m�[1m�[22m
2024-02-21T10:32:09.146085Z   �[2mdist/�[22m�[32mbuild/q-BtN0psye.webp  �[39m�[1m�[2m29.88 kB�[22m�[1m�[22m
2024-02-21T10:32:09.146235Z   �[2mdist/�[22m�[32mq-manifest.json        �[39m�[1m�[2m36.81 kB�[22m�[1m�[22m�[2m │ gzip:  6.04 kB�[22m
2024-02-21T10:32:09.146381Z   �[2mdist/�[22m�[35mbuild/q-DKVIvDmV.css   �[39m�[1m�[2m 3.99 kB�[22m�[1m�[22m�[2m │ gzip:  1.27 kB�[22m
2024-02-21T10:32:09.146523Z   �[2mdist/�[22m�[36mbuild/q-B82w7M2h.js    �[39m�[1m�[2m 0.13 kB�[22m�[1m�[22m�[2m │ gzip:  0.13 kB�[22m
2024-02-21T10:32:09.146681Z   �[2mdist/�[22m�[36mbuild/q-D_-t6uof.js    �[39m�[1m�[2m 0.26 kB�[22m�[1m�[22m�[2m │ gzip:  0.21 kB�[22m
2024-02-21T10:32:09.146821Z   �[2mdist/�[22m�[36mbuild/q-Cx1A9j23.js    �[39m�[1m�[2m 0.32 kB�[22m�[1m�[22m�[2m │ gzip:  0.21 kB�[22m
2024-02-21T10:32:09.14694Z    �[2mdist/�[22m�[36mbuild/q-Dbuq97lU.js    �[39m�[1m�[2m 0.41 kB�[22m�[1m�[22m�[2m │ gzip:  0.26 kB�[22m
2024-02-21T10:32:09.14711Z    �[2mdist/�[22m�[36mbuild/q-BzdwWAgU.js    �[39m�[1m�[2m 0.44 kB�[22m�[1m�[22m�[2m │ gzip:  0.28 kB�[22m
2024-02-21T10:32:09.147318Z   �[2mdist/�[22m�[36mbuild/q-DkorVdrq.js    �[39m�[1m�[2m 0.47 kB�[22m�[1m�[22m�[2m │ gzip:  0.32 kB�[22m
2024-02-21T10:32:09.14747Z    �[2mdist/�[22m�[36mbuild/q-C0iLi_Qn.js    �[39m�[1m�[2m 0.51 kB�[22m�[1m�[22m�[2m │ gzip:  0.32 kB�[22m
2024-02-21T10:32:09.147671Z   �[2mdist/�[22m�[36mbuild/q-DVxaGyR6.js    �[39m�[1m�[2m 0.55 kB�[22m�[1m�[22m�[2m │ gzip:  0.36 kB�[22m
2024-02-21T10:32:09.147865Z   �[2mdist/�[22m�[36mbuild/q-DcZ-38Dk.js    �[39m�[1m�[2m 0.58 kB�[22m�[1m�[22m�[2m │ gzip:  0.37 kB�[22m
2024-02-21T10:32:09.148018Z   �[2mdist/�[22m�[36mbuild/q-WXT699jY.js    �[39m�[1m�[2m 0.61 kB�[22m�[1m�[22m�[2m │ gzip:  0.38 kB�[22m
2024-02-21T10:32:09.148164Z   �[2mdist/�[22m�[36mbuild/q-DzP1xvWc.js    �[39m�[1m�[2m 0.70 kB�[22m�[1m�[22m�[2m │ gzip:  0.44 kB�[22m
2024-02-21T10:32:09.148286Z   �[2mdist/�[22m�[36mbuild/q-7czoeQDx.js    �[39m�[1m�[2m 0.74 kB�[22m�[1m�[22m�[2m │ gzip:  0.42 kB�[22m
2024-02-21T10:32:09.148413Z   �[2mdist/�[22m�[36mbuild/q-BXV2vtJe.js    �[39m�[1m�[2m 0.75 kB�[22m�[1m�[22m�[2m │ gzip:  0.46 kB�[22m
2024-02-21T10:32:09.148537Z   �[2mdist/�[22m�[36mbuild/q-pEbALzsF.js    �[39m�[1m�[2m 0.77 kB�[22m�[1m�[22m�[2m │ gzip:  0.42 kB�[22m
2024-02-21T10:32:09.148686Z   �[2mdist/�[22m�[36mbuild/q-DqBGAW7D.js    �[39m�[1m�[2m 0.89 kB�[22m�[1m�[22m�[2m │ gzip:  0.56 kB�[22m
2024-02-21T10:32:09.148827Z   �[2mdist/�[22m�[36mbuild/q-BjLUUWcz.js    �[39m�[1m�[2m 0.96 kB�[22m�[1m�[22m�[2m │ gzip:  0.51 kB�[22m
2024-02-21T10:32:09.148972Z   �[2mdist/�[22m�[36mbuild/q-HLMNM8hx.js    �[39m�[1m�[2m 0.97 kB�[22m�[1m�[22m�[2m │ gzip:  0.59 kB�[22m
2024-02-21T10:32:09.14912Z    �[2mdist/�[22m�[36mbuild/q-CxwRI_fv.js    �[39m�[1m�[2m 1.20 kB�[22m�[1m�[22m�[2m │ gzip:  0.62 kB�[22m
2024-02-21T10:32:09.149318Z   �[2mdist/�[22m�[36mbuild/q-BA4Ym2hY.js    �[39m�[1m�[2m 1.22 kB�[22m�[1m�[22m�[2m │ gzip:  0.73 kB�[22m
2024-02-21T10:32:09.149474Z   �[2mdist/�[22m�[36mbuild/q-CCIkZ1M4.js    �[39m�[1m�[2m 1.33 kB�[22m�[1m�[22m�[2m │ gzip:  0.75 kB�[22m
2024-02-21T10:32:09.149657Z   �[2mdist/�[22m�[36mbuild/q-BHaV8bhY.js    �[39m�[1m�[2m 1.34 kB�[22m�[1m�[22m�[2m │ gzip:  0.72 kB�[22m
2024-02-21T10:32:09.149819Z   �[2mdist/�[22m�[36mbuild/q-CnklD6G0.js    �[39m�[1m�[2m 1.36 kB�[22m�[1m�[22m�[2m │ gzip:  0.67 kB�[22m
2024-02-21T10:32:09.149965Z   �[2mdist/�[22m�[36mbuild/q-D7qP6TaP.js    �[39m�[1m�[2m 1.68 kB�[22m�[1m�[22m�[2m │ gzip:  0.81 kB�[22m
2024-02-21T10:32:09.150138Z   �[2mdist/�[22m�[36mbuild/q-D4wX7Hlc.js    �[39m�[1m�[2m 1.87 kB�[22m�[1m�[22m�[2m │ gzip:  0.97 kB�[22m
2024-02-21T10:32:09.150441Z   �[2mdist/�[22m�[36mbuild/q-fJkQnue_.js    �[39m�[1m�[2m 2.29 kB�[22m�[1m�[22m�[2m │ gzip:  1.11 kB�[22m
2024-02-21T10:32:09.150723Z   �[2mdist/�[22m�[36mbuild/q-C-2PR1O4.js    �[39m�[1m�[2m 2.87 kB�[22m�[1m�[22m�[2m │ gzip:  1.31 kB�[22m
2024-02-21T10:32:09.150848Z   �[2mdist/�[22m�[36mbuild/q-DnS0KCFu.js    �[39m�[1m�[2m 3.03 kB�[22m�[1m�[22m�[2m │ gzip:  1.04 kB�[22m
2024-02-21T10:32:09.151122Z   �[2mdist/�[22m�[36mbuild/q-BDtmaECv.js    �[39m�[1m�[2m 3.82 kB�[22m�[1m�[22m�[2m │ gzip:  1.84 kB�[22m
2024-02-21T10:32:09.151241Z   �[2mdist/�[22m�[36mbuild/q-BpaN5ZYx.js    �[39m�[1m�[2m 5.55 kB�[22m�[1m�[22m�[2m │ gzip:  2.22 kB�[22m
2024-02-21T10:32:09.151344Z   �[2mdist/�[22m�[36mbuild/q-BqVslDWH.js    �[39m�[1m�[2m 6.02 kB�[22m�[1m�[22m�[2m │ gzip:  2.55 kB�[22m
2024-02-21T10:32:09.15144Z    �[2mdist/�[22m�[36mbuild/q-6AiTGm6m.js    �[39m�[1m�[2m 9.54 kB�[22m�[1m�[22m�[2m │ gzip:  4.44 kB�[22m
2024-02-21T10:32:09.151536Z   �[2mdist/�[22m�[36mservice-worker.js      �[39m�[1m�[2m19.49 kB�[22m�[1m�[22m�[2m │ gzip:  6.74 kB�[22m
2024-02-21T10:32:09.151633Z   �[2mdist/�[22m�[36mbuild/q-KemCkf1D.js    �[39m�[1m�[2m50.85 kB�[22m�[1m�[22m�[2m │ gzip: 20.68 kB�[22m
2024-02-21T10:32:09.151727Z   �[32m✓ built in 1.77s�[39m
2024-02-21T10:32:09.156243Z   [
2024-02-21T10:32:09.156501Z     {
2024-02-21T10:32:09.156665Z       id: 'IndexRoute',
2024-02-21T10:32:09.156922Z       filePath: '/opt/buildhome/repo/src/routes/index.tsx',
2024-02-21T10:32:09.157096Z       pathname: '/',
2024-02-21T10:32:09.157235Z       layouts: [ [Object] ],
2024-02-21T10:32:09.157364Z       ext: '.tsx',
2024-02-21T10:32:09.157505Z       pattern: /^\/$/,
2024-02-21T10:32:09.157651Z       routeName: '/',
2024-02-21T10:32:09.157781Z       paramNames: [],
2024-02-21T10:32:09.157924Z       segments: [ [Array] ]
2024-02-21T10:32:09.158065Z     },
2024-02-21T10:32:09.158209Z     {
2024-02-21T10:32:09.158423Z       id: 'DemoFlowerRoute',
2024-02-21T10:32:09.158614Z       filePath: '/opt/buildhome/repo/src/routes/demo/flower/index.tsx',
2024-02-21T10:32:09.158796Z       pathname: '/demo/flower/',
2024-02-21T10:32:09.158959Z       layouts: [ [Object] ],
2024-02-21T10:32:09.159112Z       ext: '.tsx',
2024-02-21T10:32:09.159256Z       pattern: /^\/demo\/flower\/?$/,
2024-02-21T10:32:09.159389Z       routeName: 'demo/flower/',
2024-02-21T10:32:09.159529Z       paramNames: [],
2024-02-21T10:32:09.159663Z       segments: [ [Array], [Array], [] ]
2024-02-21T10:32:09.159805Z     },
2024-02-21T10:32:09.159957Z     {
2024-02-21T10:32:09.160094Z       id: 'DemoTodolistRoute',
2024-02-21T10:32:09.160236Z       filePath: '/opt/buildhome/repo/src/routes/demo/todolist/index.tsx',
2024-02-21T10:32:09.160369Z       pathname: '/demo/todolist/',
2024-02-21T10:32:09.16072Z        layouts: [ [Object] ],
2024-02-21T10:32:09.16088Z        ext: '.tsx',
2024-02-21T10:32:09.161038Z       pattern: /^\/demo\/todolist\/?$/,
2024-02-21T10:32:09.161177Z       routeName: 'demo/todolist/',
2024-02-21T10:32:09.161326Z       paramNames: [],
2024-02-21T10:32:09.161482Z       segments: [ [Array], [Array], [] ]
2024-02-21T10:32:09.161626Z     }
2024-02-21T10:32:09.161769Z   ]
2024-02-21T10:32:09.195859Z   
2024-02-21T10:32:09.196213Z   ✓ Built client modules
2024-02-21T10:32:09.56325Z    
2024-02-21T10:32:09.563573Z   > build.server
2024-02-21T10:32:09.563725Z   > vite build -c adapters/cloudflare-pages/vite.config.ts
2024-02-21T10:32:09.563887Z   
2024-02-21T10:32:10.192218Z   �[33mThe CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.�[39m
2024-02-21T10:32:10.68129Z    �[36mvite v5.1.3 �[32mbuilding SSR bundle for production...�[36m�[39m
2024-02-21T10:32:12.944685Z   transforming...
2024-02-21T10:32:14.836992Z   �[32m✓�[39m 38 modules transformed.
2024-02-21T10:32:14.911343Z   rendering chunks...
2024-02-21T10:32:14.963325Z   �[2mserver/�[22m�[35mbuild/q-BqbdkZLO.css                �[39m�[1m�[2m  3.99 kB�[22m�[1m�[22m
2024-02-21T10:32:14.963625Z   �[2mserver/�[22m�[36mentry.ssr.js                        �[39m�[1m�[2m  0.12 kB�[22m�[1m�[22m
2024-02-21T10:32:14.963873Z   �[2mserver/�[22m�[36m@qwik-city-plan.js                  �[39m�[1m�[2m  0.22 kB�[22m�[1m�[22m
2024-02-21T10:32:14.964058Z   �[2mserver/�[22m�[36mentry.cloudflare-pages.js           �[39m�[1m�[2m 19.34 kB�[22m�[1m�[22m
2024-02-21T10:32:14.964203Z   �[2mserver/�[22m�[2massets/�[22m�[36mentry.ssr-8WfIanBo.js        �[39m�[1m�[2m 52.43 kB�[22m�[1m�[22m
2024-02-21T10:32:14.964325Z   �[2mserver/�[22m�[2massets/�[22m�[36m@qwik-city-plan-DgDi3uMN.js  �[39m�[1m�[2m157.29 kB�[22m�[1m�[22m
2024-02-21T10:32:14.9645Z �[32m✓ built in 4.26s�[39m
2024-02-21T10:32:14.964722Z   [QWIK PLUGIN: 754] Qwik Insight not found  `/opt/buildhome/repo/dist/q-insights.json`, skipping.
2024-02-21T10:32:14.964839Z           Consider setting up https://qwik.builder.io/docs/labs/insights/ for better bundle optimization.
2024-02-21T10:32:15.013628Z   
2024-02-21T10:32:15.013864Z   �[1m�[32mStarting Qwik City SSG...�[39m�[22m
2024-02-21T10:32:15.020043Z   
2024-02-21T10:32:15.02024Z    �[32mSSG results�[39m
2024-02-21T10:32:15.021849Z   - Duration: �[2m5.7 ms�[22m
2024-02-21T10:32:15.022218Z   
2024-02-21T10:32:15.979343Z   ✓ Built server (ssr) modules
2024-02-21T10:32:15.979626Z   
2024-02-21T10:32:16.000091Z   Finished
2024-02-21T10:32:16.00065Z    Found _worker.js in output directory. Uploading.
2024-02-21T10:32:17.187775Z   ✨ Compiled Worker successfully
2024-02-21T10:32:17.242313Z   Found _routes.json in output directory. Uploading.
2024-02-21T10:32:17.255057Z   Validating asset output directory
2024-02-21T10:32:18.042761Z   Deploying your site to Cloudflare's global network...
2024-02-21T10:32:19.961751Z   Parsed 0 valid redirect rules.
2024-02-21T10:32:19.962391Z   Parsed 1 valid header rule.
2024-02-21T10:32:21.220153Z   Uploading... (24/56)
2024-02-21T10:32:22.016348Z   Uploading... (35/56)
2024-02-21T10:32:22.072991Z   Uploading... (45/56)
2024-02-21T10:32:22.194076Z   Uploading... (56/56)
2024-02-21T10:32:22.194288Z   ✨ Success! Uploaded 32 files (24 already uploaded) (1.33 sec)
2024-02-21T10:32:22.194419Z   
2024-02-21T10:32:22.39919Z    ✨ Upload complete!
2024-02-21T10:32:25.198811Z   Success: Assets published!
2024-02-21T10:32:28.659931Z   Success: Your site was deployed!

Hi, thanks for reporting! we will resolve this issue very soon.

Aslemammad commented 9 months ago

This should fix it https://github.com/QwikDev/pwa/pull/10

Aslemammad commented 9 months ago

just released 0.0.4.