We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
打算新增一个案例demo。按照官网的贡献指南,将代码clone之后,依次执行以下命令:
切换到 2.x 分支 git checkout next
安装依赖 pnpm install # 或者 pnpm bootstrap
打包 pnpm build
pnpm core:build-esm # 首次运行需要先执行一次
本地启动官网 pnpm site:start
报错如下图:
The text was updated successfully, but these errors were encountered:
pnpm 版本多少? 看起来是依赖没有安装成功, 包没有 link 到, 根目录 pnpm i 执行成功了吗? 检查下 s2-site 下的 node_modules
pnpm i
s2-site
Sorry, something went wrong.
pnpm版本为:9.14.1 s2-site 下的 node_modules如下: s2-site 下的 node_modules下的s2如下 s2-site 下的 node_modules下的s2-react如下 s2-site 下的 node_modules下的s2-react-components如下
本地文档执行的是各子包下的 esm 的产物, 所以根目录 pnpm build 后再 pnpm site:start, 后面优化下文档
pnpm build
pnpm site:start
No branches or pull requests
🏷 Version
Sheet Type
🖋 Description
打算新增一个案例demo。按照官网的贡献指南,将代码clone之后,依次执行以下命令:
切换到 2.x 分支
git checkout next
安装依赖
pnpm install # 或者 pnpm bootstrap
打包
pnpm build
pnpm core:build-esm # 首次运行需要先执行一次
本地启动官网
pnpm site:start
报错如下图:
🔗 Reproduce Link
😊 Expected Behavior
😅 Current Behavior
The text was updated successfully, but these errors were encountered: