Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infinite loop when local deployment. Remote deployment in Vercel is not satisfied if missing -L option which casues issue when building client. #152

Open
1 task
codenamedpkt opened this issue Apr 27, 2024 · 0 comments
Labels

Comments

@codenamedpkt
Copy link

How is Anse deployed?

Others (Specify in description)

Describe the bug

Local deployment keeps looping. Remote if Vercel, with -L, will ran issue when deployment. Recommend update package.json and package-lock.json if any, plus add pnpm i && pnpm up -L prefix in the files mentioned.

Console Logs

Local

pnpm I && pnpm up -L && pnpm run build
Lockfile is up to date, resolution step is skipped
Already up to date
Done in 2.9s
 WARN  1 deprecated subdependencies found: sourcemap-codec@1.4.8
Already up to date
Progress: resolved 1373, reused 1309, downloaded 0, added 0, done
Done in 45.3s

> anse@1.1.11 build /data/data/com.termux/files/home/anse
> astro build

04:17:33 PM [content] No content directory found. Skipping type generation.
04:17:33 PM [build] output target: server
04:17:33 PM [build] deploy adapter: @astrojs/node
04:17:33 PM [build] Collecting build info...
04:17:33 PM [build] Completed in 0.99s.
04:17:33 PM [build] Building server entrypoints...
04:17:45 PM [build] Completed in 11.92s.

 building client

(!) Some chunks are larger than 500 kBs after minification. Consider:
- Using dynamic import() to code-split the application
- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
Infinite loop here

Vercel

