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 删了重新下载。


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM