Skip to content

tns test throws an error in newly created apps #4373

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

Closed
DimitarTachev opened this issue Feb 19, 2019 · 0 comments
Closed

tns test throws an error in newly created apps #4373

DimitarTachev opened this issue Feb 19, 2019 · 0 comments
Assignees
Labels
Milestone

Comments

@DimitarTachev
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants