gts
gts copied to clipboard
(question) How am I to go about using 4.0.0?
I'm trying to use 4.0.0 but since it isn't on npm yet, npx gts init
uses 3.1.1.
So instead I try to use the GitHub repo syntax to install/use it (npx google/gts init
), but nothing happens in the end. It asks me if I want to install gts 4.0.0, which I do, so I say yes (I've also tried adding the -y
flag), and then I don't get any new files created in my project's directory, it doesn't prompt me to make a package.json
file (directory is empty), nothing.
Could someone shed some light onto this for me so I can use 4.0.0 with my project?
This probably came too late, and you've resolved it, but you can use the command npm i [email protected]
to get the right version.
I thought I'd found a workaround but I don't remember what it was anymore.
Also, when installing gts locally, you have to delete package.json in order for the init command to fully populate it. That's what I'm going to do for the time being.
npx -y gts@next init -y
Thanks @abcfy2, it worked perfectly for me!