Hi,
I am trying to write an app for Gear S2.
The app needs the OscClient library. And the example code has this line for importing the library:
var OscClient = require('osc-client').OscClient;
But when I try to run the code , I get this error on the Tizen IDE console:
js/main.js (1) :ReferenceError: Can't find variable: require
I doubt that this import method is not supported by Tizen IDE. But then how can I import this module ?
I also added this js file to my index.html as:
<script src="js/OscClient.js"></script>
But doesn't help. What can I do ?
Thanks.