[16:20:45] Running build in Washington, D.C., USA (East) – iad1
[16:20:45] Cloning github.com/mrpoons-studio/anse (Branch: main, Commit: 0d3c0cc)
[16:20:45] Skipping build cache, deployment was triggered without cache.
[16:20:45] Cloning completed: 283.984ms
[16:20:45] Running "vercel build"
[16:20:46] Vercel CLI 34.1.3
[16:20:46] Running "install" command: `pnpm i && pnpm up -L`...
[16:20:47] Progress: resolved 1, reused 0, downloaded 0, added 0
[16:20:48] Progress: resolved 22, reused 0, downloaded 15, added 0
[16:20:49] Progress: resolved 51, reused 0, downloaded 42, added 0
[16:20:50] Progress: resolved 91, reused 0, downloaded 81, added 0
[16:20:51] Progress: resolved 145, reused 0, downloaded 125, added 0
[16:20:52] Progress: resolved 171, reused 0, downloaded 154, added 0
[16:20:53] Progress: resolved 231, reused 0, downloaded 210, added 0
[16:20:54] Progress: resolved 286, reused 0, downloaded 260, added 0
[16:20:55] Progress: resolved 335, reused 0, downloaded 306, added 0
[16:20:56] Progress: resolved 373, reused 0, downloaded 342, added 0
[16:20:57] Progress: resolved 473, reused 0, downloaded 400, added 0
[16:20:58] Progress: resolved 530, reused 0, downloaded 445, added 0
[16:20:59] Progress: resolved 645, reused 0, downloaded 553, added 0
[16:21:00] Progress: resolved 743, reused 0, downloaded 649, added 0
[16:21:01] Progress: resolved 849, reused 0, downloaded 743, added 0
[16:21:02] Progress: resolved 920, reused 0, downloaded 812, added 0
[16:21:03]  WARN  deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
[16:21:03] Progress: resolved 1046, reused 0, downloaded 911, added 0
[16:21:04] Progress: resolved 1129, reused 0, downloaded 987, added 0
[16:21:05] Progress: resolved 1226, reused 0, downloaded 1076, added 0
[16:21:06] Progress: resolved 1355, reused 0, downloaded 1199, added 0
[16:21:07] Progress: resolved 1375, reused 0, downloaded 1305, added 0
[16:21:08] Packages: +1316
[16:21:08] ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[16:21:08] Progress: resolved 1420, reused 0, downloaded 1312, added 0
[16:21:08] Packages are cloned from the content-addressable store to the virtual store.
[16:21:08]   Content-addressable store is at: /vercel/.pnpm-store/v3
[16:21:08]   Virtual store is at:             node_modules/.pnpm
[16:21:09] Progress: resolved 1420, reused 0, downloaded 1316, added 429
[16:21:10] Progress: resolved 1420, reused 0, downloaded 1319, added 939
[16:21:11] Progress: resolved 1420, reused 0, downloaded 1320, added 1316, done
[16:21:11] .../esbuild@0.15.18/node_modules/esbuild postinstall$ node install.js
[16:21:11] .../esbuild@0.18.20/node_modules/esbuild postinstall$ node install.js
[16:21:11] .../esbuild@0.17.19/node_modules/esbuild postinstall$ node install.js
[16:21:11] .../esbuild@0.19.12/node_modules/esbuild postinstall$ node install.js
[16:21:11] .../esbuild@0.15.18/node_modules/esbuild postinstall: Done
[16:21:11] .../esbuild@0.18.20/node_modules/esbuild postinstall: Done
[16:21:11] .../esbuild@0.17.19/node_modules/esbuild postinstall: Done
[16:21:11] .../esbuild@0.19.12/node_modules/esbuild postinstall: Done
[16:21:13] 
[16:21:13] dependencies:
[16:21:13] + @astrojs/compiler 2.7.1
[16:21:13] + @astrojs/netlify 2.3.0 (5.2.0 is available)
[16:21:13] + @astrojs/node 5.3.6 (8.2.5 is available)
[16:21:13] + @astrojs/solid-js 2.2.1 (4.1.0 is available)
[16:21:13] + @astrojs/vercel 3.8.2 (7.5.4 is available)
[16:21:13] + @babel/core 7.24.4
[16:21:13] + @mapbox/rehype-prism 0.8.0 (0.9.0 is available)
[16:21:13] + @nanostores/solid 0.4.2
[16:21:13] + @solid-primitives/clipboard 1.5.10
[16:21:13] + @solid-primitives/event-listener 2.3.3
[16:21:13] + @solid-primitives/keyboard 1.2.8
[16:21:13] + @solid-primitives/scheduled 1.4.3
[16:21:13] + @solid-primitives/scroll 2.0.23
[16:21:13] + @unocss/reset 0.53.6 (0.59.4 is available)
[16:21:13] + @zag-js/checkbox 0.10.5 (0.48.0 is available)
[16:21:13] + @zag-js/dialog 0.10.5 (0.48.0 is available)
[16:21:13] + @zag-js/menu 0.10.5 (0.48.0 is available)
[16:21:13] + @zag-js/select 0.10.5 (0.48.0 is available)
[16:21:13] + @zag-js/slider 0.10.5 (0.48.0 is available)
[16:21:13] + @zag-js/solid 0.10.5 (0.48.0 is available)
[16:21:13] + @zag-js/switch 0.10.5 (0.48.0 is available)
[16:21:13] + @zag-js/tabs 0.10.5 (0.48.0 is available)
[16:21:13] + @zag-js/toast 0.10.5 (0.48.0 is available)
[16:21:13] + @zag-js/toggle 0.10.5 (0.19.1 is available)
[16:21:13] + @zag-js/tooltip 0.10.5 (0.48.0 is available)
[16:21:13] + acorn 8.11.3
[16:21:13] + ajv 8.12.0
[16:21:13] + astro 2.10.15 (4.7.0 is available)
[16:21:13] + browserslist 4.23.0
[16:21:13] + bumpp 9.4.0
[16:21:13] + destr 2.0.3
[16:21:13] + eslint 8.57.0 (9.1.1 is available)
[16:21:13] + eslint-plugin-import 2.29.1
[16:21:13] + eslint-plugin-n 16.6.2 (17.3.1 is available)
[16:21:13] + eslint-plugin-promise 6.1.1
[16:21:13] + eventsource-parser 1.1.2
[16:21:13] + idb-keyval 6.2.1
[16:21:13] + js-sha256 0.9.0 (0.11.0 is available)
[16:21:13] + katex 0.16.10
[16:21:13] + nanostores 0.9.5 (0.10.3 is available)
[16:21:13] + postcss 8.4.38
[16:21:13] + prism-theme-vars 0.2.5
[16:21:13] + react 18.3.1
[16:21:13] + rehype-katex 6.0.3 (7.0.0 is available)
[16:21:13] + rehype-stringify 9.0.4 (10.0.0 is available)
[16:21:13] + remark-gfm 3.0.1 (4.0.0 is available)
[16:21:13] + remark-math 5.1.1 (6.0.0 is available)
[16:21:13] + remark-parse 10.0.2 (11.0.0 is available)
[16:21:13] + remark-rehype 10.1.0 (11.1.0 is available)
[16:21:13] + rollup 2.79.1 (4.16.4 is available)
[16:21:13] + solid-emoji-picker 0.2.1 (0.3.0 is available)
[16:21:13] + solid-js 1.8.7 (1.8.17 is available)
[16:21:13] + solid-transition-group 0.2.3
[16:21:13] + typescript 5.4.5
[16:21:13] + unified 10.1.2 (11.0.4 is available)
[16:21:13] + vite 5.0.0-beta.20 (5.2.10 is available)
[16:21:13] + workbox-build 7.1.0
[16:21:13] + workbox-window 7.1.0
[16:21:13] 
[16:21:13] devDependencies:
[16:21:13] + @evan-yang/eslint-config 1.0.9
[16:21:13] + @iconify-json/carbon 1.1.31
[16:21:13] + @iconify-json/simple-icons 1.1.100
[16:21:13] + @types/mapbox__rehype-prism 0.8.3
[16:21:13] + @typescript-eslint/parser 5.62.0 (7.7.1 is available)
[16:21:13] + @vite-pwa/astro 0.1.6 (0.3.1 is available)
[16:21:13] + eslint-plugin-astro 0.27.2 (1.0.3 is available)
[16:21:13] + html2canvas 1.4.1
[16:21:13] + punycode 2.3.1
[16:21:13] + unocss 0.50.8 (0.59.4 is available)
[16:21:13] + vite-plugin-pwa 0.16.7 (0.19.8 is available)
[16:21:13] 
[16:21:13]  WARN  Issues with peer dependencies found
[16:21:13] .
[16:21:13] └─┬ unocss
[16:21:13]   └─┬ @unocss/astro
[16:21:13]     └─┬ @unocss/vite
[16:21:13]       └── ✕ unmet peer vite@"^2.9.0 || ^3.0.0-0 || ^4.0.0": found 5.0.0-beta.20
[16:21:13] 
[16:21:14] Progress: resolved 1, reused 0, downloaded 0, added 0
[16:21:15] Progress: resolved 53, reused 19, downloaded 25, added 0
[16:21:16] Progress: resolved 122, reused 44, downloaded 61, added 0
[16:21:17] Progress: resolved 207, reused 83, downloaded 104, added 0
[16:21:18] Progress: resolved 288, reused 131, downloaded 126, added 0
[16:21:19] Progress: resolved 420, reused 204, downloaded 137, added 0
[16:21:20] Progress: resolved 538, reused 289, downloaded 178, added 0
[16:21:21] Progress: resolved 717, reused 434, downloaded 200, added 0
[16:21:22] Progress: resolved 921, reused 546, downloaded 213, added 0
[16:21:22]  WARN  deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
[16:21:23] Progress: resolved 1175, reused 654, downloaded 225, added 0
[16:21:24] Progress: resolved 1188, reused 873, downloaded 237, added 0
[16:21:24] Packages: +276 -486
[16:21:24] ++++++++++++++++++++++++++++----------------------------------------------------
[16:21:25] Progress: resolved 1188, reused 873, downloaded 237, added 276, done
[16:21:26] .../esbuild@0.20.2/node_modules/esbuild postinstall$ node install.js
[16:21:26] .../esbuild@0.20.2/node_modules/esbuild postinstall: Done
[16:21:26] .../sharp@0.33.3/node_modules/sharp install$ node install/check
[16:21:26] .../sharp@0.33.3/node_modules/sharp install: Done
[16:21:27] 
[16:21:27] dependencies:
[16:21:27] - @astrojs/netlify 2.3.0
[16:21:27] + @astrojs/netlify 5.2.0
[16:21:27] - @astrojs/node 5.3.6
[16:21:27] + @astrojs/node 8.2.5
[16:21:27] - @astrojs/solid-js 2.2.1
[16:21:27] + @astrojs/solid-js 4.1.0
[16:21:27] - @astrojs/vercel 3.8.2
[16:21:27] + @astrojs/vercel 7.5.4
[16:21:27] - @mapbox/rehype-prism 0.8.0
[16:21:27] + @mapbox/rehype-prism 0.9.0
[16:21:27] - @unocss/reset 0.53.6
[16:21:27] + @unocss/reset 0.59.4
[16:21:27] - @zag-js/checkbox 0.10.5
[16:21:27] + @zag-js/checkbox 0.48.0
[16:21:27] - @zag-js/dialog 0.10.5
[16:21:27] + @zag-js/dialog 0.48.0
[16:21:27] - @zag-js/menu 0.10.5
[16:21:27] + @zag-js/menu 0.48.0
[16:21:27] - @zag-js/select 0.10.5
[16:21:27] + @zag-js/select 0.48.0
[16:21:27] - @zag-js/slider 0.10.5
[16:21:27] + @zag-js/slider 0.48.0
[16:21:27] - @zag-js/solid 0.10.5
[16:21:27] + @zag-js/solid 0.48.0
[16:21:27] - @zag-js/switch 0.10.5
[16:21:27] + @zag-js/switch 0.48.0
[16:21:27] - @zag-js/tabs 0.10.5
[16:21:27] + @zag-js/tabs 0.48.0
[16:21:27] - @zag-js/toast 0.10.5
[16:21:27] + @zag-js/toast 0.48.0
[16:21:27] - @zag-js/toggle 0.10.5
[16:21:27] + @zag-js/toggle 0.19.1
[16:21:27] - @zag-js/tooltip 0.10.5
[16:21:27] + @zag-js/tooltip 0.48.0
[16:21:27] - astro 2.10.15
[16:21:27] + astro 4.7.0
[16:21:27] - eslint 8.57.0
[16:21:27] + eslint 9.1.1
[16:21:27] + eslint-plugin-import 2.29.1
[16:21:27] + eslint-plugin-n 16.6.2 (17.3.1 is available)
[16:21:27] + eslint-plugin-promise 6.1.1
[16:21:27] - js-sha256 0.9.0
[16:21:27] + js-sha256 0.11.0
[16:21:27] - nanostores 0.9.5
[16:21:27] + nanostores 0.10.3
[16:21:27] - rehype-katex 6.0.3
[16:21:27] + rehype-katex 7.0.0
[16:21:27] - rehype-stringify 9.0.4
[16:21:27] + rehype-stringify 10.0.0
[16:21:27] - remark-gfm 3.0.1
[16:21:27] + remark-gfm 4.0.0
[16:21:27] - remark-math 5.1.1
[16:21:27] + remark-math 6.0.0
[16:21:27] - remark-parse 10.0.2
[16:21:27] + remark-parse 11.0.0
[16:21:27] - remark-rehype 10.1.0
[16:21:27] + remark-rehype 11.1.0
[16:21:27] + seroval 1.0.5
[16:21:27] - solid-emoji-picker 0.2.1
[16:21:27] + solid-emoji-picker 0.3.0
[16:21:27] - solid-js 1.8.7
[16:21:27] + solid-js 1.8.17
[16:21:27] - unified 10.1.2
[16:21:27] + unified 11.0.4
[16:21:27] + vite 5.2.10
[16:21:27] + zod 3.23.4
[16:21:27] 
[16:21:27] devDependencies:
[16:21:27] - @typescript-eslint/parser 5.62.0
[16:21:27] + @typescript-eslint/parser 7.7.1
[16:21:27] - @vite-pwa/astro 0.1.6
[16:21:27] + @vite-pwa/astro 0.3.1
[16:21:27] - eslint-plugin-astro 0.27.2
[16:21:27] + eslint-plugin-astro 1.0.3
[16:21:27] - unocss 0.50.8
[16:21:27] + unocss 0.59.4
[16:21:27] - vite-plugin-pwa 0.16.7
[16:21:27] + vite-plugin-pwa 0.19.8
[16:21:27] 
[16:21:27]  WARN  Issues with peer dependencies found
[16:21:27] .
[16:21:27] ├─┬ @evan-yang/eslint-config
[16:21:27] │ ├── ✕ unmet peer eslint@^8.0.0: found 9.1.1
[16:21:27] │ └─┬ @evan-yang/eslint-plugin
[16:21:27] │   ├── ✕ unmet peer eslint@^8.0.0: found 9.1.1
[16:21:27] │   ├─┬ @typescript-eslint/eslint-plugin
[16:21:27] │   │ ├── ✕ unmet peer eslint@"^6.0.0 || ^7.0.0 || ^8.0.0": found 9.1.1
[16:21:27] │   │ └─┬ @typescript-eslint/type-utils
[16:21:27] │   │   └─┬ @typescript-eslint/utils
[16:21:27] │   │     └── ✕ unmet peer eslint@"^6.0.0 || ^7.0.0 || ^8.0.0": found 9.1.1
[16:21:27] │   ├─┬ @typescript-eslint/parser
[16:21:27] │   │ └── ✕ unmet peer eslint@"^6.0.0 || ^7.0.0 || ^8.0.0": found 9.1.1
[16:21:27] │   ├─┬ eslint-config-standard
[16:21:27] │   │ └── ✕ unmet peer eslint@^8.0.1: found 9.1.1
[16:21:27] │   ├─┬ eslint-plugin-import
[16:21:27] │   │ └── ✕ unmet peer eslint@"^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8": found 9.1.1
[16:21:27] │   ├─┬ eslint-plugin-jsx-a11y
[16:21:27] │   │ └── ✕ unmet peer eslint@"^3 || ^4 || ^5 || ^6 || ^7 || ^8": found 9.1.1
[16:21:27] │   ├─┬ eslint-plugin-promise
[16:21:27] │   │ └── ✕ unmet peer eslint@"^7.0.0 || ^8.0.0": found 9.1.1
[16:21:27] │   ├─┬ eslint-plugin-react
[16:21:27] │   │ └── ✕ unmet peer eslint@"^3 || ^4 || ^5 || ^6 || ^7 || ^8": found 9.1.1
[16:21:27] │   ├─┬ eslint-plugin-react-hooks
[16:21:27] │   │ └── ✕ unmet peer eslint@"^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0": found 9.1.1
[16:21:27] │   └─┬ eslint-plugin-vue
[16:21:27] │     └── ✕ unmet peer eslint@"^6.2.0 || ^7.0.0 || ^8.0.0": found 9.1.1
[16:21:27] ├─┬ @typescript-eslint/parser
[16:21:27] │ └── ✕ unmet peer eslint@^8.56.0: found 9.1.1
[16:21:27] └─┬ eslint-plugin-import
[16:21:27]   └── ✕ unmet peer eslint@"^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8": found 9.1.1
[16:21:27] 
[16:21:27]  WARN  The integrity of 1404 files was checked. This might have caused installation to take longer.
[16:21:28] [astro] Unable to load your Astro config
[16:21:28] 
[16:21:28] Missing "./edge" specifier in "@astrojs/vercel" package
[16:21:28]   Stack trace:
[16:21:28]     at e (file:///vercel/path0/node_modules/.pnpm/vite@5.2.10/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:47596:25)
[16:21:28]     at o (file:///vercel/path0/node_modules/.pnpm/vite@5.2.10/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:47596:1297)
[16:21:28]     at resolveDeepImport (file:///vercel/path0/node_modules/.pnpm/vite@5.2.10/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:48305:31)
[16:21:28]     at Context.resolveId (file:///vercel/path0/node_modules/.pnpm/vite@5.2.10/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:47780:28)
[16:21:28]     at async TransformContext.resolve (file:///vercel/path0/node_modules/.pnpm/vite@5.2.10/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:50748:23)
[16:21:28] Error: Command "OUTPUT=vercel astro build" exited with 1
[16:21:29] 

Netlify needs update netlify.toml to see if error occurs.

Participation

  • I am willing to submit a pull request for this issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant