benawad/tsconfig.json

Will not run if there is a space in userprofile path

Opened this issue · 3 comments

Running on windows 10
my %userprofile% path has a space in it which messes up the code
image

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.

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