我不是一个前端开发人员,但有时我必须运行一些任务,如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 mini-css-extract-plugin@0.4.2: Invalid bin field for "mini-css-extract-plugin".
到目前为止我尝试了什么?
谷歌谷歌的一些解决方案,因此发布solutions
rm -rf
yarn cache clean
。
他们都不起作用。这里有什么问题吗?
我使用的是MacOS Catalina10.15.4,该命令是使用ZSH从iTerm2运行的。
发布于 2020-12-27 20:41:17
我也有同样的问题,但这些选择帮助了我。
nodemon
运行live-server-extension
运行H 210F 211
的活动进程https://stackoverflow.com/questions/61104010
复制相似问题