bazhang87 / next13-ai-saas

https://next13-ai-saas-eight.vercel.app
0 stars 0 forks source link

Sweep: Debug build errors on npm run build related to type properties #9

Open bazhang87 opened 10 months ago

bazhang87 commented 10 months ago

I'm receiving the following error from Vercel upon npm run build. can you help me Debug?

Failed to compile. 00:42:48.718 | 00:42:48.719 | ./components/landing-content.tsx:38:27 00:42:48.719 | Type error: Property 'serviceDescription' does not exist on type '{ name: string; avatar: string; title: string; description: string; }'. 00:42:48.719 | 00:42:48.719 | 36 |

00:42:48.719 | 37 | {testimonials.map((item) => ( 00:42:48.719 | > 38 | 00:42:48.719 | | ^ 00:42:48.719 | 39 | 00:42:48.719 | 40 | 00:42:48.719 | 41 |

00:42:49.027 | Error: Command "npm run build" exited with 1

Checklist - [X] Modify `components/landing-content.tsx` ✓ https://github.com/bazhang87/next13-ai-saas/commit/efd73820bae69e306fff4d418b61fa23c16aa213 [Edit](https://github.com/bazhang87/next13-ai-saas/edit/sweep/debug_build_errors_on_npm_run_build_rela/components/landing-content.tsx#L38-L38) - [X] Running GitHub Actions for `components/landing-content.tsx` ✓ [Edit](https://github.com/bazhang87/next13-ai-saas/edit/sweep/debug_build_errors_on_npm_run_build_rela/components/landing-content.tsx#L38-L38) - [X] Modify `components/landing-content.tsx` ✓ https://github.com/bazhang87/next13-ai-saas/commit/86513a5281e9b751dd1bb2e6d2ee4651ebb0cddf [Edit](https://github.com/bazhang87/next13-ai-saas/edit/sweep/debug_build_errors_on_npm_run_build_rela/components/landing-content.tsx#L42-L42) - [X] Running GitHub Actions for `components/landing-content.tsx` ✓ [Edit](https://github.com/bazhang87/next13-ai-saas/edit/sweep/debug_build_errors_on_npm_run_build_rela/components/landing-content.tsx#L42-L42)
sweep-ai[bot] commented 10 months ago

🚀 Here's the PR! #10

See Sweep's progress at the progress dashboard!
Sweep Basic Tier: I'm using GPT-4. You have 1 GPT-4 tickets left for the month and 0 for the day. (tracking ID: 243f49a86c)

For more GPT-4 tickets, visit our payment portal. For a one week free trial, try Sweep Pro (unlimited GPT-4 tickets).
Install Sweep Configs: Pull Request

Actions (click)

Sandbox Execution ✓

Here are the sandbox execution logs prior to making any changes:

Sandbox logs for 7d27209
Checking components/landing-content.tsx for syntax errors... ✅ components/landing-content.tsx has no syntax errors! 1/1 ✓
Checking components/landing-content.tsx for syntax errors...
✅ components/landing-content.tsx has no syntax errors!

Sandbox passed on the latest main, so sandbox checks will be enabled for this issue.


Step 1: 🔎 Searching

I found the following snippets in your repository. I will now analyze these snippets and come up with a plan.

Some code snippets I think are relevant in decreasing order of relevance (click to expand). If some file is missing from here, you can mention the path in the ticket description. https://github.com/bazhang87/next13-ai-saas/blob/7d2720900718a1e1704bb3cd6038e186726ab2de/components/landing-content.tsx#L34-L42

Step 2: ⌨️ Coding

--- 
+++ 
@@ -35,7 +35,7 @@
       

Our AI-powered Services

{testimonials.map((item) => ( - +

Ran GitHub Actions for efd73820bae69e306fff4d418b61fa23c16aa213:

--- 
+++ 
@@ -35,11 +35,11 @@
       

Our AI-powered Services

{testimonials.map((item) => ( - +
-

{item.serviceName}

+

{item.name}

{item.serviceTitle}

Ran GitHub Actions for 86513a5281e9b751dd1bb2e6d2ee4651ebb0cddf:
• Vercel Preview Comments:


Step 3: 🔁 Code Review

I have finished reviewing the code for completeness. I did not find errors for sweep/debug_build_errors_on_npm_run_build_rela.


🎉 Latest improvements to Sweep:


💡 To recreate the pull request edit the issue title or description. To tweak the pull request, leave a comment on the pull request. Join Our Discord