Open ahmafi opened 10 months ago
I have a typescript project which doesn't have "type": "module" in it's package.json. And I'm getting this error:
"type": "module"
package.json
error - /.../node_modules/capacitor-native-biometric/dist/esm/index.js:1 import { registerPlugin } from '@capacitor/core'; ^^^^^^ SyntaxError: Cannot use import statement outside a module
I have a typescript project which doesn't have
"type": "module"
in it'spackage.json
. And I'm getting this error: