ijjk / notion-blog

A Next.js site using new SSG support with a Notion backed blog

Home Page:https://notion-blog.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Locally does not work

kt-sygo0921 opened this issue · comments

I added an environment variable and tried to run it locally, but it didn't work.

The following modules were added because some of them failed to be found locally

"async-sema": "^3.1.0",
"uuid": "^8.1.0"

In addition, the following modifications were also made.

/src/lib/notion/createTable.js

const uuid = require('uuid/v4');
↓
const { v4: uuidV4 } = require('uuid');

In this case, the following error appears.
D57AE6B7-7773-4D1E-B364-41359AED8D21

Any suggestion on how to fix it?

Thank you for a good job.