【问题标题】:How to fix the following error on Laravel Homestead VM: errno -30 rofs EROFS: read-only file system, symlink '../@babel/parser/bin/babel-parser.js'?如何修复 Laravel Homestead VM 上的以下错误:errno -30 rofs EROFS: read-only file system, symlink '../@babel/parser/bin/babel-parser.js'?
【发布时间】:2020-05-15 20:48:05
【问题描述】:

在 Homestead 虚拟机上从该目录运行 npm install && npm run dev 时:

/home/vagrant/Sites/project/laravel安装依赖,出现错误:

npm ERR! code EROFS
npm ERR! syscall symlink
npm ERR! path ../@babel/parser/bin/babel-parser.js
npm ERR! dest /home/vagrant/Sites/project/laravel/node_modules/.bin/parser
npm ERR! errno -30
npm ERR! rofs EROFS: read-only file system, symlink '../@babel/parser/bin/babel-parser.js' -> '/home/vagrant/Sites/project/laravel/node_modules/.bin/parser'
npm ERR! rofs Often virtualized file systems, or other file systems
npm ERR! rofs that don't support symlinks, give this error.

如何解决此错误?任何帮助将不胜感激。

【问题讨论】:

    标签: laravel vue.js homestead


    【解决方案1】:

    Virtualbox 在安全性方面限制了在共享目录中创建符号链接

    【讨论】:

    • 在你的回答中提供更多细节,你的回答需要更多解释
    猜你喜欢
    • 2019-11-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-12-22
    • 2018-08-14
    • 1970-01-01
    • 2017-12-20
    • 2021-09-06
    相关资源
    最近更新 更多