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

[πŸ› Bug]: ⚑️ ERROR: A duplicated identifier has been detected in the same function file, aborting. #905

Open
1 task
rohitp-auxmitec opened this issue Nov 13, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@rohitp-auxmitec
Copy link

next-on-pages environment related information

...
2024-11-12T16:44:30.442834Z β–² [@sentry/nextjs - Client] Info: Successfully uploaded source maps to Sentry
2024-11-12T16:44:41.728653Z β–² βœ“ Compiled successfully
2024-11-12T16:44:41.730521Z β–² Linting and checking validity of types ...
2024-11-12T16:45:00.815329Z β–² Collecting page data ...
2024-11-12T16:45:03.947857Z β–² ⚠ Using edge runtime on a page currently disables static generation for that page
2024-11-12T16:45:06.984034Z β–² Generating static pages (0/2) ...
2024-11-12T16:45:08.089067Z β–² βœ“ Generating static pages (2/2)
2024-11-12T16:45:08.690019Z β–² Finalizing page optimization ...
2024-11-12T16:45:08.690338Z β–² Collecting build traces ...
2024-11-12T16:45:23.059247Z β–²
2024-11-12T16:45:23.0651Z β–² Route (app) Size First Load JS
2024-11-12T16:45:23.065271Z β–² β”Œ β—‹ / 1.11 kB 236 kB
2024-11-12T16:45:23.065348Z β–² β”œ Ζ’ /_not-found 309 B 190 kB
2024-11-12T16:45:23.065488Z β–² β”œ Ζ’ /api/sentry-example-api 0 B 0 B
2024-11-12T16:45:23.065613Z β–² β”œ Ζ’ /auth/forgotPassword 360 B 563 kB
2024-11-12T16:45:23.065764Z β–² β”œ Ζ’ /auth/login 360 B 563 kB
2024-11-12T16:45:23.065884Z β–² β”œ Ζ’ /auth/newPassword 361 B 563 kB
2024-11-12T16:45:23.065987Z β–² β”œ Ζ’ /auth/register 360 B 563 kB
2024-11-12T16:45:23.066105Z β–² β”œ Ζ’ /auth/resetPassword 359 B 563 kB
2024-11-12T16:45:23.066227Z β–² β”œ Ζ’ /auth/setup-mfa 360 B 563 kB
2024-11-12T16:45:23.066344Z β–² β”œ Ζ’ /auth/validateMFA 359 B 563 kB
2024-11-12T16:45:23.066444Z β–² β”œ Ζ’ /blog/[slug] 7.06 kB 715 kB
2024-11-12T16:45:23.066543Z β–² β”œ β—‹ /participant 897 B 236 kB
2024-11-12T16:45:23.066657Z β–² β”œ Ζ’ /participant/dashboard 627 B 708 kB
2024-11-12T16:45:23.06677Z β–² β”œ Ζ’ /participant/my-intel 384 B 724 kB
2024-11-12T16:45:23.066869Z β–² β”œ Ζ’ /participant/my-intel-file 603 B 708 kB
2024-11-12T16:45:23.067115Z β–² β”œ Ζ’ /participant/my-intel-file/[id] 604 B 708 kB
2024-11-12T16:45:23.067254Z β–² β”œ Ζ’ /participant/my-org 3.62 kB 711 kB
2024-11-12T16:45:23.067376Z β–² β”œ Ζ’ /participant/my-profile 413 B 587 kB
2024-11-12T16:45:23.067494Z β–² β”œ Ζ’ /participant/my-profile/edit 905 B 588 kB
2024-11-12T16:45:23.067599Z β–² β”œ Ζ’ /participant/my-programs 782 B 708 kB
2024-11-12T16:45:23.067693Z β–² β”œ Ζ’ /participant/my-programs/program/[p_id]/track/[t_id] 631 B 708 kB
2024-11-12T16:45:23.067816Z β–² β”œ Ζ’ /participant/my-programs/program/[p_id]/track/[t_id]/certificate 15.1 kB 723 kB
2024-11-12T16:45:23.067932Z β–² β”œ Ζ’ /participant/my-programs/program/[p_id]/track/[t_id]/dashboard 579 B 708 kB
2024-11-12T16:45:23.068062Z β–² β”œ Ζ’ /participant/my-programs/program/[p_id]/track/[t_id]/meet-up-archive 3.47 kB 711 kB
2024-11-12T16:45:23.068206Z β–² β”œ Ζ’ /participant/my-programs/program/[p_id]/track/[t_id]/meet-up-archive/recording 4.33 kB 274 kB
2024-11-12T16:45:23.068326Z β–² β”œ Ζ’ /participant/my-programs/program/[p_id]/track/[t_id]/modules 795 B 708 kB
2024-11-12T16:45:23.068444Z β–² β”œ Ζ’ /participant/my-programs/program/[p_id]/track/[t_id]/modules/sessions 383 B 724 kB
2024-11-12T16:45:23.068587Z β–² β”œ Ζ’ /participant/my-programs/program/[p_id]/track/[t_id]/notebook 7.91 kB 715 kB
2024-11-12T16:45:23.068816Z β–² β”œ Ζ’ /participant/my-programs/program/[p_id]/track/[t_id]/resources 642 B 708 kB
2024-11-12T16:45:23.068946Z β–² β”œ Ζ’ /participant/my-programs/program/[p_id]/track/[t_id]/resources/[r_id] 2.73 kB 710 kB
2024-11-12T16:45:23.069059Z β–² β”œ Ζ’ /participant/my-programs/program/[p_id]/track/[t_id]/survey 382 B 724 kB
2024-11-12T16:45:23.069178Z β–² β”œ Ζ’ /participant/password 2.16 kB 543 kB
2024-11-12T16:45:23.069338Z β–² β”œ Ζ’ /participant/privacy-policy 5.57 kB 264 kB
2024-11-12T16:45:23.069448Z β–² β”œ Ζ’ /participant/resource 640 B 708 kB
2024-11-12T16:45:23.069559Z β–² β”œ Ζ’ /participant/resource/[r_id]/view 2.73 kB 710 kB
2024-11-12T16:45:23.069667Z β–² β”œ Ζ’ /participant/terms&condition 8.06 kB 278 kB
2024-11-12T16:45:23.069774Z β–² β”” Ζ’ /sentry-example-page 2.06 kB 191 kB
2024-11-12T16:45:23.069876Z β–² + First Load JS shared by all 189 kB
2024-11-12T16:45:23.06998Z β–² β”œ chunks/52774a7f-f63681a653569ea3.js 36.3 kB
2024-11-12T16:45:23.070093Z β–² β”œ chunks/9309-c73752e2e6194743.js 96.4 kB
2024-11-12T16:45:23.070215Z β–² β”œ chunks/fd9d1056-e59b83574937dfb6.js 53.8 kB
2024-11-12T16:45:23.07032Z β–² β”” other shared chunks (total) 2.84 kB
2024-11-12T16:45:23.070425Z β–²
2024-11-12T16:45:23.070521Z β–² Route (pages) Size First Load JS
2024-11-12T16:45:23.070615Z β–² ─ Ζ’ /api/healthcheck 0 B 162 kB
2024-11-12T16:45:23.070719Z β–² + First Load JS shared by all 162 kB
2024-11-12T16:45:23.070832Z β–² β”œ chunks/framework-035dc2251e8a9270.js 45.3 kB
2024-11-12T16:45:23.070937Z β–² β”œ chunks/main-697982466485e3b9.js 37.1 kB
2024-11-12T16:45:23.07103Z β–² β”œ chunks/pages/_app-854f54b9e90774bf.js 77.2 kB
2024-11-12T16:45:23.071134Z β–² β”” other shared chunks (total) 2.14 kB
2024-11-12T16:45:23.07126Z β–² β—‹ (Static) prerendered as static content
2024-11-12T16:45:23.071366Z β–² Ζ’ (Dynamic) server-rendered on demand
2024-11-12T16:45:23.071465Z β–²
2024-11-12T16:45:23.718255Z β–² Traced Next.js server files in: 455.789ms
2024-11-12T16:45:24.770904Z β–² Created all serverless functions in: 1.051s
2024-11-12T16:45:36.713084Z β–² Collected static files (public/, static/, .next/static): 27.893ms
2024-11-12T16:45:38.20792Z β–² Build Completed in .vercel/output [3m]
2024-11-12T16:45:38.300712Z ⚑️ Completed npx vercel build.
2024-11-12T16:45:38.935554Z
2024-11-12T16:45:38.935921Z ⚑️ ERROR: A duplicated identifier has been detected in the same function file, aborting.
2024-11-12T16:45:38.936036Z
2024-11-12T16:45:38.936535Z ⚑️ Please report this at https://github.com/cloudflare/next-on-pages/issues.
2024-11-12T16:45:38.978533Z Failed: Error while executing user command. Exited with error code: 1
2024-11-12T16:45:38.98971Z Failed: build command exited with code: 1
2024-11-12T16:45:40.469397Z Failed: error occurred while running build command

Description

Added sentry and even after merging changes to branch the build get's success and deployment fails

Reproduction

No response

Pages Deployment Method

None

Pages Deployment ID

c41dbb2182aa7d7006dc35baa16c8098

Additional Information

No response

Would you like to help?

  • Would you like to help fixing this bug?
@rohitp-auxmitec rohitp-auxmitec added the bug Something isn't working label Nov 13, 2024
@jantiegges
Copy link

related to #678

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants