Cveinnt / LiveTerm

💻 Build terminal styled websites in minutes!
https://liveterm.vercel.app
MIT License
4.67k stars 504 forks source link

Error 21 #4

Closed picarda closed 2 years ago

picarda commented 2 years ago

Hello, I got this error: ERROR: [Errno 21] Is a directory: 'install' And if I move install.sh at the root I got: ERROR: There are no scenarios; must have at least one.

Thanks

Cveinnt commented 2 years ago

Hi @picarda, can you specify which command you were trying to run?

picarda commented 2 years ago

Hi It’s when I do: yarn install

thanks

Coday-meric commented 2 years ago

Use npm for install, build and start LiveTerm. npm install npm run dev or npm run build and npm run start

Cveinnt commented 2 years ago

@picarda [Errno 21] is a python error, are you trying to run install.sh in a python environment? If so, could you detail the steps or the code you used to run yarn install?

Coday-meric commented 2 years ago

Hello, For reproduce this error, i have clone git repo with this command git clone https://github.com/Cveinnt/LiveTerm.git && cd LiveTerm and after try to install with yarn install && yarn dev. But this command out 00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'install' it's same with yarn dev out 00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'dev'. I do not understand why run a shell file in python but i try and not working for me. I have Node Js 16, python 3, ubuntu 20.04 and last yarn package install.

Install and run with npm work great for me.

Thanks for your great work.

mjh316 commented 2 years ago

@Bosseur31 Searching the web gives this, which indicates that your yarn installation may be the problem. As mentioned in the link, removing cmdtest and yarn and then reinstalling yarn seems to be worth a shot. This is also corroborated with npm working for installation, so nothing seems to be wrong with the project itself.

Coday-meric commented 2 years ago

I'm not used to yarn. You think npm can cause problems ?

mjh316 commented 2 years ago

I'm not familiar enough with the intricacies of either to say whether it would (though I doubt it would), I'm just commenting on why you might be facing that particular issue with yarn.

Coday-meric commented 2 years ago

Thanks for your help. Your solution work great.

Cveinnt commented 2 years ago

Great discussion - thanks everyone for contributing! Closing this issue for now.