Open zenzero3 opened 1 year ago
can anyone fix this problem i just install face detector by documentation but if i run my project , i get error ERROR [Error: TransformError SyntaxError: /Users/user/splash-1/src/scenes/Absensi.js: Unexpected token (34:48)
34 | const [faces, setFaces] = React.useState<Face[]>([]);
I had the same issue. I fixed it by changing my file format from .js to .tsx
can anyone fix this problem i just install face detector by documentation but if i run my project , i get error ERROR [Error: TransformError SyntaxError: /Users/user/splash-1/src/scenes/Absensi.js: Unexpected token (34:48)