#First Next.JS project failing to deploy on Vercel.

12 messages · Page 1 of 1 (latest)

analog spruce
#

Hi all,

Could someone please point me in the right direction to getting a page to properly deploy on Vercel? I was able to successfully do this prior but after some changes I can see its complaining about "Failed to compile. Type error: Property 'params' is missing in type '{}' but required in type . Do you have any suggestion to troubleshoot?

16| <div>
17 | <h1 className="py-4 font-semibold">Our Products</h1>
18 | <Photogallery />
| ^
19 | </div>
20 | </main>
21 | );
Error: Command "npm run build" exited with 1"

i tried adding params as one of the data types but the value starts to complain.

long haloBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

royal palm
#

what happens if you run npm run build locally?

grand pawn
analog spruce
#

it loads locally

analog spruce
grand pawn
analog spruce
grand pawn
grand pawn
#

Ignore that message

grand pawn