Skip to content

wrong message if you delete app's folder and run command with --path in it #4280

@miroslavaivanova

Description

@miroslavaivanova

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: 5.1.0
  • Android Runtime: 5.1.0
  • iOS Runtime: 5.1.0

Describe the bug
If you try to run app in non-project folder with --path in command without existing folder, you will see exception and you couldn't understand what is the problem.

To Reproduce

  1. tns create app
  2. navigate to folder different from app's folder
  3. run /folder/tns run ios --path app
  4. you will see message: Cannot read property 'targetedOS' of null

Expected behavior
correct error for non existing folder

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions