Coder Social home page Coder Social logo

2skydev / notion-next.js-blog-starter-kit Goto Github PK

View Code? Open in Web Editor NEW
79.0 2.0 49.0 3.92 MB

Notion + Next.js Blog Starter Kit - Next.js + Notion ISR static page blog starter kit

Home Page: https://blog.2skydev.com

Shell 0.05% TypeScript 81.12% CSS 13.74% JavaScript 0.17% SCSS 4.90% HTML 0.01%
darkmode lqip nextjs notion typescript blog comments isr starter-kit static-page

notion-next.js-blog-starter-kit's People

Contributors

2skydev avatar dependabot[bot] avatar jeonghyeon00 avatar jong-hui avatar shanefully-done avatar yoonjihong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

notion-next.js-blog-starter-kit's Issues

Error: An unexpected error occurred!

아래의 에러는 왜 일까요?
로컬에서는 제대로 동작하고 서버에 올리고는 안되네요.
참고로 서버는 chemicloud라는 회사의 cPanel이라는 겁니다.
스크린샷 2024-05-13 204804

[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

서버와 클라이언트의 HTML이 일치하지 않음

image

브라우저 콘솔에서 다크모드 classname이 일치하지 않음으로 인한 오류
아마도 _document.tsx에서 <script dangerouslySetInnerHTML /> 때문에 생긴 오류도 판단됨
위 에러는 빌드 후 확인이 가능함

vercel 배포 후 신규 컨텐츠가 업데이트 안되는 이슈

안녕하세요. 이것저것 툴들을 둘러보다 여기까지 왔네요.
한가지 궁금한게 로컬에서 돌리면 ISR이 잘 돌아가는데,
vercel에 배포만 하면 먹통이 되는 이슈가 있습니다.

이 부분 때문에 골머리를 썩고 있네요;;
혹시 아이디어가 있으실까요?

감사합니다~

구글 서치콘솔 질문있습니다.

nextjs-google-analytics` 라이브러리로 인해서 vercel에 환경변수로 구글애널리틱스 id(?) 만 넣어주면 자동으로
구글 서치콘솔에도 등록이 되는걸까요?

NotionAPI 관련 오류 질문드립니다..

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에 배포할 시 이런 오류가 엄청 많이 나는데 어떻게 해결하는지 알 수 있을까요..?

스크롤바 표시

안녕하세요, 제공해주신 템플릿 사용해서 너무 잘 사용하고 있습니다.

커스텀을 딱 입맛에 맞게 해주셔서, 기존 오리지날 프로젝트보다 배포해주신 프로젝트로 블로그를 배포하게 됐습니다.

그런데 스크롤바가 표시되지 않는 아쉬움이 있어서, 업데이트 부탁드리려고 이렇게 이슈 남깁니다.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.