Open jonasholfeld opened 3 years ago
I have the same issue. Here is a component made quickly as test:
<template>
<canvas ref="canvas" style="background: green;"></canvas>
</template>
<script>
import Vue from 'vue';
import {
Component
} from 'vue-property-decorator';
import * as handTrack from 'handtrackjs';
@Component({
name: 'AirControl',
data() {
return {
model: null
};
},
async mounted() {
this.model = await handTrack.load();
console.log('model loaded');
}
})
export default class AirControl extends Vue {}
</script>
Result: same error as the initial post. I don't even see the model loaded
log message.
Note: I use tensorFlow 2.7.0.
Any update ?
I have 2 different Vue projects wich both use handtrackjs. The components which use handtrackjs are identical. In the newer project i get the following error:
Whereas in the old project everything works as expected. Both projects use the same handtrackjs version + same Vue version. Is there any hint what might cause this behaviour?