Comments (11)
There is an issue in the CLI that we do not start the application when it is not previously installed on the device. The issue is already fixed (NativeScript/nativescript-cli#1545) in 1.6.2
that will be available in the coming days.
Alternatively you can temporary fix this the same way we do it here: https://github.com/NativeScript/nativescript-angular/blob/master/.travis.yml#L35
from sample-groceries.
I’ll just hold off until 1.6.2 is out and make sure it fixes the problem here. Thanks @ligaz.
from sample-groceries.
The 1.6.2
version is out. You should update the .travis.yml
with the following:
tns test android --emulator --justlaunch
We are considering enabling --justlaunch
as a default option so that you do not have to specify it but this probably will be available in the next release.
from sample-groceries.
@ligaz Hmmm... just tried again after adding --justlaunch
and I’m still getting the same error: https://travis-ci.org/NativeScript/sample-Groceries/builds/113206863
from sample-groceries.
We have a new version of the nativescript-unit-test-runner
package that should address this issue. Can you please upgrade it and give it another try?
from sample-groceries.
@ligaz Still no luck https://travis-ci.org/NativeScript/sample-Groceries/builds/115081784
from sample-groceries.
@tjvantoll
I've tried the steps manually and they seems to work on my side. It looks like node_modules
is not correct. I'm not sure what's the caching of node_modules, but can you try removing this line:
https://github.com/NativeScript/sample-Groceries/blob/master/.travis.yml#L16
from sample-groceries.
Hmmm... with that change the Android build failed but Travis thinks it passed https://travis-ci.org/NativeScript/sample-Groceries/builds/115421047. Also this doesn’t seem related 😕
This isn’t a huge deal. I’ll see if this repeats itself as I commit to this repo.
from sample-groceries.
This worked on a subsequent commit, so I’ll assume the previous problem was some random issue, but I’ll continue to monitor these runs.
Closing this for now as as all seems well. Thanks @rosen-vladimirov @ligaz!
from sample-groceries.
Hey @tjvantoll , I've created a PR, that's passing the PR build:
https://travis-ci.org/NativeScript/sample-Groceries/builds/116765697
from sample-groceries.
I copied your .travis.yml to my project. Build was Done. Your build exited with 0., but it was stopped on Build 40% with error :asbg:generateInterfaceNamesList/ig/GetInterfaceNames : Unsupported major.minor version 52.0
- https://travis-ci.org/NativeScript/sample-Groceries/builds/139752610#L1342
- https://travis-ci.org/covex-nn/joos-behavior/builds/140270945#L1317
So i forked you repository, added jdk: oraclejdk8 to .travis.yml (it was a guess) and Project was successfuly build
But i think tests were not executed:
NativeScript / 19 (4.4.4; sdk): Executed 0 of 0 SUCCESS (0 secs / 0 secs)
ERROR (0.17 secs / 0 secs)
from sample-groceries.
Related Issues (20)
- SASS compiler failed with exit code 1. How to troubleshoot with no info
- Error Platforms IOS HOT 3
- Project IOS HOT 1
- Lack of understanding causing double component init
- Unresponsive app when signing up with existing user
- Sample-Groceries project - not able to debug in andoid HOT 1
- getCommonHeaders is not defined HOT 1
- ListView from API is Empty ??
- Restore background animation
- Error is: Unexpected token ). Executing after-watch hook HOT 3
- webpackjson is not configured correctly for rxjs 6
- “angular” branch missing
- tns add platform android error
- System.err: android.content.res.Resources$NotFoundException: Resource ID #0xfffffff6 HOT 1
- get textview not working
- F-Droid HOT 1
- Links not longer working
- ios Error 6.0.1
- plz solve the this problem
- Apk build using Nativescripts Unexpected Token '.' when running tns android command
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sample-groceries.