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:projectjest ode_modulesjest-serializeruildindex.js:196:21) at HasteMap._persist (D:projectjest ode_modulesjest-haste-mapuildindex.js:947:31) at D:projectjest ode_modulesjest-haste-mapuildindex.js:497:17 at Generator.next (<anonymous>) at asyncGeneratorStep (D:projectjest ode_modulesjest-haste-mapuildindex.js:193:24) at _next (D:projectjest ode_modulesjest-haste-mapuildindex.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 删了重新下载。