问题描述
我最近克隆了一个 Vuejs/Amplify AWS 应用程序。当我在 macos 终端中运行 brew services start elasticsearch
时,出现此错误。
yarn serve
我已验证此文件存在于我的机器上,并且共享权限允许读取和写入,如您在此屏幕截图中所见。
我也尝试过清理纱线缓存,然后再次运行 Syntax Error: SassError: File to import not found or unreadable: xxx/.yarn/cache/ol-npm-5.3.3-0c6bed9f3c-f13c35e62d.zip/node_modules/ol/ol.
on line 2 of xxx/.yarn/$virtual/vuelayers-virtual-42d8965565/0/cache/vuelayers-npm-0.11.36-a27e1924b3-8639d01359.zip/node_modules/vuelayers/src/styles/main.scss
>> @import "ol/ol";
和 yarn install
,结果相同。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)