-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
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
Windows系统,在项目根目录执行yarn bootstrap报错 #809
Comments
好像是lerna的bug,在linux环境下lerna bootstrap安装完依赖后会创建可执行脚本的软链接,但是在windows环境下,是直接把可执行脚本复制到了相应的目录下,这就导致了找不到文件的问题 |
感谢你提出的问题,有好的解决方案吗🧐 |
发现是yarn的问题:yarnpkg/yarn#4564, 挂了好几年了都没解决的问题...... |
|
根据zaiMoe所说的这是yarn的bug,我把lerna.json配置文件里的npmClient配置节改成了“npm”,然后执行 |
使用了命令之(yarn install --ignore-scripts && lerna run preinstall && yarn build:dev)后可以下载依赖了; |
window10试试用WSL |
已收到您的来信,非常感谢
|
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 20 days since the last update here. If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not-stale" to keep this issue open! As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out contribute for more information about opening PRs, triaging issues, and contributing! Thanks for being a part of the AntV community! 💪💯 |
已收到您的来信,非常感谢
|
装了wsl 终于可以了。。。 |
已收到您的来信,非常感谢
|
你好,我对wsl2不了解,我应该如何使用wsl2解决这个安装报错问题呀?有没有相关步骤教程呢 |
已收到您的来信,非常感谢
|
兄弟,wsl怎么弄? |
兄弟你这个问题是怎么解决的? |
我是在 X6-master/examples/x6-app-dag 目录运行 yarn 报了这个错,下面这个评论是正解,把 examples 里的文件复制到其他文件夹再 yarn,就没有报错了,亲测能在 Windows 10 跑官方示例了 |
已收到您的来信,非常感谢
|
win10使用wsl2 yarn bootstrap成功了 运行时要关闭wsl的proxy,yarn start 要在wsl中运行 |
windows 下有一些兼容问题,推荐使用 wsl 进行安装。 |
已收到您的来信,非常感谢
|
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
根目录下执行yarn bootstrap命令时报错如下。看起来像是node_modules@antv\stylelint-config\node_modules.bin\run-s脚本中文件路径的问题
"$basedir/../../../../node_modules/npm-run-all/bin/run-s/index.js"
Your Environment
The text was updated successfully, but these errors were encountered: