bhaptics / tact-js

Other
8 stars 4 forks source link

Included samples not working #7

Open yordiverbeeck opened 3 years ago

yordiverbeeck commented 3 years ago

I tried the samples of the library but I'm having a hard time getting them to work.

Perhaps this could be a bigger issue as I can't get it to run in NodeJS either. (using the tact-js.umd.js file)

Could a dev of this project have a look at this? Thanks!

Michael1337 commented 3 years ago

I just tried them and had trouble, too. Just running the sample code won't work ("tactJs is not defined"). I ended up creating my own node project and following the "How to setup", building the project, and starting the built file in /dist. That requires some knowledge about Node and npm, though. I can't tell if I had success yet, because I actually don't have a device at the moment, but I can console.log "tactJS" without errors.

westside commented 3 years ago

Oh, I didn't add dist files to the project. You can download tact-js from npm or you need to build manually.