Comments (5)
Oh, I see the problem, the Notion Page id should be 32 chars right after notion.so, in this case, the page should be f66b5edd17964cbba76db33663462b0c
from nobelium.
Hi, can you share the full log during deployment?
from nobelium.
15:35:21.634 | > Build error occurred |
---|---|
15:35:21.637 | Error [HTTPError]: Response code 400 (Bad Request) |
15:35:21.638 | at Request. (/vercel/workpath0/node_modules/got/dist/source/as-promise/index.js:117:42) |
15:35:21.638 | at processTicksAndRejections (internal/process/task_queues.js:97:5) { |
15:35:21.638 | type: 'HTTPError', |
15:35:21.638 | timings: { |
15:35:21.638 | start: 1616571321475, |
15:35:21.638 | socket: 1616571321475, |
15:35:21.638 | lookup: 1616571321476, |
15:35:21.638 | connect: 1616571321493, |
15:35:21.638 | secureConnect: 1616571321512, |
15:35:21.638 | upload: 1616571321512, |
15:35:21.638 | response: 1616571321630, |
15:35:21.638 | end: 1616571321631, |
15:35:21.638 | phases: { |
15:35:21.638 | wait: 0, |
15:35:21.638 | dns: 1, |
15:35:21.638 | tcp: 17, |
15:35:21.638 | tls: 19, |
15:35:21.638 | request: 0, |
15:35:21.638 | firstByte: 118, |
15:35:21.638 | download: 1, |
15:35:21.638 | total: 156 |
15:35:21.638 | } |
15:35:21.639 | } |
15:35:21.639 | } |
15:35:21.693 | npm ERR! code ELIFECYCLE |
15:35:21.694 | npm ERR! errno 1 |
15:35:21.703 | npm ERR! [email protected] build: next build |
15:35:21.704 | npm ERR! Exit status 1 |
15:35:21.704 | npm ERR! |
15:35:21.704 | npm ERR! Failed at the [email protected] build script. |
15:35:21.704 | npm ERR! This is probably not a problem with npm. There is likely additional logging output above. |
15:35:21.721 | npm ERR! A complete log of this run can be found in: |
15:35:21.721 | npm ERR! /vercel/.npm/_logs/2021-03-24T07_35_21_705Z-debug.log |
15:35:21.733 | Error: Command "npm run build" exited with 1 |
15:35:25.961 | Done with "package.json" |
from nobelium.
Weird, I can't reproduce this, seems like it can't connect to the notion during the deployment.
Maybe try to run nobelium locally, don't forget to create env.local file with NOTION_PAGE_ID environment variable
from nobelium.
I have same question , I had add env
this's my public page : https://www.notion.so/f66b5edd17964cbba76db33663462b0c?v=7d2c658586f14b6cb1f67c9645eaaaed
I copy last string '7d2c658586f14b6cb1f67c9645eaaaed' as env id
from nobelium.
Related Issues (20)
- Layout: width mismatch on mobile
- [Feature requests] Support Notion comments HOT 1
- Headers in synced block cannot be recognised by TOC HOT 1
- Characters are not in serif after setting it in config file HOT 1
- The demo site should auto update with latest commit of main branch HOT 2
- Suggest a proverb feature showing page title in different style HOT 1
- When I finish deploying the site and click on the RSS button, I get an error "This Serverless Function has crashed." HOT 2
- Light/darkBackground color setting doesn't work
- KeTex parse error: {equation} can be used only in display mode HOT 2
- default 'slug' value in notion, automatically generate a uuid in blog HOT 1
- Add google analytics, google console search, comment systems like disqus, HOT 1
- Add a new item in Navbar but don`t show HOT 1
- Error: The provided path `/B for Busy / Myth of Love` does not match the page: `/[slug]`. HOT 2
- sometimes code segment cannot rendered HOT 2
- Dark mode support manual switching HOT 2
- [feat] Not scroll to the top when navigating from post back to index page HOT 1
- favicon.png got Bad request INVALID_IMAGE_OPTIMIZE_REQUEST HOT 2
- Build Failed with SyntaxError HOT 1
- Generate RSS feed URLs for blog tags HOT 1
- How can I use Notion Official API to build this project ?Deploy failed on vercel. 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 nobelium.