notea-org / notea

πŸ“’ Self hosted note taking app stored on S3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

500 internal error (vercel. notify)

aquinary opened this issue Β· comments

Vercel:

[14:26:10.087] Cloning github.com/Aquinary/notea (Branch: main, Commit: b656e5b)
[14:26:10.463] Cloning completed: 375.134ms
[14:26:11.198] Looking up build cache...
[14:26:15.405] Build cache downloaded [89.84 MB]: 4207ms
[14:26:15.445] Running "vercel build"
[14:26:15.923] Vercel CLI 28.4.12-05a80a4
[14:26:16.238] Installing dependencies...
[14:26:16.580] yarn install v1.22.17
[14:26:16.679] [1/5] Resolving packages...
[14:26:16.844] warning Resolution field "prosemirror-model@1.16.1" is incompatible with requested version "prosemirror-model@^1.18.1"
[14:26:17.112] success Already up-to-date.
[14:26:17.122] $ yarn autoclean --force
[14:26:17.406] yarn autoclean v1.22.17
[14:26:17.444] [1/1] Cleaning modules...
[14:26:20.321] info Removed 0 files
[14:26:20.322] info Saved 0 MB.
[14:26:20.322] Done in 2.92s.
[14:26:20.337] Done in 3.76s.
[14:26:20.356] Detected Next.js version: 12.3.1
[14:26:20.362] Running "yarn run build"
[14:26:20.625] yarn run v1.22.17
[14:26:20.666] $ next build
[14:26:21.742] info - Linting and checking validity of types...
[14:26:26.158]
[14:26:26.159] ./pages/index.tsx
[14:26:26.159] 32:29 Warning: Do not use . Use Image from 'next/image' instead. See https://nextjs.org/docs/messages/no-img-element. @next/next/no-img-element
[14:26:26.160] 32:29 Warning: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text
[14:26:26.160]
[14:26:26.160] ./pages/login.tsx
[14:26:26.161] 44:17 Warning: Do not use . Use Image from 'next/image' instead. See https://nextjs.org/docs/messages/no-img-element. @next/next/no-img-element
[14:26:26.161]
[14:26:26.161] ./components/editor/editor.tsx
[14:26:26.162] 75:1 Warning: Expected indentation of 12 spaces but found 24. indent
[14:26:26.162] 76:1 Warning: Expected indentation of 16 spaces but found 30. indent
[14:26:26.162] 77:1 Warning: Expected indentation of 12 spaces but found 26. indent
[14:26:26.163]
[14:26:26.163] ./components/editor/embeds/bookmark.tsx
[14:26:26.163] 52:21 Warning: Do not use . Use Image from 'next/image' instead. See https://nextjs.org/docs/messages/no-img-element. @next/next/no-img-element
[14:26:26.164]
[14:26:26.164] ./components/portal/filter-modal/filter-modal.tsx
[14:26:26.164] 33:1 Warning: Expected indentation of 12 spaces but found 14. indent
[14:26:26.165] 34:1 Warning: Expected indentation of 8 spaces but found 10. indent
[14:26:26.165] 36:1 Warning: Expected indentation of 12 spaces but found 14. indent
[14:26:26.165] 37:1 Warning: Expected indentation of 16 spaces but found 18. indent
[14:26:26.166] 38:1 Warning: Expected indentation of 16 spaces but found 18. indent
[14:26:26.166] 39:1 Warning: Expected indentation of 12 spaces but found 14. indent
[14:26:26.167]
[14:26:26.167] ./components/settings/export-button.tsx
[14:26:26.167] 21:9 Warning: passHref is missing. See https://nextjs.org/docs/messages/link-passhref @next/next/link-passhref
[14:26:26.168]
[14:26:26.168] ./components/sidebar/sidebar-list-item.tsx
[14:26:26.168] 123:1 Warning: Expected indentation of 44 spaces but found 40. indent
[14:26:26.169] 124:1 Warning: Expected indentation of 44 spaces but found 40. indent
[14:26:26.169]
[14:26:26.169] info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
[14:26:27.015] info - Creating an optimized production build...
[14:26:27.358] > [PWA] Compile client (static)
[14:26:27.359] > [PWA] Auto register service worker with: /vercel/path0/node_modules/next-pwa/register.js
[14:26:27.359] > [PWA] Service worker: /vercel/path0/public/sw.js
[14:26:27.359] > [PWA] url: /sw.js
[14:26:27.359] > [PWA] scope: /
[14:26:27.609] > [PWA] Compile server
[14:26:27.612] > [PWA] Compile server
[14:26:42.649] info - Compiled successfully
[14:26:42.649] info - Collecting page data...
[14:26:44.733] info - Generating static pages (0/2)
[14:26:44.774] info - Generating static pages (2/2)
[14:26:44.789] info - Finalizing page optimization...
[14:26:44.791]
[14:26:44.810] Route (pages) Size First Load JS
[14:26:44.810] β”Œ Ξ» / 627 B 736 kB
[14:26:44.810] β”œ /_app 0 B 140 kB
[14:26:44.810] β”œ Ξ» /[id] 7.07 kB 745 kB
[14:26:44.811] β”œ β—‹ /404 183 B 140 kB
[14:26:44.811] β”œ Ξ» /api/auth/login 0 B 140 kB
[14:26:44.811] β”œ Ξ» /api/auth/user 0 B 140 kB
[14:26:44.811] β”œ Ξ» /api/export 0 B 140 kB
[14:26:44.811] β”œ Ξ» /api/extract 0 B 140 kB
[14:26:44.811] β”œ Ξ» /api/file/[...file] 0 B 140 kB
[14:26:44.811] β”œ Ξ» /api/import 0 B 140 kB
[14:26:44.811] β”œ Ξ» /api/notes 0 B 140 kB
[14:26:44.811] β”œ Ξ» /api/notes/[id] 0 B 140 kB
[14:26:44.811] β”œ Ξ» /api/notes/[id]/meta 0 B 140 kB
[14:26:44.811] β”œ Ξ» /api/settings 0 B 140 kB
[14:26:44.812] β”œ Ξ» /api/tree 0 B 140 kB
[14:26:44.812] β”œ Ξ» /api/upload 0 B 140 kB
[14:26:44.812] β”œ Ξ» /login 1.07 kB 164 kB
[14:26:44.812] β”œ Ξ» /settings 12.7 kB 758 kB
[14:26:44.812] β”” Ξ» /share/[id] 819 B 659 kB
[14:26:44.812] + First Load JS shared by all 148 kB
[14:26:44.812] β”œ chunks/framework-28c999baf2863c3d.js 42.4 kB
[14:26:44.812] β”œ chunks/main-a01ffea9c80af53f.js 33 kB
[14:26:44.812] β”œ chunks/pages/_app-275ab2fb4635fcee.js 63.4 kB
[14:26:44.812] β”œ chunks/webpack-18e1e020f3fa96ee.js 867 B
[14:26:44.812] β”” css/3fb06ec04cf10d1a.css 8.39 kB
[14:26:44.813]
[14:26:44.813] Ξ» (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps)
[14:26:44.813] β—‹ (Static) automatically rendered as static HTML (uses no initial props)
[14:26:44.813]
[14:26:44.938] Done in 24.32s.
[14:26:45.650] Traced Next.js server files in: 663.118ms
[14:26:48.081] Created all serverless functions in: 2.429s
[14:26:48.094] Collected static files (public/, static/, .next/static): 10.996ms
[14:26:50.571] Build Completed in /vercel/output [34s]
[14:26:56.982] Generated build outputs:
[14:26:56.982] - Static files: 61
[14:26:56.982] - Serverless Functions: 18
[14:26:56.982] - Edge Functions: 0
[14:26:56.982] Serverless regions: Washington, D.C., USA
[14:26:56.982] Deployed outputs in 2s
[14:26:58.096] Build completed. Populating build cache...
[14:27:16.611] Uploading build cache [90.24 MB]...
[14:27:19.007] Build cache uploaded: 2.396s
[14:27:19.038] Done with "."

`

commented

I'm aware of this issue and have a fix underway already.

commented

Sorry for the wait, I should've tried to find the issue for you (and possibly suggest a fix) instead of trying to fix it in an upcoming release.
Assuming you have not managed to fix the issue yourself, could you send the function logs from Vercel? The build logs sadly don't have the information required for me to find the issue, as they only provide information on whether the app was built properly.