Skip to content

tns test throws an error in newly created apps #4373

Closed
@DimitarTachev

Description

@DimitarTachev

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.2.0
  • Cross-platform modules: 5.2.0
  • Android Runtime: 5.2.0
  • iOS Runtime: 5.2.0

To Reproduce

  1. tns create jsApp --js && cd jsApp
  2. tns test android
  3. A Cannot find module '/Users/tachev/Work/Test/jsApp/node_modules/karma/lib/server' error is thrown.

Expected behavior
The test command should fail with a user-friendly message recommending tns test init.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions