raphamorim/react-tv

react-tv: command not found or react-tv-cli: command not found

parisaabasian opened this issue · 7 comments

I have installed react-tv-cli and also setup webos
and now when I want to init myapp I get this error:
react-tv-cli init ==> react-tv-cli: command not found
react-tv init ==> react-tv: command not found

none of them works,What am I doing wrong?!

@parisaabasian,

Do you have installed it as a global package?
yarn global add react-tv-cli if you are using yarn or npm install -g react-tv-cli if npm.

@iepsen yes I did but it didn`t fix my problem :(

@parisaabasian What is your webOS setup path ?

@matheusmonte once in my home/opt/ and when I got the error I uninstalled it and again installed in the project root folder/opt/
you mean it`s because of webOS?

@parisaabasian sorry, I miss something in your issue. I already have a issue with command not found, but is caused by webOS error path. In your case, I think is a installation error. Do you try to remove all packages and install globally again? Whats is your platform ?

@matheusml I tried that,and still same problem
It is linux (ubuntu)

Did you get this solved? I'm facing the same.. Maybe even worse though, WebOS doesn't even install. Instead it just stalls then quits out.