You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):
CLI: 6.2.1
Cross-platform modules: 6.2.0
Android Runtime: 6.2.0
iOS Runtime: 6.2.0
Describe the bug
To Reproduce
tns create newApp --js
rm -rf platforms
mkdir -p platforms/android
tns run android
Unable to apply changes on device: emulator-5554. Error is: spawn ./gradlew ENOENT. will be thrown.
Expected behavior
The CLI should detect the invalid platforms state and suggest something like rm -rf platforms and npm cache clean --force.
Additional context
The invalid folder should be also handled for iOS and cloud builds.
The text was updated successfully, but these errors were encountered:
Reported by: @MartoYankov
Environment
Provide version numbers for the following components (information can be retrieved by running
tns info
in your project folder or by inspecting thepackage.json
of the project):Describe the bug
To Reproduce
tns create newApp --js
rm -rf platforms
mkdir -p platforms/android
tns run android
Unable to apply changes on device: emulator-5554. Error is: spawn ./gradlew ENOENT.
will be thrown.Expected behavior
The CLI should detect the invalid
platforms
state and suggest something likerm -rf platforms
andnpm cache clean --force
.Additional context
The invalid folder should be also handled for iOS and cloud builds.
The text was updated successfully, but these errors were encountered: