calicastle / cali.so Goto Github PK
View Code? Open in Web Editor NEWCali 的个人官网开源项目
Home Page: https://cali.so
Cali 的个人官网开源项目
Home Page: https://cali.so
Command "pnpm turbo build" exited with 1
部署反复都是这个结果
我填写完env.example后就直接把fork的代码部署到vercel上了
在env.example里填写Vercel必须里的EDGE_CONFIG=""时,我不确定该怎么填写,于是便填了vercel Edge Config Store的id,我不确定是不是和这个有关。
我看了一下源码,没看明白social link的icon是怎么加上去的。
我发现是Headline文件调用了SociaLink文件,SociaLink又调用了asset里的单独icon文件。
请问如果我想添加一样风格的linkedin图标应该怎么做呀?
非常喜欢和感谢您的这个开源项目,但在配置 LINK_PREVIEW_API_BASE_URL 时遇到一些问题,不知道该从何处获取该 API。
首页不能正确显示最新的 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,'
: ''
}
}
}
}`
望查看采纳!😀
经过几个小时反复删库试验,第一次搭建成功是可以进入主页,正常输出内容的。
一旦在/studio
新建一个文章post后,主页/和博客/blog一片空白报错
Application error: a client-side exception has occurred (see the browser console for more information).
Digest: 89999947
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
显示页面正常,但评论和订阅点击没反应,后台也没看到新增数据
Need to investigate this issue reported from Twitter:
网站有个体验上的小bug,点击链接要点两次,设备是iPhone13 mini iOS16.5
PR #35 合入后,当 post 为空时,直接在生产环境(production)下启动(或部署)会报错:ERR wrong number of arguments for 'mget' command。
大佬你好, 又来请求帮忙啦. 我最近在vercel部署网站后想用Google Search Console 把我的网址索引进Google的数据库.
结果报错Blocked due to unauthorized request (401) 好像是爬虫或者user agent 被拦下来了. 我的网站没有robot.txt 所以可以排除这个原因.
看了vercel的日志, 确实有些401错误
根据google的文档做了也没有解决, 在stack overflow问了没有答案. 实在没法了. 搞不懂是代码里的原因, 还是vercel设置的原因, 还是别的什么原因.
不知道大佬有没有遇到过类似的问题, 或者知道大概是哪里出了问题还望指点一二 🙏
在本地可以启动项目但部署到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. 我不知道这个问题应该怎么解决
发完Issue才发现搞错了项目,建议删除此issue。给您造成了不便,敬请谅解
管理 - 评论 页面 构建报错
<!--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-->
错误信息如下
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
sanity generates separate projects and schemas
I mean what should me the value of the LINK_PREVIEW_URL so that api work properly and return an image? btw great work.
首先感恩大神把这么棒的网站开源了!!我只懂一些基础的html和css
我想把这个网站作为自己的个人博客,请问如果要发表新的文章或者管理文章应该怎么操作呢?🙏🏻
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.