This repository was archived by the owner on Aug 7, 2021. It is now read-only.
This repository was archived by the owner on Aug 7, 2021. It is now read-only.
Cloud run with Snapshot not working without platforms folder #1118
Open
Description
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.3.3
- Cross-platform modules: 6.3.0
- Android Runtime: 6.3.0
Describe the bug
We are not able to cloud run with snapshot when the Android platform is not added.
To Reproduce
- navigate to any nativescript application (e.g. an empty js app)
- rm -rf platforms
- install the nativescript-cloud extension
- tns login
- tns cloud run android --release --key-store.... --env.snapshot
- "enoent" exception will be thrown.
Expected behavior
The platforms folder should be automatically setup.