Comments (3)
Just to help someone else in the future:
The support that next.js
+ vercel
provide it's wider than if you plan to hosting your site outside check details: https://nextjs.org/docs/deployment
Now the issues:
-
next/image
: dependency is used by "react-static-tweets": "^0.5.3", and "static-tweets": "^0.5.3", at this point I just removed them, in order to avoid that issue, however I would like to take a look of this and if that is allowed I can file a PR.
Reference: https://nextjs.org/docs/messages/export-image-api -
fallback
enabled ingetStaticPaths
: the problem is that once you build the static side, you cannot take advantage of next.js capabilites, check this link: https://nextjs.org/docs/messages/ssg-fallback-true-export
Then you need to disable fallback
fallback: false
from nextjs-notion-starter-kit.
Hey Anthony 👋
This is really more of a question for Next.js discussions, but I'll try to answer here.
You can remove this line to solve your issue: https://github.com/transitive-bullshit/nextjs-notion-starter-kit/blob/main/pages/%5BpageId%5D.tsx#L47
What this is doing is telling Next.js to allow for any unknown Notion pages to be resolved in addition to the pages that are known when initially deploying your site. But this is really optional. It just means that if you add new pages in Notion, they won't resolve on your site until you redeploy, which is what's necessary if you're using next export
.
from nextjs-notion-starter-kit.
Hi @zhijian-pro
I am getting the below error for export. Any suggestion if you have been able to get the export to work?
Thank you!
from nextjs-notion-starter-kit.
Related Issues (20)
- new XTwitter logo
- The code block on the right side exceeds the normal display range of rendering. HOT 4
- search function is not available HOT 9
- local/deploy yarn build not working - time out pageID HOT 1
- Failed to load resource HOT 2
- All images fail to load!! 400: BAD_REQUEST HOT 3
- External Link Preview fails: google drive link HOT 1
- Error: Something went wrong installing the "sharp" module HOT 6
- to Lower Case error
- Continuous Build and Deployment Challenges in Next.js Notion Project
- Limit fetch to teamspace or rootNotionPageId children HOT 4
- Discourse as Comment System
- Is there any possible method that it can display 2 different gallery in blog page & the tag can be link
- How to add TOC in the mobile phone
- Multilingual per post instead of per site?
- Is it possible to generate OGP Image that the size lower than 1MB?
- 45 Minute
- Even non-existent pages return 200 OK http status code
- How to display the time create by "Date or reminder"?
- Bug: Publish date on website homepage is one month earlier than specified in Notion database, when it is set to be the first day of any month HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nextjs-notion-starter-kit.