tsconfig.json
tsconfig.json copied to clipboard
Will not run if there is a space in userprofile path
Running on windows 10
my %userprofile% path has a space in it which messes up the code
Any way around this? I've tried renaming my username but looks like I have to recreate the whole account just to remove the space.
you can use regedit, just follow the instructions carefully https://www.tenforums.com/tutorials/89060-change-name-user-profile-folder-windows-10-a.html
On Thu, Nov 19, 2020, 4:48 PM Mat Bednara [email protected] wrote:
Any way around this? I've tried renaming my username but looks like I have to recreate the whole account just to remove the space.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/benawad/tsconfig.json/issues/9#issuecomment-730657561, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJTAFZET7CPXO2F4H6RBGQDSQWHB5ANCNFSM4TMZSFKQ .
Temporary solution
run
npm config set cache C:\tmp\nodejs\npm-cache --global
Then
npx tsconfig.json
source: https://stackoverflow.com/questions/57747895/npm-err-code-enolocal-npm-err-could-not-install-from-ibrahi-appdata-roaming-n
Do not know if this a good method, but it works