Skip to content

Continuous Build and Deployment Challenges in Next.js Notion Project #569

@guesung

Description

@guesung

Description

I use Node v16.20.2 on my MacBook Pro M1.

I set site.config.ts as follows:

export default siteConfig({
  rootNotionPageId: '53137c48fa9742ef8057c9171da952f5',
  rootNotionSpaceId: null,

After this, I didn't change anything else.

The steps I followed were:

  1. npm i
  2. npm run build
    However, I encountered an error at this stage.
Screenshot 2023-11-27 at 3 47 50 PM

When I run npm run dev, it works fine. But errors occur when I execute npm run build or try to publish on Vercel.

On Vercel, I encountered this error:
Screenshot 2023-11-27 at 3 52 11 PM

The build process worked for 45 minutes and then failed.

My repository is here:
https://github.com/guesung/notion-blog

Notion Test Page ID

'53137c48fa9742ef8057c9171da952f5',
https://www.notion.so/guesung/Learn-in-Public-53137c48fa9742ef8057c9171da952f5?pvs=4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions