Giter Site home page Giter Site logo

cali.so's People

Contributors

aiyogg avatar calicastle avatar cczywyc avatar crayon-shinchan avatar hamster1963 avatar jsun969 avatar ruaharico 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cali.so's Issues

怎么管理博客文章呢

首先感恩大神把这么棒的网站开源了!!我只懂一些基础的html和css
我想把这个网站作为自己的个人博客,请问如果要发表新的文章或者管理文章应该怎么操作呢?🙏🏻

更新NextJS

大佬你好,我之前在换svg favicon的时候遇到了问题。搜了一圈发现nextJs五天前的更新解决了这个问题

我尝试在本地run pnpm install next@latest 更新Next,结果本来能build的,更新后一堆报错。我没搞懂具体是哪里有问题。

希望大佬能抽空指点一下。

Project页面报错

大神, 请问这个是什么错误呀
image
我已经通过/studio 往database里添加了一个project,还是不行。

请问大佬,vercel部署失败该怎么解决呢

Command "pnpm turbo build" exited with 1
部署反复都是这个结果
我填写完env.example后就直接把fork的代码部署到vercel上了
在env.example里填写Vercel必须里的EDGE_CONFIG=""时,我不确定该怎么填写,于是便填了vercel Edge Config Store的id,我不确定是不是和这个有关。

留言墙无法留言

发起留言时提示 Application error: a client-side exception has occurred (see the browser console for more information).
怀疑是Clerk未反馈正确的imageUrl
image

你好,按照你的教程试了下,但为啥还是报错啊?最近这些服务是不是更新了呢

错误信息如下

JUL 10 17:45:16.22
GET
---
abel-6orzmujy3-adidas8023s-projects.vercel.app
/
[Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.] { digest: '502540765' }
JUL 10 17:45:16.22
GET
---
abel-6orzmujy3-adidas8023s-projects.vercel.app
/
TypeError: Cannot read properties of null (reading 'heroPhotos') at j (/var/task/.next/server/app/(main)/page.js:1:16453) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
JUL 10 17:45:05.96
GET
---
abel-6orzmujy3-adidas8023s-projects.vercel.app
/
[Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.] { digest: '502540765' }
JUL 10 17:45:05.96
GET
---
abel-6orzmujy3-adidas8023s-projects.vercel.app
/
TypeError: Cannot read properties of null (reading 'heroPhotos') at j (/var/task/.next/server/app/(main)/page.js:1:16453) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
JUL 10 17:45:05.90
GET
500
abel-6orzmujy3-adidas8023s-projects.vercel.app
/
[GET] / status=500
JUL 10 17:45:05.67
GET
200
abel-6orzmujy3-adidas8023s-projects.vercel.app
/
JUL 10 17:45:03.98
GET
401
abel-6orzmujy3-adidas8023s-projects.vercel.app
/
[GET] [middleware: "middleware"] / status=401
JUL 10 17:44:33.98
GET
200
abel-snowy.vercel.app
/
JUL 10 17:43:45.05
GET
200
abel-snowy.vercel.app
/
JUL 10 17:43:21.72
GET
200
abel-snowy.vercel.app
/
JUL 10 17:43:16.87
GET
200
abel-snowy.vercel.app
/
JUL 10 17:42:36.22
GET
200
abel-snowy.vercel.app
/
JUL 10 17:41:11.40
GET
200
abel-snowy.vercel.app
/
JUL 10 17:41:08.77
GET
200
abel-snowy.vercel.app
/
JUL 10 17:41:08.12
GET
401
abel-snowy.vercel.app
/
[GET] [middleware: "middleware"] / status=401
JUL 10 17:41:06.76
GET
401
abel-snowy.vercel.app
/
[GET] [middleware: "middleware"] / status=401
JUL 10 17:40:55.45
GET
401
abel-6orzmujy3-adidas8023s-projects.vercel.app
/
[GET] [middleware: "middleware"] / status=401
JUL 10 17:40:55.33
GET
401
abel-6orzmujy3-adidas8023s-projects.vercel.app
/
[GET] [middleware: "middleware"] / status=401
JUL 10 17:40:46.20
GET
---
abel-6orzmujy3-adidas8023s-projects.vercel.app
/
[Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.] { digest: '502540765' }
JUL 10 17:40:46.18
GET
---
abel-6orzmujy3-adidas8023s-projects.vercel.app
/
TypeError: Cannot read properties of null (reading 'heroPhotos') at j (/var/task/.next/server/app/(main)/page.js:1:16453) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
JUL 10 17:40:46.14
GET
500
abel-6orzmujy3-adidas8023s-projects.vercel.app
/
[GET] / status=500
JUL 10 17:40:46.05
GET
---
abel-6orzmujy3-adidas8023s-projects.vercel.app
/
[Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.] { digest: '502540765' }
JUL 10 17:40:46.05
GET
---
abel-6orzmujy3-adidas8023s-projects.vercel.app
/
TypeError: Cannot read properties of null (reading 'heroPhotos') at j (/var/task/.next/server/app/(main)/page.js:1:16453) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
JUL 10 17:40:46.00
GET
500
abel-6orzmujy3-adidas8023s-projects.vercel.app
/
[GET] / status=500
JUL 10 17:40:45.78
GET
200
abel-6orzmujy3-adidas8023s-projects.vercel.app
/
JUL 10 17:40:45.57
GET
200
abel-6orzmujy3-adidas8023s-projects.vercel.app
/
JUL 10 17:40:44.95
GET
---
abel-6orzmujy3-adidas8023s-projects.vercel.app
/
[Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.] { digest: '502540765' }
JUL 10 17:40:44.95
GET
---
abel-6orzmujy3-adidas8023s-projects.vercel.app
/
TypeError: Cannot read properties of null (reading 'heroPhotos') at j (/var/task/.next/server/app/(main)/page.js:1:16453) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
JUL 10 17:40:44.88
GET
500
abel-6orzmujy3-adidas8023s-projects.vercel.app
/
[GET] / status=500
JUL 10 17:40:44.74
GET
---
abel-6orzmujy3-adidas8023s-projects.vercel.app
/
[Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.] { digest: '502540765' }
JUL 10 17:40:44.74
GET
---
abel-6orzmujy3-adidas8023s-projects.vercel.app
/
TypeError: Cannot read properties of null (reading 'heroPhotos') at j (/var/task/.next/server/app/(main)/page.js:1:16453) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
JUL 10 17:40:44.67
GET
500
abel-6orzmujy3-adidas8023s-projects.vercel.app
/
[GET] / status=500
JUL 10 17:40:44.44
GET
200
abel-6orzmujy3-adidas8023s-projects.vercel.app
/
JUL 10 17:40:44.31
GET
200
abel-6orzmujy3-adidas8023s-projects.vercel.app
/
JUL 10 17:40:41.60
GET
---
abel-6orzmujy3-adidas8023s-projects.vercel.app
/
[Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.] { digest: '502540765' }
JUL 10 17:40:41.58
GET
---
abel-6orzmujy3-adidas8023s-projects.vercel.app
/
TypeError: Cannot read properties of null (reading 'heroPhotos') at j (/var/task/.next/server/app/(main)/page.js:1:16453) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
JUL 10 17:40:41.44
GET
---
abel-6orzmujy3-adidas8023s-projects.vercel.app
/
[Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.] { digest: '502540765' }
JUL 10 17:40:41.44
GET
---
abel-6orzmujy3-adidas8023s-projects.vercel.app
/
TypeError: Cannot read properties of null (reading 'heroPhotos') at j (/var/task/.next/server/app/(main)/page.js:1:16453) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
JUL 10 17:40:39.85
GET
500
abel-6orzmujy3-adidas8023s-projects.vercel.app
/
[GET] / status=500
JUL 10 17:40:39.85
GET
500
abel-6orzmujy3-adidas8023s-projects.vercel.app
/
[GET] / status=500

大佬你好,发现了 reactions 上一个小小的体验问题

最近在抄你的一部分网站设计,感觉 reactions 动画好帅,但是总感觉使用上有点别扭,没有指哪打哪的感觉,后边仔细看了一下 macOS dock 的动画,知道为什么了。

dock hover 以后 icon 变大将 container 挤开,但是它并不是固定朝着一个方向延伸的,这样可以保证 icon 放大以后鼠标指针还是位于原 icon 的位置,有点描述不清,看动图 hover 左边和 hover 右边 container 的变化 ⬇️

Sep-14-2023 09-45-30
Sep-14-2023 09-51-41

你的 reactions hover 以后由于会向下撑开 container,所以会感觉 hover 上了以后指针错开了原本的位置

启动开发服务器后Web报错

Snipaste_2023-07-25_20-13-34
如图,这个问题还挺奇怪的,同样的配置,它不影响我在Vercel上部署的内容,在本地就会报错,我已经添加了文章和相关的内容,请问这是为何

首页未正确显示最新 5 篇文章问题修复

首页不能正确显示最新的 5 篇文章。

排查找到原因是 sanity/queries.ts 文件中 getLatestBlogPostsQuery 的实现有小小小小的问题,不应该先限制获取 5 篇后排序,应该对文章按照发布时间排序后再限制获取 5 篇。修改如下:

