-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SyntaxError: Cannot use import statement outside a module #2050
Comments
Solution is to add
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Having issue while trying to run 'npm test'
Steps to Reproduce
npx react-native init testProject
(RN 0.64.0
)npm install --save react-native-code-push
at project rootpod install
import codePush from "react-native-code-push";
at App.jsExpected Behavior
Expect npm test to pass
Actual Behavior
Test failed after importing codePush
Environment
"react-native-code-push": "^7.0.0"
React-Native
(The more info the faster we will be able to address it!)
The text was updated successfully, but these errors were encountered: