Samsung / Wits

Wits for Your Tizen web application development.It will saved your development times and bring pleasure of developing out. Using Wits, You can instantly RELOAD your app's JavaScript/CSS code instead of reinstalling your app every time you make a change.
Apache License 2.0
114 stars 25 forks source link

Tizen 3.0 wits support #112

Open martymclaugh opened 1 year ago

martymclaugh commented 1 year ago
Error: Command failed
     at checkExecSyncError (node:child_process:871:11)
     at execSync (node:child_process:943:15)
     at Object.launchDebugMode (/Users/marty/tizen/philo-tizen/node_modules/@tizentv/wits/lib/appLaunchHelper.js:74:13)
     at /Users/marty/tizen/philo-tizen/node_modules/@tizentv/wits/command/start.js:48:43
     at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
   status: 1,
   signal: null,
   output: [ null, '', 'closed\n' ],
   pid: 80670,
   stdout: '',
   stderr: 'closed\n'
 }

Wits doesn't work on Tizen 3.0 (2017) devices.

In order to get it to work you need to go to @tizentv/wits/lib/appLaunchHelper.js and inside launchDebugMode, result needs to be:

execSync(APP_LAUNCH_DEBUG_MODE_COMMAND_TIMEOUT, {
  encoding: 'utf-8',
  stdio: 'pipe'
});

the regular APP_LAUNCH_DEBUG_MODE_COMMAND needs to be commented out.