Skip to content

Fixed: test command fails with exception #2428

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

Merged
merged 1 commit into from
Jan 16, 2017
Merged

Conversation

tzraikov
Copy link
Contributor

@tzraikov tzraikov commented Jan 16, 2017

The stack trace:

TypeError: Cannot read property 'ios' of undefined at FiberFuture.Future.wait (/Users/raikov/work/nativescript-cli/node_modules/fibers/future.js:566:15) at fiberBootstrap.run (/Users/raikov/work/nativescript-cli/lib/services/test-execution-service.ts:133:36) at fiber (/Users/raikov/work/nativescript-cli/lib/common/fiber-bootstrap.ts:10:3) - - - - - at <anonymous> (/Users/raikov/work/nativescript-cli/lib/services/test-execution-service.ts:239:104) at Function.settle (/Users/raikov/work/nativescript-cli/node_modules/fibers/future.js:249:26) at FiberFuture.Future.wait (/Users/raikov/work/nativescript-cli/node_modules/fibers/future.js:565:10) at fiberBootstrap.run (/Users/raikov/work/nativescript-cli/lib/services/test-execution-service.ts:133:36) at fiber (/Users/raikov/work/nativescript-cli/lib/common/fiber-bootstrap.ts:10:3)

@tzraikov tzraikov self-assigned this Jan 16, 2017
@rosen-vladimirov
Copy link
Contributor

Call stack is from master branch ( I see __awaiter in it, which is available when using Promises). Does the issue reproduce in the release branch as well (call stack will be different)

@tzraikov
Copy link
Contributor Author

Yes, the isssue is reproduced in release branch and the fix is relevant both in master and release.

@tzraikov
Copy link
Contributor Author

Updated the stacktrace from release

@tzraikov tzraikov merged commit 3815222 into release Jan 16, 2017
@tzraikov tzraikov deleted the raikov/fix-test-command branch January 16, 2017 12:41
rosen-vladimirov added a commit that referenced this pull request Jan 24, 2017
* Fixed: tns update crashes with error message (#2421)

* Fixed: the app doesn't exit when using --release and --justlaunch (#2423)

* Fixed: debug exits unexpected when using --chrome and --watch options (#2426)

* Fixed: test command fails with exception (#2428)

* Fixed: getfile/putfile operate with global files (not local ones) (#2434)

* Remove --get-port flag (#2440)

* Deprecate support for Node.js 4 (#2444)

Deprecate support for Node.js `4.x.x` by adding message that users will see each time when they execute any command and their Node.js version is `4.x.x`.

* Updated CLI documentation after behavior changes in run command (#2435)

* Updated CLI documentation after behavior changes in run command

* Remove usages of  in help content.

* Update message for livesync deprecation as it should not contain concrete release version

* Add source-map dependency and it's types. Fix typescript error

Add source-map dependency and typings for it. Previously CLI used it from `lib/common/vendor` dir, but it has npm package for a long time and it's better to use it instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants