yarn-audit-fix: Errors running on windows in git bash: EPERM operation not permitted, could not find parent dir
I get the following error on running npx yarn-audit-fix
on windows in git bash:
npx yarn-audit-fix
Preparing temp assets...
Error: EPERM: operation not permitted, symlink '..\..' -> 'C:\data\src\<my project>\node_modules\.cache\yarn-audit-fix\node_modules'
running the same in a console with administrator privileges results in this error:
npx yarn-audit-fix
Preparing temp assets...
Generating package-lock.json from yarn.lock...
Error: Could not find parent dir!
at parentPackagePath (C:\data\src\<my project>\node_modules\synp\util\traverse.js:9:11)
at C:\data\src\<my project>\node_modules\synp\lib\lockfileV1\tree.js:67:30
thanks for any hints to get it running.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 20 (12 by maintainers)
@MattSwartz
I think this is enough for research. Let’s deal with this separately: #20
https://gist.github.com/MattSwartz/710103987633f938a851ba8d80bfe286 let me know if this helps. This is a private repo so I can’t share a link to it.
rc.11 worked for me, thank you very much for your efforts! 👍