How to build a CLI with Node.js

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Writing a CLI is a lot harder than I thought 😅
Anyways, thank you so much for the tutorial! Amazing content 🔥

DanielBergholz
Автор

Anyone knows in 7:34 where the video shows the options for "JavaScript" and "Typescript", why we may get an error message about the "node:async_hooks", please? I followed the steps and I get the err msg below.
"Error: Cannot find module 'node:async_hooks'".
Any help would be much appreciated :)

geo
Автор

Nice turtorial, Simple and easy to understand, Thank you

tinssondai
Автор

For those who have trouble running scripts on windows, run as administrator in power shell (set-executionpolicy remotesigned)

danimydev
Автор

Very informative and well structured video.

ishankhandelwal
Автор

How about adding option to Add "Project Name" and replacing name in template using mustache or any other template engine ??

shekhhussain
Автор

I tried the same but after npm link, I execute the command in bin and it says command not found.
M01GMBYV372LVDQ:rc manikantat$ rc
-bash: rc: command not found

ManikantaTankala
Автор

Thank you so much for the turtorial <3

phatmai
Автор

plz help me , I am getting
'generate-file' is not recognized as an internal or external command,
operable program or batch file"
when I do generate-file -yes after I did npm link

someone
Автор

When i write ( args._[0], ). it will say ( Cannot read property '0' of undifined.) Why is this happening?

ItzSwiftyBoy_Gaming
Автор

hey thanks for sharing this video
ive faced with error:

ERROR Invalid template name

could you please help me?

mahkamehfallah
Автор

Please help
{ Error: ENOENT: no such file or directory, access
errno: -4058,
code: 'ENOENT',
syscall: 'access',
path: }

jordanlangton
Автор

First of all thanks for the video.
I am using windows. After running npm link it creates the folder but error log shows no such file or directory. and create-project command also does not work! Please help.

bishnusukla
Автор

npm link doesn't do anything for me, the command is still not recognized in the terminal :(

mitlandir
Автор

I'm getting " 'my-cli' is not recognized as an internal or external command,
operable program or batch file. "

operable program or batch file.

hereticstanlyhalo
Автор

What is your vscode theme? It looks nice!

weiwang
Автор

can you do this with a ruby(irb) console

jdsoteldo
Автор

% Invalid template name ERROR please help

danimydev
Автор

I can finally create global CLI node projects ;_;

YvtqKn
Автор

zsh: command not found: create-project
can someone please help!

jackiepuppet_
visit shbcf.ru