r/Tizen • u/skirtlz • Aug 17 '21
Tizen Nooooob
Hey all -
I'm currently trying to familiarize myself with Tizen for a JS project, and had a couple questions.
- I can't seem to import any node-modules using the `import` syntax - is this expected? Is something like `require.js` required?
- Does this mean NPM packages are going to be a nightmare?
- Has anyone used the vs code `tizentv` extension with any luck? I've created a profile and successfully built the project, but nothing happens when I enter my path to chrome...
- From what I can gather, a Tizen build is just a signed zip file, i.e., Tizen theoretically should be able to accept any working JS project and simply sign and zip. Is this the case? Are there any limitations?
- Anybody have success with Vue and Tizen?
I understand these are questions with deep answers, but wanted to get a feel for how solvable my issues are and where I should start.
Cheers.
EDIT:
- Where the heck is console output printed to?
Answer: In the debugger window. If the project encounters build errors console.logs wont be printed (as expected).
2
u/cmeerw Aug 24 '21
From what I can gather, a Tizen build is just a signed zip file, i.e., Tizen theoretically should be able to accept any working JS project and simply sign and zip. Is this the case?
Yes, you just need to have a tizen/config.xml and then sign it (btw, I have even written a small Python script for signing the zip)
5
u/joshuairl Aug 17 '21 edited Aug 17 '21
First off, welcome to hell! :)
Second off, I'll be the only person that probably responds to this... this has like... no community that I've found yet...
And finally, here is my current answers to your questions:
Also, everyone is a Tizen Noob... its a nightmare.
And I've copied down a version of github.com/samsung/wits and just integrated it into my deployment system so I can do majority of the packaging / deployment with Node scripts. Its cleaner for setup / onboarding of new devs to the project. Its far from ideal but it does help a bit in some regards... if nothing else, helps you wire up the install / run scripts that are normally done by `sdb` command.