# Bug缘由 Bug birth crib
偶然兴起学学微前端的课程,建一个git repo然后 pnpx create-mf-app
I got pregnant in the head so I started learning micro frontend. I created a git repo then execute some funny code.
yarn是几万年前装的。
I installed yarn before my first yarn.
今不巧,当即给我尥蹶子报了个奇怪的错
Dang, yarn showed me how tough she can be today
yarn install v1.22.19
info No lockfile found.
[1/4] Resolving packages...
warning webpack-dev-server > webpack-dev-middleware > memfs@3.6.0: this will be v4
[2/4] Fetching packages...
error https://registry.yarnpkg.com/postcss/-/postcss-8.4.31.tgz: Extracting tar content of undefined failed, the file appears to be corrupt: "ENOENT: no such file or directory, stat 'C:\\Users\\Administrator\\AppData\\Local\\Yarn\\Cache\\v6\\npm-postcss-8.4.31-92b451050a9f914da6755af352bdc0192508656d-integrity\\node_modules\\postcss\\lib\\document.d.ts'"
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
随便翻了翻资料
After some ransacking through dictionaries
找到了一个绕过问题的方法
I found a problem to the solution
yarn install --network-concurrency 1
yarn install v1.22.19
info No lockfile found.
[1/4] Resolving packages...
warning webpack-dev-server > webpack-dev-middleware > memfs@3.6.0: this will be v4
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
Done in 304.02s.
留此一笔供日后细品
Here's to future review!