export const getLatestBlogPostsQuery = ({
  limit = 5,
  forDisplay = true,
}: GetBlogPostsOptions) =>
  groq`
  *[_type == "post" && !(_id in path("drafts.**")) && publishedAt <= "${getDate().toISOString()}"
  && defined(slug.current)]
| order(publishedAt desc)[0...${limit}] {
    _id,
    title,
    "slug": slug.current,
    "categories": categories[]->title,
    description,
    publishedAt,
    readingTime,
    mainImage {
      _ref,
      asset->{
        url,
        ${
          forDisplay
            ? '"lqip": metadata.lqip, "dominant": metadata.palette.dominant,'
            : ''
        }
      }
    }
  }`

望查看采纳!😀

管理 - 评论 页面 构建报错

管理 - 评论 页面 构建报错

<!--StartFragment-->
build: error: function curdate() does not exist
--
22:44:55.115 | build:     at /vercel/path0/.next/server/chunks/6657.js:9:28989
22:44:55.115 | build:     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
22:44:55.115 | build:     at async y (/vercel/path0/.next/server/app/admin/comments/page.js:1:4995) {

<!--EndFragment-->
<!--StartFragment-->
build: error: function curdate() does not exist
--
22:44:55.119 | build:     at /vercel/path0/.next/server/chunks/6657.js:9:28989
22:44:55.119 | build:     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
22:44:55.119 | build:     at async y (/vercel/path0/.next/server/app/admin/comments/page.js:1:4995) {

<!--EndFragment-->

主页/和博客/blog一片空白报错,评论和订阅点击没反应

经过几个小时反复删库试验,第一次搭建成功是可以进入主页,正常输出内容的。

762TJE42B4GRQTZ`BC2HI

一旦在/studio 新建一个文章post后,主页/和博客/blog一片空白报错

Application error: a client-side exception has occurred (see the browser console for more information).
Digest: 89999947

V1Z(BH6%IP66U9_P88PBC

X{@SD HAS4PI1RS5V{) @0H

Vercel后台报错

TypeError: Cannot read properties of null (reading 'join')
    at BlogPostCard (/var/task/.next/server/chunks/9574.js:239:70)
    at T (/var/task/.next/server/chunks/2546.js:9012:13)
    at Xa (/var/task/.next/server/chunks/2546.js:9117:21)
    at Array.toJSON (/var/task/.next/server/chunks/2546.js:8931:20)
    at stringify (<anonymous>)
    at hb (/var/task/.next/server/chunks/2546.js:9327:9)
    at eb (/var/task/.next/server/chunks/2546.js:9226:29)
    at Timeout._onTimeout (/var/task/.next/server/chunks/2546.js:9062:16)
    at listOnTimeout (node:internal/timers:569:17)
    at process.processTimers (node:internal/timers:512:7)
[Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.] {
  digest: '89999947'
}

/studio /admin /guestbook /about 显示页面正常,但评论和订阅点击没反应,后台也没看到新增数据

请问怎么添加新的social link

我看了一下源码,没看明白social link的icon是怎么加上去的。

我发现是Headline文件调用了SociaLink文件,SociaLink又调用了asset里的单独icon文件。

请问如果我想添加一样风格的linkedin图标应该怎么做呀?

sanity getSetting 为null

翻看了代码这里没有处理null的情况,是一定有值吗,(或许我配置的姿势不对
image

Application error: a client-side exception has occurred (see the browser console for more information). Digest: 477354927

在本地可以启动项目但部署到vercel会报错,控制台报错信息: Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error. 我不知道这个问题应该怎么解决

Google Index 和 Lighthouse 测试网站速度莫名报错 Blocked due to unauthorized request (401)

大佬你好, 又来请求帮忙啦. 我最近在vercel部署网站后想用Google Search Console 把我的网址索引进Google的数据库.

结果报错Blocked due to unauthorized request (401) 好像是爬虫或者user agent 被拦下来了. 我的网站没有robot.txt 所以可以排除这个原因.

SCR-20230915-kpqg

看了vercel的日志, 确实有些401错误

image

根据google的文档做了也没有解决, 在stack overflow问了没有答案. 实在没法了. 搞不懂是代码里的原因, 还是vercel设置的原因, 还是别的什么原因.

不知道大佬有没有遇到过类似的问题, 或者知道大概是哪里出了问题还望指点一二 🙏

mobile links issue

Need to investigate this issue reported from Twitter:

网站有个体验上的小bug,点击链接要点两次,设备是iPhone13 mini iOS16.5

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.