typac
typac copied to clipboard
I love the concept of this and how to call it but sadly it doesnt work
I wanted to install cookie and jsonwebtoken and ran typac cookie jsonwebtoken with typac install globally but it just prints:
installing 2 packages with npm
running npm install --save cookie jsonwebtoken
running npm install --save-dev @types/cookie @types/jsonwebtoken
But doesnt install anything or update the package.json
Im using Windows and I tried it with all my different command line tools and it still doesnt work
Would be amazing if you fixed this, thanks bro!!
Oh, sorry for long wait. Yes, this is definitely a bug, thanks for report. Something is wrong with child process spawning on windows. I'll try to take a deeper look at this problem
Personally I had better luck using the install-types package to add @types packages for everything listed in my package.json, eg npx install-types or automated with "postinstall": "install-types". (You have to add --yarn if you use yarn).