You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you so much for the workaround @bvachon! Without this workaround, it is impossible to install any npm package when the path to the project dir contains the İ character.
The root of the problem seems to be nodejs/node#27534. (I have a PR that fixes that issue.) The problem I've stated (not being able to install any npm packages under e.g. C:\İİİİ\) is also fixed when that patch is applied.
It seems like this is a Node error, and trying to work around it in node-tar (eg, by using something other than the built-in path functions) would be unsafe. And, if you're ok with the un-safety, you can work around it yourself by setting preservePaths: true.
I think we can close this then? If not, lmk, and I'll reopen.
The below test shows the problem. Setting options.preservePaths allows to work around the problem.
The text was updated successfully, but these errors were encountered: