Comments (9)
已经解决全部问题,使用 'pnpm build' 之后,再使用 'npm start' 就可以使用了
from cali.so.
pnpm i && pnpm dev
?
from cali.so.
from cali.so.
除此之外,build还会引发#16 这个错误,解决方法还没看懂
from cali.so.
看起来也许是 Windows 的问题,没试过在 Windows 上面运行
from cali.so.
感谢有求必应!确实是Windows的问题,更换Ubuntu 后就正常了,但是想知道,有没有办法在自己的服务器上运行,而不使用vercel
from cali.so.
看来我再此遇到了这个问题,并且是在Linux中
我在完成 Sanity 的依赖安装后,就会出现这个问题,依旧是/studio可以访问,Vercel、本地都可以,但是它们的界面居然还有所不同
内容更多的是 Vercel,但是它们 Sanity 的版本甚至都是相同的,不知这是为何。
环境:
Node.js v18.17.0、NPM v9.8.1、PNPM v8.6.10、Ubuntu20(WSL)
后台 Sanity 版本显示均为 v3.12.2
复现步骤:
- 克隆仓库
- pnpm i
- 'npm create sanity@latest -- --template clean --create-project "Cali Demo" --dataset production'
- 配置其它内容
- pnpm dev
在第三步中,所有内容均填为yes,template为blog,最后输入为/studio
就会出现启动开发服务器后,Web报错的问题,并且在 Vercel 部署的 /studio 和 localhost 的/studio 有所不同
from cali.so.
在运行创建 sanity 项目的时候不要回答任何问题,开始问第一个问题时直接 Ctrl C 退出
from cali.so.
看起来,它好像出现了更无法解释的错误。ID配置是完全正确的,但是连Vercel都显示失败,这就很奇怪了
from cali.so.
Related Issues (20)
- 主页/和博客/blog一片空白报错,评论和订阅点击没反应 HOT 7
- enhancement: page gets drastically darker when the login modal is activated. HOT 2
- 更新NextJS HOT 1
- Application error: a client-side exception has occurred (see the browser console for more information). Digest: 477354927 HOT 6
- how does link preview component works? HOT 1
- 大佬你好,发现了 reactions 上一个小小的体验问题 HOT 1
- Google Index 和 Lighthouse 测试网站速度莫名报错 Blocked due to unauthorized request (401) HOT 8
- 请问您的网站如何实现日语朗读效果
- 留言墙无法留言 HOT 20
- Flicker problem when the link-preview popup collision the viewport boundary
- admin页面新建newsletters报错,和留言墙报错 。实在不明白 HOT 4
- 首页未正确显示最新 5 篇文章问题修复 HOT 1
- Error:ERR wrong number of arguments for 'mget' command HOT 4
- 评论功能希望可以点击空白页关闭
- mysql自己的数据库怎么设置呢 HOT 8
- 博主确定开源这个项目让别人clone使用tailwind UI 模板没有侵权问题么? 不太确定这里有什么风险 HOT 2
- 管理 - 评论 页面 构建报错 HOT 1
- sanity getSetting 为null HOT 4
- 你好,按照你的教程试了下,但为啥还是报错啊?最近这些服务是不是更新了呢 HOT 1
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 cali.so.