2018-03-31T17:14:55Z||2018-03-31T17:14:55Z


运行yarn后遇到了:

[3/5] Fetching packages...
error An unexpected error occurred: "https://registry.yarnpkg.com/jsdom/-/jsdom-11.6.2.tgz: ENOENT: no such file or directory, utime 'C:\\Users\\Administrator\\AppData\\Local\\Yarn\\Cache\\v1\
pm-jsdom-11.6.2-25d1ef332d48adf77fc5221fe2619967923f16bb\\lib\\jsdom\\living\\generated\\Document.js'".

应该是缓存出了问题,先清理下缓存:

yarn cache clean

然后再运行

yarn

yarn会重新下载package,问题应该会消失。