Skip to content
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

Errors on win10 vagrant: An unexpected error occurred: "EIO: i/o error, symlink '../../../../browserslist/cli.js' #132

Open
OneCodeMonkey opened this issue May 13, 2020 · 2 comments

Comments

@OneCodeMonkey
Copy link

OneCodeMonkey commented May 13, 2020

When running create-react-app my-app --no-bin-links,it fails on [step 3] Linking dependencies ...

........
An unexpected error occurred: "EIO: i/o error, symlink '../../../../browserslist/cli.js'
...

After searching many answers online,can't find a solution. So it caused by windows file type (NFS) ?

I also tried starting up vagrant as an administrator and repeat create-react-app , still not work.

@OneCodeMonkey
Copy link
Author

Many people have raised this question on stackoverflow.com and till now I have not seen a solution that works : (

@OneCodeMonkey
Copy link
Author

OneCodeMonkey commented May 15, 2020

希望后面看到的老铁,这个问题别挣扎了。。我试了很多种方法,虽然 yarn 或者 npm 加 --no-bin-links 可以编译过,但是 create-react-app 加这个参数没用。
可以在虚拟机外的 windows 命令行装 nodejs 或者 yarn,在外面完成 create-react-app app-name 安装,实测可行。

PS: vagrant 虚拟机对 windows 的文件系统支持目前确实有很多问题,git 换行符不兼容(这个可以 git config 手动设置),文件查找速度慢,上面的 node 的 symlink 符号链接无法创建等。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant