-
Notifications
You must be signed in to change notification settings - Fork 22
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: Unexpected token e in JSON at position 0 #40
Comments
@mtarroyo What is the output of |
It outputs a bunch of information about SDK locations, android virtual devices and connected physical devices. Before finalize the execution it throws the following exception:
|
@mtarroyo Okay, looks like a bug in the SDK walker. In the next release, native-run will simply log errors with directories or files instead of failing like that ^ |
🎉 This issue has been resolved in version 0.2.4 🎉 The release is available on: Your semantic-release bot 📦🚀 |
cordova 9.0.0 (cordova-lib@9.0.1)
And the command
|
I must've missed something. What is that weird file located at |
Hi, @dwieeb! I don't know how those files with strange encoded names has appeared on my |
I figured it was the issue, but I thought the tool was handling any sort of file errors gracefully. It should have just ignored the error and moved on... Glad to hear it's working for you now! |
cordova 9.0.0 (cordova-lib@9.0.1)
ionic 5.0.1
native-run 0.2.3
When executing "ionic cordova run android" without specifying a target (Eg.: --device) the native-run script throws the following error:
This is not so intuitive and take me some time to realise that the problema was the ausence of the "--device" option
The text was updated successfully, but these errors were encountered: