Skip to content

Generating of app crashes with error #321

@ArtemViktorovitch

Description

@ArtemViktorovitch

Describe the bug
Project generation process along with building crashes with error:

$ androidjs b -f
--release= false
(node:8368) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Downloading: https://github.com/android-js/androidjs-sdk/archive/master.zip
C:\Users\Ольга\AppData\Roaming\npm\node_modules\androidjs-builder\modules\Html\ProgressBar.js:36
        process.stdout.clearLine();
                       ^

TypeError: process.stdout.clearLine is not a function
    at LoadingBar.clear (C:\Users\Ольга\AppData\Roaming\npm\node_modules\androidjs-builder\modules\Html\ProgressBar.js:36:24)
    at LoadingBar.next (C:\Users\Ольга\AppData\Roaming\npm\node_modules\androidjs-builder\modules\Html\ProgressBar.js:24:14)
    at Timeout._onTimeout (C:\Users\Ольга\AppData\Roaming\npm\node_modules\androidjs-builder\modules\Html\ProgressBar.js:43:18)
    at listOnTimeout (node:internal/timers:594:17)
    at process.processTimers (node:internal/timers:529:7)

Many deprecation warnings during installation of Androidjs.

To Reproduce
Steps to reproduce the behavior:
Just try to reproduce any example code on Win10, Node 22

Expected behavior
Would like to see behaviour described in documentation: like sample project generation and building APK.

Desktop (please complete the following information):

  • OS: Win10
  • Browser chrome

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions