throw this error when build after add Environment Variables in vercel #22

Closed
opened 2026-02-16 10:15:50 -05:00 by yindo · 4 comments
Owner

Originally created by @ImpChiang on GitHub (Mar 13, 2024).

微信截图_20240313174527

Originally created by @ImpChiang on GitHub (Mar 13, 2024). ![微信截图_20240313174527](https://github.com/langgenius/webapp-conversation/assets/31588565/9d13e1c8-7535-4d37-818b-423c27303507)
yindo closed this issue 2026-02-16 10:15:50 -05:00
Author
Owner

@crazywoola commented on GitHub (Mar 13, 2024):

image
@crazywoola commented on GitHub (Mar 13, 2024): <img width="423" alt="image" src="https://github.com/langgenius/webapp-conversation/assets/100913391/471ea9b0-3233-4f02-98f0-274a5b09e6ee">
Author
Owner

@ImpChiang commented on GitHub (Mar 14, 2024):

I tried several times with doc,but,its build fail just after add APP_ID,API_KEY and API_URL,so how to deploy with new APP_ID,API_KEY and API_URL ?

@ImpChiang commented on GitHub (Mar 14, 2024): I tried several times with doc,but,its build fail just after add APP_ID,API_KEY and API_URL,so how to deploy with new APP_ID,API_KEY and API_URL ?
Author
Owner

@crazywoola commented on GitHub (Mar 14, 2024):

It should be these 3

# APP ID
NEXT_PUBLIC_APP_ID=
# APP API key
NEXT_PUBLIC_APP_KEY=
# APP URL
NEXT_PUBLIC_API_URL=
@crazywoola commented on GitHub (Mar 14, 2024): It should be these 3 ``` # APP ID NEXT_PUBLIC_APP_ID= # APP API key NEXT_PUBLIC_APP_KEY= # APP URL NEXT_PUBLIC_API_URL= ```
Author
Owner

@ImpChiang commented on GitHub (Mar 14, 2024):

// next.config.js
module.exports = { staticPageGenerationTimeout: 1000, }
use this to increase timeout to collect page data and it works,. thx

@ImpChiang commented on GitHub (Mar 14, 2024): // next.config.js `module.exports = { staticPageGenerationTimeout: 1000, }` use this to increase timeout to collect page data and it works,. thx
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/webapp-conversation#22