Hi all, I'm not sure if I'm doing something wrong or if the issue is from the package.
I've tried configuring my project as both TS and JS.
I've tried adding "type":"module" to package.json
Tried both es5 and es6 module imports. I keep hitting the same error with this package.
Any insights around this would be much appreciated!
/Documents/github/radical/radical-sdk/node_modules/react-native-nfc-manager/src/index.js:1
import {Platform} from 'react-native';
^^^^^^
SyntaxError: Cannot use import statement outside a module
Hi all, I'm not sure if I'm doing something wrong or if the issue is from the package. I've tried configuring my project as both TS and JS. I've tried adding
"type":"module"
to package.json Tried both es5 and es6 module imports. I keep hitting the same error with this package.Any insights around this would be much appreciated!