Closed joshgamache closed 1 year ago
Update on Feb. 14th: Cloud Build is failing (logs) . Testing again with npm run build
results in errors in the following files:
./app/[lng]/manager/dashboard/page.tsx
./app/[lng]/dropper/dashboard/page.tsx
./app/[lng]/manager/anonymize/page.tsx
./app/[lng]/manager/insight/page.tsx
suggestion: since these are all pages within the unused roles, are we safe to archive/delete these pages?
Agree, since these are all pages within the unused roles it would be safe to delete these pages.
But, I have branch 124-postgraphile-upload that I can review and or delete these files if you think that would be the best course of bug resolution.
🐛 Description of the bug
Noticed that builds were failing for the front end site within GCP Cloudbuild (example logfiles). Was able to reproduce the build failures locally and isolate the issue.
To reproduce
/app
directory in your shell and runnpm run build
.Actual outcome: An error is thrown and build fails. Expected outcome: Site should build without errors.
Developer notes
The error thrown by NextJS is below (log snipped for brevity)
I'm not sure of the exact reasoning for the error, but there is this post that seems relevant on Stack Overflow.