2skydev / notion-next.js-blog-starter-kit Goto Github PK
View Code? Open in Web Editor NEWNotion + Next.js Blog Starter Kit - Next.js + Notion ISR static page blog starter kit
Home Page: https://blog.2skydev.com
Notion + Next.js Blog Starter Kit - Next.js + Notion ISR static page blog starter kit
Home Page: https://blog.2skydev.com
노션 인라인코드에 링크를 적용하면 블로그에서 링크라는 느낌이 오도록 인라인코드 맨 앞에 아이콘 추가 필요
아래의 에러는 왜 일까요?
로컬에서는 제대로 동작하고 서버에 올리고는 안되네요.
참고로 서버는 chemicloud라는 회사의 cPanel이라는 겁니다.
[asoso.secondlife.lol (20)] [secondl1@rs3-sgp asoso.secondlife.lol]$ npm run deploy
[email protected] deploy
vercel deploy
Vercel CLI 34.1.11
Error: An unexpected error occurred!
RangeError: WebAssembly.instantiate(): Out of memory: Cannot allocate Wasm memory for new instance
at lazyllhttp (eval at requireWithFakeGlobalScope (/home/secondl1/nodevenv/asoso.secondlife.lol/20/lib/lib/node_modules/vercel/dist/index.js:108386:11), :9988:32)
No existing credentials found. Please log in:
? Log in to Vercel (Use arrow keys)
❯ Continue with GitHub
Continue with GitLab
Continue with Bitbucket
Continue with Email
Continue with SAML Single Sign-On
─────────────────────────────────
Cancel
혹시 어떤 해결방안이있을까요?
안녕하세요. 이것저것 툴들을 둘러보다 여기까지 왔네요.
한가지 궁금한게 로컬에서 돌리면 ISR이 잘 돌아가는데,
vercel에 배포만 하면 먹통이 되는 이슈가 있습니다.
이 부분 때문에 골머리를 썩고 있네요;;
혹시 아이디어가 있으실까요?
감사합니다~
혹시 구글 애널리틱스나, 구글에서 검색이 되게끔하는걸 사용할 수있을까요?
@2skydev 님은 어떻게 하셧나요?
아니면 노션 자체적인 애널리틱스(?)를 사용하시는걸까요??
nextjs-google-analytics` 라이브러리로 인해서 vercel에 환경변수로 구글애널리틱스 id(?) 만 넣어주면 자동으로
구글 서치콘솔에도 등록이 되는걸까요?
NotionAPI getSignedfileUrls error HTTPError: Response code 500 (Internal Server Error)
--
16:24:32.366 | at Request.<anonymous> (file:///vercel/path0/node_modules/got/dist/source/as-promise/index.js:86:42)
16:24:32.366 | at Object.onceWrapper (node:events:633:26)
16:24:32.366 | at Request.emit (node:events:530:35)
16:24:32.366 | at Request._onResponseBase (file:///vercel/path0/node_modules/got/dist/source/core/index.js:697:22)
16:24:32.366 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
16:24:32.366 | at async Request._onResponse (file:///vercel/path0/node_modules/got/dist/source/core/index.js:736:13) {
16:24:32.366 | input: undefined,
16:24:32.366 | code: 'ERR_NON_2XX_3XX_RESPONSE',
16:24:32.366 | timings: {
16:24:32.366 | start: 1717313072253,
16:24:32.366 | socket: 1717313072253,
16:24:32.366 | lookup: 1717313072253,
16:24:32.366 | connect: 1717313072253,
16:24:32.367 | secureConnect: 1717313072253,
16:24:32.367 | upload: 1717313072254,
16:24:32.367 | response: 1717313072360,
16:24:32.367 | end: 1717313072361,
16:24:32.367 | error: undefined,
16:24:32.367 | abort: undefined,
16:24:32.367 | phases: {
16:24:32.367 | wait: 0,
16:24:32.367 | dns: 0,
16:24:32.367 | tcp: 0,
16:24:32.367 | tls: 0,
16:24:32.367 | request: 1,
16:24:32.367 | firstByte: 106,
16:24:32.367 | download: 1,
16:24:32.367 | total: 108
16:24:32.367 | }
16:24:32.367 | },
16:24:32.367 | options: {
16:24:32.367 | request: undefined,
16:24:32.367 | agent: { http: undefined, https: undefined, http2: undefined },
16:24:32.367 | h2session: undefined,
16:24:32.367 | decompress: true,
16:24:32.367 | timeout: {
16:24:32.367 | connect: undefined,
16:24:32.367 | lookup: undefined,
16:24:32.367 | read: undefined,
16:24:32.367 | request: undefined,
16:24:32.367 | response: undefined,
16:24:32.367 | secureConnect: undefined,
16:24:32.367 | send: undefined,
16:24:32.367 | socket: undefined
16:24:32.367 | },
16:24:32.367 | prefixUrl: '',
16:24:32.368 | body: '{"urls":[{"permissionRecord":{"table":"block","id":"122a0ba0-7797-45ba-9577-4d051564708c"},"url":"/images/page-cover/rijksmuseum_jan_lievens_1627.jpg"}]}',
16:24:32.368 | form: undefined,
16:24:32.368 | json: undefined,
16:24:32.368 | cookieJar: undefined,
16:24:32.368 | ignoreInvalidCookies: false,
16:24:32.368 | searchParams: undefined,
16:24:32.368 | dnsLookup: undefined,
16:24:32.368 | dnsCache: undefined,
16:24:32.368 | context: {},
16:24:32.368 | hooks: {
16:24:32.368 | init: [],
16:24:32.368 | beforeRequest: [],
16:24:32.368 | beforeError: [],
16:24:32.368 | beforeRedirect: [],
16:24:32.368 | beforeRetry: [],
16:24:32.368 | afterResponse: []
16:24:32.368 | },
16:24:32.368 | followRedirect: true,
16:24:32.368 | maxRedirects: 10,
16:24:32.368 | cache: undefined,
16:24:32.368 | throwHttpErrors: true,
16:24:32.368 | username: '',
16:24:32.368 | password: '',
16:24:32.368 | http2: false,
16:24:32.368 | allowGetBody: false,
16:24:32.368 | headers: {
16:24:32.368 | 'user-agent': 'got (https://github.com/sindresorhus/got)',
16:24:32.369 | 'content-type': 'application/json',
16:24:32.369 | accept: 'application/json',
16:24:32.369 | 'content-length': '153',
16:24:32.369 | 'accept-encoding': 'gzip, deflate, br'
16:24:32.369 | },
16:24:32.369 | methodRewriting: false,
16:24:32.369 | dnsLookupIpVersion: undefined,
16:24:32.369 | parseJson: [Function: parse],
16:24:32.369 | stringifyJson: [Function: stringify],
16:24:32.369 | retry: {
16:24:32.369 | limit: 2,
16:24:32.369 | methods: [ 'POST' ],
16:24:32.369 | statusCodes: [
16:24:32.369 | 408, 413, 429, 500,
16:24:32.369 | 502, 503, 504, 521,
16:24:32.369 | 522, 524
16:24:32.369 | ],
16:24:32.369 | errorCodes: [
16:24:32.369 | 'ETIMEDOUT',
16:24:32.369 | 'ECONNRESET',
16:24:32.369 | 'EADDRINUSE',
16:24:32.369 | 'ECONNREFUSED',
16:24:32.369 | 'EPIPE',
16:24:32.369 | 'ENOTFOUND',
16:24:32.369 | 'ENETUNREACH',
16:24:32.370 | 'EAI_AGAIN'
16:24:32.370 | ],
16:24:32.370 | maxRetryAfter: undefined,
16:24:32.370 | calculateDelay: [Function: calculateDelay],
16:24:32.370 | backoffLimit: Infinity,
16:24:32.370 | noise: 100
16:24:32.370 | },
16:24:32.370 | localAddress: undefined,
16:24:32.370 | method: 'POST',
16:24:32.370 | createConnection: undefined,
16:24:32.371 | cacheOptions: {
16:24:32.371 | shared: undefined,
16:24:32.371 | cacheHeuristic: undefined,
16:24:32.371 | immutableMinTimeToLive: undefined,
16:24:32.371 | ignoreCargoCult: undefined
16:24:32.371 | },
16:24:32.371 | https: {
16:24:32.371 | alpnProtocols: undefined,
16:24:32.371 | rejectUnauthorized: undefined,
16:24:32.371 | checkServerIdentity: undefined,
16:24:32.371 | certificateAuthority: undefined,
16:24:32.371 | key: undefined,
16:24:32.371 | certificate: undefined,
16:24:32.371 | passphrase: undefined,
16:24:32.371 | pfx: undefined,
16:24:32.371 | ciphers: undefined,
16:24:32.371 | honorCipherOrder: undefined,
16:24:32.371 | minVersion: undefined,
16:24:32.371 | maxVersion: undefined,
16:24:32.371 | signatureAlgorithms: undefined,
16:24:32.371 | tlsSessionLifetime: undefined,
16:24:32.371 | dhparam: undefined,
16:24:32.371 | ecdhCurve: undefined,
16:24:32.372 | certificateRevocationLists: undefined
16:24:32.372 | },
16:24:32.372 | encoding: undefined,
16:24:32.372 | resolveBodyOnly: false,
16:24:32.372 | isStream: false,
16:24:32.372 | responseType: 'text',
16:24:32.372 | url: URL {
16:24:32.372 | href: 'https://www.notion.so/api/v3/getSignedFileUrls',
16:24:32.372 | origin: 'https://www.notion.so',
16:24:32.372 | protocol: 'https:',
16:24:32.372 | username: '',
16:24:32.372 | password: '',
16:24:32.372 | host: 'www.notion.so',
16:24:32.372 | hostname: 'www.notion.so',
16:24:32.372 | port: '',
16:24:32.372 | pathname: '/api/v3/getSignedFileUrls',
16:24:32.372 | search: '',
16:24:32.372 | searchParams: URLSearchParams {},
16:24:32.372 | hash: ''
16:24:32.372 | },
16:24:32.372 | pagination: {
16:24:32.372 | transform: [Function: transform],
16:24:32.373 | paginate: [Function: paginate],
16:24:32.373 | filter: [Function: filter],
16:24:32.373 | shouldContinue: [Function: shouldContinue],
16:24:32.373 | countLimit: Infinity,
16:24:32.373 | backoff: 0,
16:24:32.373 | requestLimit: 10000,
16:24:32.373 | stackAllItems: false
16:24:32.373 | },
16:24:32.373 | setHost: true,
16:24:32.373 | maxHeaderSize: undefined
16:24:32.373 | }
16:24:32.373 | }
vercel에 배포할 시 이런 오류가 엄청 많이 나는데 어떻게 해결하는지 알 수 있을까요..?
안녕하세요, 제공해주신 템플릿 사용해서 너무 잘 사용하고 있습니다.
커스텀을 딱 입맛에 맞게 해주셔서, 기존 오리지날 프로젝트보다 배포해주신 프로젝트로 블로그를 배포하게 됐습니다.
그런데 스크롤바가 표시되지 않는 아쉬움이 있어서, 업데이트 부탁드리려고 이렇게 이슈 남깁니다.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.