Hey Leo thanks for the video! I have 2 questions: 1) how does someone changes that "?" to "✅" and I have prepared a template (GitHub repo) with JS/TS, Playwright, GSAP. I want to create a CLI, which actually will "create" a template based on user input: 1. JS or TS? 2. Install GSAP? 3. Install Playwright? The thing is, that I don't know how to create it: from within the CLI or fetch the files based on user input, example jsconfig.json or tsconfig.json with options? Also common files like .prettierrc.json, .eslintrc.json etc.. If I create it from within (for example having a folder "template" with "common", "javascript", "typescript" subfolders and pick the files needed, i'm afraid that It will be very difficult to debug only @ 1 place (I suppose I will have to debug my end-template and then go and "copy" "paste" parts of code inside my CLI's code & templates folder). But if I "fetch" files then the CLI is not actually versioning correctly since it will only fetch the latest files. I'm superconfused...
On mac, when i enter "create-my-app" (that is my cli app name) on the terminal it says command not found, and then i tried it with npx, but then it gives me the error that says "/usr/local/bin/create-my-app: bad interpreter: Permission denied"
i'm on a mac and for some reason running "npm install -g" wasn't working for me. i added a " . " at the end to say "this directory" and it then installed "template-cli" in my PATH. so if you're having issues try "npm install -g ."
Hmm thats strange, sorry unfortunately I do most of my personal stuff on Windows and WSL2 as I don't have a personal Mac :/. Glad you got it to work though and thanks for letting others know in case they experience the same.
tried doing it with "." on the end but I'm still getting "zsh: command not found: template-cli". After the "npm install -g ." all I'm getting is "up to date", do I need to uninstall first?
when I install my cli app, get an error that says: /c/Users/User/AppData/Roaming/npm/alpha-create-app: line 9: C:\Users\User\AppData\Roaming pm//: Is a directory /c/Users/User/AppData/Roaming/npm/alpha-create-app: line 9: exec: C:\Users\User\AppData\Roaming pm//: cannot execute: Is a directory what should I do? may help me please
Exactly what i was looking for! You've just earned a subscriber my dude!
Awesome stuff!!! Please keep up the good work. You do "different" kind of stuff. I was bored of basic beginner tutorials. Thank you for this.
Thanks Daniel!
Awesome Leo! Your effort on these videos are really of the highest appreciation and helped me a lot. Please continue :-)
Thanks, will do!
Very well explained. Cheers for this video. I'll definitely use your GH project as base for mine. 👍
Awesome tutorial! Everthing works on my setup serverless-template thanks :)
Hey Leo thanks for the video! I have 2 questions: 1) how does someone changes that "?" to "✅" and I have prepared a template (GitHub repo) with JS/TS, Playwright, GSAP. I want to create a CLI, which actually will "create" a template based on user input: 1. JS or TS? 2. Install GSAP? 3. Install Playwright? The thing is, that I don't know how to create it: from within the CLI or fetch the files based on user input, example jsconfig.json or tsconfig.json with options? Also common files like .prettierrc.json, .eslintrc.json etc.. If I create it from within (for example having a folder "template" with "common", "javascript", "typescript" subfolders and pick the files needed, i'm afraid that It will be very difficult to debug only @ 1 place (I suppose I will have to debug my end-template and then go and "copy" "paste" parts of code inside my CLI's code & templates folder). But if I "fetch" files then the CLI is not actually versioning correctly since it will only fetch the latest files. I'm superconfused...
On mac, when i enter "create-my-app" (that is my cli app name) on the terminal it says command not found, and then i tried it with npx, but then it gives me the error that says "/usr/local/bin/create-my-app: bad interpreter: Permission denied"
i'm on a mac and for some reason running "npm install -g" wasn't working for me. i added a " . " at the end to say "this directory" and it then installed "template-cli" in my PATH. so if you're having issues try "npm install -g ."
Hmm thats strange, sorry unfortunately I do most of my personal stuff on Windows and WSL2 as I don't have a personal Mac :/. Glad you got it to work though and thanks for letting others know in case they experience the same.
tried doing it with "." on the end but I'm still getting "zsh: command not found: template-cli". After the "npm install -g ." all I'm getting is "up to date", do I need to uninstall first?
can we be get source code from github?
when I install my cli app, get an error that says:
/c/Users/User/AppData/Roaming/npm/alpha-create-app: line 9: C:\Users\User\AppData\Roaming
pm//: Is a directory
/c/Users/User/AppData/Roaming/npm/alpha-create-app: line 9: exec: C:\Users\User\AppData\Roaming
pm//: cannot execute: Is a directory
what should I do? may help me please
nice tutorial
For anyone using this on windows, the shebang line doesn't work. You'll need a bat file to be able to run the cli using a node interpreter.
Awsome!
Awesome content,But your thumbnails are not so attractive that's why your channel is not ranked.