执行命令yarn build报错:
yarn版本:1.22.10
node版本:16.11.1
npm版本:8.1.0
系统:archlinux
`
ERROR Could not resolve './use-prevent-globalThis' from ./use-prevent-globalThis?commonjs-external 21:02:42
ERROR Could not resolve './use-prevent-globalThis' from ./use-prevent-globalThis?commonjs-external 21:02:42
at error (node_modules/rollup/dist/shared/rollup.js:158:30)
at ModuleLoader.handleResolveId (node_modules/rollup/dist/shared/rollup.js:22263:24)
at node_modules/rollup/dist/shared/rollup.js:22257:26
执行命令
yarn build
报错: yarn版本:1.22.10 node版本:16.11.1 npm版本:8.1.0 系统:archlinux ` ERROR Could not resolve './use-prevent-globalThis' from ./use-prevent-globalThis?commonjs-external 21:02:42ERROR Could not resolve './use-prevent-globalThis' from ./use-prevent-globalThis?commonjs-external 21:02:42
at error (node_modules/rollup/dist/shared/rollup.js:158:30) at ModuleLoader.handleResolveId (node_modules/rollup/dist/shared/rollup.js:22263:24) at node_modules/rollup/dist/shared/rollup.js:22257:26
error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. `