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.
检查后发现是空间不够出错
  1. 检查C盘空间。

  2. 将node_module 删了重新下载。

相关文章:

  • 2022-12-23
  • 2021-12-31
  • 2022-01-21
  • 2022-12-23
  • 2022-12-23
  • 2021-11-16
  • 2021-09-13
  • 2021-11-07
猜你喜欢
  • 2021-11-26
  • 2022-12-23
  • 2021-07-17
  • 2022-01-13
  • 2021-09-25
  • 2022-02-23
  • 2022-12-23
相关资源
相似解决方案