推荐 最新
HAO起起

yarn安装依赖报错Error: ENOENT: no such file or directory?

执行安装命令 "yarn" 报错以下信息 [1/5] 🔍 Validating package.json... warning knight-operation: "dependencies" has dependency "@testing-library/jest-dom" with range "^4.2.4" that collides with a dependency in "devDependencies" of the same name with version "^5.11.6" warning knight-operation: "dependencies" has dependency "@testing-library/react" with range "^9.3.2" that collides with a dependency in "devDependencies" of the same name with version "^11.2.2" [2/5] 🔍 Resolving packages... warning Resolution field "css-loader@3.4.2" is incompatible with requested version "css-loader@4.3.0" [3/5] 🚚 Fetching packages... error http://registry.m.jd.com/fsevents/download/fsevents-1.2.7.tgz: Integrity check failed for "fsevents" (computed integrity doesn't match our records, got "sha512-+ux3lx6peh0BpvY0JebGyZoiR4D+oYzdPZMKJwkZ+sFkNJzpL7tXc/wehS49gUAxg3tmMHPHZkA8JU2rhhgDHw== sha1-Z79X9HWPAu3oj7KhcS/vTRU1i+M=") [4/5] 🔗 Linking dependencies... warning " > css-loader@3.4.2" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0". warning " > @dada/custom@0.2.10" has incorrect peer dependency "lodash@^4.17.15". warning "webpack-config-single-spa-react > webpack-config-single-spa > standalone-single-spa-webpack-plugin@1.2.1" has unmet peer dependency "webpack@*". error Error: ENOENT: no such file or directory, open '/Users/wangling86/Library/Caches/Yarn/v6/npm-fsevents-1.2.11-4851b664a3783e52003b3c66eb0eee1074933aa4-integrity/node_modules/fsevents/.yarn-metadata.json' info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. 请问如何解决呀,试了网上找到的很多方法都无效,如下,求助 yarn cache clean yarn install --network-timeout 10000000 yarn install --network-concurrency 1 rm -rf node_modules **/node_modules rm -rf yarn.lock **/yarn.lock yarn config set "strict-ssl" false -g

0
1
0
浏览量151
一颗西兰花

yarn在容器下载依赖失败?

又一个yarn的问题 ̄□ ̄|| 在容器执行命令安装依赖 "yarn" "image.png" (https://wmprod.oss-cn-shanghai.aliyuncs.com/c/user/20240929/a222c30bfa9d02c67af3f1b0238ea0c0.png) 试了以下很多方法也还是不行,求助 yarn cache clean yarn install --network-timeout 10000000 yarn install --network-concurrency 1 rm -rf node_modules **/node_modules rm -rf yarn.lock **/yarn.lock yarn config set "strict-ssl" false -g

0
1
0
浏览量126