typewriter icon indicating copy to clipboard operation
typewriter copied to clipboard

`npx typewriter init` does nothing

Open alete89 opened this issue 3 years ago • 4 comments

running npx typewriter init in an empty project directory with a package.json and analytics-node installed does nothing else than showing a message.

running on Ubuntu 20.04, Node 16.13.2, npm 8.3.1, analytics-node 6.0.0, typewriter 7.4.1.

typewriter

alete89 avatar May 30 '22 18:05 alete89

I think this might be an issue with your terminal emulator - it displays an interactive prompt for me in an empty npm project: typewriter-init

brandongregoryscott avatar Jun 14 '22 12:06 brandongregoryscott

So, I'm having the exact same problem (running on Ubuntu 20.04, Node 16.15.1, npm 8.11.0) and I've so far tried with multiple terminal emulators without any success, but for some some reason the command works perfectly everywhere when I run it with sudo :clown_face:

Anyway, as my friend @adrifmonte pointed out, the interactive prompt is there, it's just not visible. So at each step I copied the content and pasted it into a text editor, just so I could see what I was doing. It was a pain and I know it's not a real solution, but at least I was able to complete every step :shrug:

giovanna-guimaraes avatar Aug 03 '22 20:08 giovanna-guimaraes

@giovanna-guimaraes agree, not an ideal solution. Does this work in the new v8 release for you? I'll give it a try on Ubuntu, we switched out of the old rendering system (which was kind of an overkill for typewriter to be sincere).

oscb avatar Aug 23 '22 18:08 oscb

What I do to solve this is use FORCE_COLOR=0 npx typewriter init to force it to be visible

douglasliralima avatar Sep 06 '22 13:09 douglasliralima