-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors running on windows in git bash: EPERM operation not permitted, could not find parent dir #18
Comments
Hi @klues There're some issues with synp and yarn-audit-fix we're trying to solve right now (imsnif/synp#46). Could you try out the latest 2.0.0-rc.5?
UPD |
Same thing here. I did try the 2.0.0-rc.5 with the same results. See below
Let me know what information I can supply to help. |
Oh... It seems to be all about path separators. Fixed imsnif/synp@5bfa495. Could you try 2.0.0-rc.7? UPD I should add windows-based testing task |
I've added windows os to build matrix. Everything seems to be ok. |
thank you very much for the support! I've tried rc7, this is the result:
|
I guess this is because npm audit fix is trying to eliminate the difference in the
|
I did
but unfortunately it results in the same error. |
Most likely you are right. I'll experiment with this a little later. |
I've added several tweak ups. Could you take a look at 2.0.0-rc.9 build? |
this is my result for rc.9:
|
Again my carelessness. Sorry. I have not posted the latest edits: exports.getNpm = function () { return path_1.resolve(require.resolve('npm'), '../../../.bin/npm'); }; should be export const getNpm = () => resolve(require.resolve('npm'), '../../../.bin', isWindows() ? 'npm.cmd' : 'npm') 2.0.0-rc.10 is waiting for review. |
unfortunately still looks the same as rc.9 |
rc.11 does get past the first part then bombs out here:
|
In any case, this is a step forward. |
@MattSwartz, could you share a link to your repo? As far as I understand, this issue is related to synp, and invokes code of 2017. package.json + yarn.lock would be enough |
rc.11 worked for me, thank you very much for your efforts! 👍 |
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. |
I think this is enough for research. Let's deal with this separately: #20 |
If there is no objections, I'm going to close this for now as the main issue seems to be solved. |
I get the following error on running
npx yarn-audit-fix
on windows in git bash:running the same in a console with administrator privileges results in this error:
thanks for any hints to get it running.
The text was updated successfully, but these errors were encountered: