我不是前端开发人员,但有时我必须运行一些任务,例如
yarn install && yarn build-dev
。目前我正在运行yarn install
,如下所示,但我无法让它正常工作,并且没有任何关于错误或如何修复它的线索:
▶ yarn install
yarn install v1.22.4
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
error An unexpected error occurred: "ENOTEMPTY: directory not empty, rmdir '/Users/reynierpm/Library/Caches/Yarn/v6/npm-react-popper-tooltip-2.10.1-e10875f31916297c694d64a677d6f8fa0a48b4d1-integrity/node_modules/react-popper-tooltip'".
info If you think this is a bug, please open a bug report with the information provided in "/Users/reynierpm/dev/docker/web/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
warning [email protected]: Invalid bin field for "mini-css-extract-plugin".
到目前为止我已经尝试过什么?
rm -rf
yarn cache clean
他们都不起作用。这里可能出了什么问题?
我使用的是 MacOS Catalina 10.15.4,该命令是使用 ZSH 从 iTerm2 运行的。
我有同样的问题,但这些选项帮助了我
nodemon
跑步live-server-extension
我知道老话题,但对我来说,我还需要关闭 IDE 并在单独的终端中运行。在文件资源管理器中打开文件夹很好,所以我想我有另一个干扰的插件。