Vue 3.0 yarn test 进行测试时报错

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 删了重新下载。
posted @ 2019-07-05 18:48  Tsingtree  阅读(1632)  评论(0编辑  收藏  举报