typac icon indicating copy to clipboard operation
typac copied to clipboard

I love the concept of this and how to call it but sadly it doesnt work

Open hidjou opened this issue 5 years ago • 2 comments

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!!

hidjou avatar Nov 24 '20 11:11 hidjou

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

ewgenius avatar Apr 22 '21 18:04 ewgenius

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).

rattrayalex avatar Aug 26 '21 14:08 rattrayalex