Description
Self-service
- I'd be willing to implement a fix
Describe the bug
error An unexpected error occurred: "ENOENT: no such file or directory, copyfile 'C:\Users\johng\AppData\Local\Yarn\Cache\v6\npm-vue-router-3.5.2-5f55e3f251970e36c3e8d88a7cd2d67a350ade5c-integrity\node_modules\vue-router\vetur\attributes.json' -> 'C:\code\WorkHub\node_modules\vue-router\vetur\attributes.json'".
info If you think this is a bug, please open a bug report with the information provided in "C:\code\WorkHub\yarn-error.log".
Note that the original file does exist:
Directory of C:\Users\johng\AppData\Local\Yarn\Cache\v6\npm-vue-router-3.5.2-5f55e3f251970e36c3e8d88a7cd2d67a350ade5c-integrity\node_modules\vue-router\vetur
06/28/2021 03:54 PM
.06/28/2021 03:54 PM ..
06/28/2021 03:54 PM 2,542 attributes.json
06/28/2021 03:54 PM 713 tags.json
And the destination directory did NOT exist:
C:\code\WorkHub\node_modules\vue-router\vetur\
All I did was mkdir C:\code\WorkHub\node_modules\vue-router\vetur\
and then did the copy myself and it worked OK.
To reproduce
yarn add @sentry/webpack-plugin
Environment
System:
OS: windows 11, Version 22H2 (OS Build 25252.1000)
CPU: Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz, 2592 Mhz, 6 Core(s), 12 Logical Processor(s)
Binaries:
Node: v14.16.0
Yarn: 1.22.10
npm: 6.14.11
Additional context
I know Yarn is old :( That's what the project is using.