jbavari / cordova-deploy Goto Github PK
View Code? Open in Web Editor NEWCommand line tools to help deploy your Cordova application to your users.
License: Apache License 2.0
Command line tools to help deploy your Cordova application to your users.
License: Apache License 2.0
Hi, I am really excited to try this out on my Windows 7 Dev machine, I have created and populated a hockey.json file in the root of the project. When executing "cordova-deploy --build --android --hockey" I am getting the following error, any help would be appreciated. I have yet to try on the Mac, I'll do that tomorrow.
execSync incompatible with installed nodejs
My Nodejs version is v0.10.31
Console Output:
cordova-deploy --build --android --hockey
[Error: %1 is not a valid Win32 application.
C:\Users%USER%\AppData\Roaming\npm\node_modules\cordova-deploy\node_modules\execSync\win32\v0.10\shell.
node]C:\Users%USER%\AppData\Roaming\npm\node_modules\cordova-deploy\node_modules\execSync\index.js:24
throw new Error('execSync incompatible with installed nodejs');
^
Error: execSync incompatible with installed nodejs
at Object. (C:\Users%USER%\AppData\Roaming\npm\node_modules\cordova-deploy\node_modules
execSync\index.js:24:13)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (C:\Users%USER%\AppData\Roaming\npm\node_modules\cordova-deploy\lib\builder.j
s:1:78)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
I am not seeing my app in HockeyApp after a deploy.
I am running the below command from my project's root dir where the config.xml
file sits.
cordova-deploy --build --ios --hockey
It shows the following results:
Testflight config: null
Building iOS
cordova build ios --release --device
Build for iOS completed
Bundling iOS .ipa File
Bundling iOS .ipa file completed
iOS application information:
App path: ~/releases/my-app/platforms/ios/build/device/my-app.app
IPA path: ~/releases/my-app/platforms/ios/build/device/my-app.ipa
Building iOS
iOS Build Complete
Deploying iOS to HockeyApp
Deployed iOS to HockeyApp
The version does not show up in HockeyApp and the file"~/releases/my-app/platforms/ios/build/device/my-app.ipa
does not exist locally. It seems like the build or singing is silently failing?
Any ideas on how I could debug this? Is there a log or something during the build?
Love this workflow, so hoping to get this fixed.
I'm trying to run the command in command line without the json like this:
cordova-deploy --build --ios --apikey apiKeyFromHockey --iosid iosAppIdFromHockey
error:
TypeError: Cannot read property 'apk' of null
at Object.<anonymous> (node_modules/cordova-deploy/bin/cordova-deploy:70:24)
using json file works properly
Adding release notes to your deploy isn't working. I have tried both '-c ' and '--notes '
Do they need to be escaped or something?
Shelljs is known to be better cross platform with Windows / Mac, so use that instead.
In the script, when checking the testflight settings at the bottom, you check for "apiKey" being set instead of "apiToken".
I've been trying to use this for a while without success, today I added some caveman debugging (console.log()
all the things!) and found the issue.
This tool is using curl to perform its API calls (not sure why, can't you just use Node's http lib directly?), but never checking what curl says. I identified my problem my outputting curl's stdout and stderr and seeing the HockeyApp API response errors there.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.