eclipsesource / eclipsesource/tabris-js
Cloud build service not working
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 171
- PR merge metrics
- No merged PRs in 30d
Description
### Problem description
Cloud build not working for Android (iOS not tested)
### Expected behavior
Build to succeed
### Environment
- Tabris.js version: npm latest
### Logs snippet
```
No scripts found for hook "before_build".
No scripts found for hook "before_prepare".
Checking config.xml and package.json for saved platforms that haven't been added to the project
Config.xml and package.json platforms are the same. No pkg.json modification.
Package.json and config.xml platforms are different. Updating config.xml with most current list of platforms.
PlatformApi successfully found for platform android
Checking for saved plugins that haven't been added to the project
Checking for any plugins added to the project that have not been installed in android platform
No differences found between plugins added to project and installed in android platform. Continuing...
Generating platform-specific config.xml from defaults for android at /home/travis/build/eclipsesource/tabris-js-build-template/build/build/cordova/platforms/android/app/src/main/res/xml/config.xml
config file *-Info.plist requested for changes not found at /home/travis/build/eclipsesource/tabris-js-build-template/build/build/cordova/platforms/android/*-Info.plist, ignoring
Merging project's config.xml into platform-specific android config.xml
[Gradle Properties] Preparing Configuration
[Gradle Properties] Appending default configuration properties
[Gradle Properties] Appending custom configuration properties
[Gradle Properties] Updating and Saving File
Merging and updating files from [www, platforms/android/platform_www] to platforms/android/app/src/main/assets/www
Wrote out android application name "REDACTED" to /home/travis/build/eclipsesource/tabris-js-build-template/build/build/cordova/platforms/android/app/src/main/res/values/strings.xml
Cannot read property 'find' of null
TypeError: Cannot read property 'find' of null
at /home/travis/build/eclipsesource/tabris-js-build-template/build/node_modules/cordova-android/lib/prepare.js:387:49
at Array.forEach ()
at updateProjectSplashScreen (/home/travis/build/eclipsesource/tabris-js-build-template/build/node_modules/cordova-android/lib/prepare.js:384:7)
at updateProjectAccordingTo (/home/travis/build/eclipsesource/tabris-js-build-template/build/node_modules/cordova-android/lib/prepare.js:269:5)
at /home/travis/build/eclipsesource/tabris-js-build-template/build/node_modules/cordova-android/lib/prepare.js:67:21
at async Promise.all (index 0)
The command /home/travis/.tabris-cli/cordova/9.0.0/node_modules/.bin/cordova exited with 1
Warning: Command failed: tabris build android --release --device --verbose --cordova-build-config="../../../tabrisBuildConfig.json" -- --packageType=bundle
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN notsup Unsupported engine for cordova-android@11.0.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.22.12","npm":"6.14.16"})
npm WARN notsup Not compatible with your version of node/npm: cordova-android@11.0.0
npm WARN tabris-decorators@3.8.0 requires a peer of tabris@^3.8.0 but none is installed. You must install peer dependencies yourself.
npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN tabris-cli-cordova-9.0.0-cache@3.8.1 No description
npm WARN tabris-cli-cordova-9.0.0-cache@3.8.1 No repository field.
npm WARN tabris-cli-cordova-9.0.0-cache@3.8.1 No license field.
Cannot read property 'find' of null
The command /home/travis/.tabris-cli/cordova/9.0.0/node_modules/.bin/cordova exited with 1
Use --force to continue.
Aborted due to warnings.
travis_time:end:0cbf2cf8:start=1660561238116710003,finish=1660561293647739433,duration=55531029430,event=script
The command "grunt build deploy" exited with 6.
Done. Your build exited with 1.
```
Please can you help.
Contributor guide
Assessment
This issue has not been assessed yet.