-
-
Notifications
You must be signed in to change notification settings - Fork 109
Fix build command so it can run in github actions #161
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
Comments
Have you edited the android js build file? First, there are two solutions one : use --force option when use build commandlike thist
two :i think u have to do reinstall android js builder
and then use command like this
|
No I just installed it on github actions, find the action flow below:
(Some things like the uninstall and the --force I added after your message) I'm still getting this error on the buuld command: Run androidjs build --force TypeError: process.stdout.clearLine is not a function |
have u try this ? https://github.com/android-js/androidjs#quick-start i think u not made android project file see it this is helpful to u |
@LPTP1Dev you are facing this problem because |
i think its reference link is helpful to u so u should run into the window default console or fix to process.out function occurred an error when i execute in the bash but window default command console isnt |
You are using the Git Bash i guess, just run cmd as administrator and you are done. |
Describe the bug
Try to run build in github actions
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Builds the app
What happens
Error cause of console not running as admin:
Run androidjs build
--release= false
Downloading: https://github.com/android-js/androidjs-sdk/archive/master.zip
/opt/hostedtoolcache/node/12.20.0/x64/lib/node_modules/androidjs-builder/modules/Html/ProgressBar.js:35
process.stdout.clearLine();
^
TypeError: process.stdout.clearLine is not a function
at LoadingBar.clear (/opt/hostedtoolcache/node/12.20.0/x64/lib/node_modules/androidjs-builder/modules/Html/ProgressBar.js:35:24)
at LoadingBar.next (/opt/hostedtoolcache/node/12.20.0/x64/lib/node_modules/androidjs-builder/modules/Html/ProgressBar.js:23:14)
at Timeout._onTimeout (/opt/hostedtoolcache/node/12.20.0/x64/lib/node_modules/androidjs-builder/modules/Html/ProgressBar.js:42:18)
at listOnTimeout (internal/timers.js:554:17)
at processTimers (internal/timers.js:497:7)
Error: Process completed with exit code 1.
The text was updated successfully, but these errors were encountered: