babel-upgrade is broken if you have spaces in user folder.
Open
- Dominant language
- JavaScript
- Stars
- 1.3k
- Forks
- 53
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I have a space in my user folder name :
```
C:\Development\test\onsenui-vue-cordova-test > npx babel-upgrade
Error: EPERM: operation not permitted, mkdir 'C:\Users\xarkam'
```
The real folder is `C:\Users\xarkam xarkam\`
Thanks for fix it.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing `npx babel-upgrade` on Windows with a user folder containing a space, using the command and paths shown in the report. Trace the babel-upgrade entry point to find where the user path is split or interpreted, then verify that the command creates or accesses the complete `C:\Users\xarkam xarkam\` path successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100