Samsung / cordova-plugin-toast

Cordova plugin that provides TV Specific functionalities.
Apache License 2.0
122 stars 60 forks source link

Tizen path not found #84

Closed dyanakiev closed 6 years ago

dyanakiev commented 6 years ago

Weird thing, i have tizen in my path..

sudo grunt sectv-build:sectv-tizen
Running "sectv-build:sectv-tizen" (sectv-build) task

Start packaging Samsung Tizen TV Platform......
/bin/sh: 1: tizen: not found

Fatal error: The command "tizen" failed. Make sure you have the latest Tizen SDK installed, and the "tizen" command (inside the tools/ide/bin folder) is added to your path.
whereis tizen
tizen: /home/dimitar/tizen-studio/tools/ide/bin/tizen /home/dimitar/tizen-studio/tools/ide/bin/tizen.sh

Running it without sudo leads to this:

grunt sectv-build:sectv-tizen
Running "sectv-build:sectv-tizen" (sectv-build) task

Start packaging Samsung Tizen TV Platform......
Tizen CLI 2.4.50

Setting configuration is succeeded....

Build Web Application:   80% ( 8/10)Error occured during build!
    java.io.FileNotFoundException: /home/dimitar/Projects/arthola/toast/ArtHolaTV/platforms/sectv-tizen/www/.buildResult/config.xml (No such file or directory)
Total time: 00:00:00.230
Build Web Application:   80% ( 8/10)Error occured during build!
    java.io.FileNotFoundException: /home/dimitar/Projects/arthola/toast/ArtHolaTV/platforms/sectv-tizen/www/.buildResult/config.xml (No such file or directory)
Total time: 00:00:00.230

Any ideas?

dyanakiev commented 6 years ago

It was problem from my shell i was using zsh with is not working with toast.. Changed to bash and now is fine.

Alitowin commented 6 years ago

hi. I have a similar problem.

Start packaging Samsung Tizen TV Platform...... /bin/sh: tizen: command not found

Fatal error: The command "tizen" failed. Make sure you have the latest Tizen SDK installed, and the "tizen" command (inside the tools/ide/bin folder) is added to your path.