yarn test 执行报错 Error: ENOSPC: no space left on device, write at Object.writeSync (fs.js:568:3) at Object.writeFileSync (fs.js:1199:26) at Object.writeFileSync (D:\project\jest\node_modules\jest-serializer\build\index.js:196:21) at HasteMap._persist (D:\project\jest\node_modules\jest-haste-map\build\index.js:947:31) at D:\project\jest\node_modules\jest-haste-map\build\index.js:497:17 at Generator.next (<anonymous>) at asyncGeneratorStep (D:\project\jest\node_modules\jest-haste-map\build\index.js:193:24) at _next (D:\project\jest\node_modules\jest-haste-map\build\index.js:213:9) at process._tickCallback (internal/process/next_tick.js:68:7) error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.检查后发现是空间不够出错
-
检查C盘空间。
- 将node_module 删了重新下载。