Skip to content

Liquidcore won't configure gradle file #237

Description

@taylor-roli

I'm running step 3 in the tutorial, and running the command npx liquidcore gradle-config --module=app, and I get the following error in the root directory of my android app:

Module 'app" not found."
./settings.gradle not found.
WARN: Project directory 'C:\mypath\android-sample-app\android-app\node_modules\liquidcore\LiquidCore' does not exist, skipping
WARN: Project directory 'C:\mypath\android-sample-app\android-app\node_modules\liquidcore\LiquidV8' does not exist, skipping
node:fs:592
  handleErrorFromBinding(ctx);
  ^

Error: ENOENT: no such file or directory, open 'C:\mypath\android-sample-app\android-app\app\build.gradle'
    at Object.openSync (node:fs:592:3)
    at Object.readFileSync (node:fs:460:35)
    at gradle (C:\mypath\android-sample-app\android-app\node_modules\liquidcore\lib\gradle.js:179:18)
    at Object.<anonymous> (C:\mypath\android-sample-app\android-app\node_modules\liquidcore\lib\cli.js:76:1)
    at Module._compile (node:internal/modules/cjs/loader:1255:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1309:10)
    at Module.load (node:internal/modules/cjs/loader:1113:32)
    at Module._load (node:internal/modules/cjs/loader:960:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12)
    at node:internal/main/run_main_module:23:47 {
  errno: -4058,
  syscall: 'open',
  code: 'ENOENT',
  path: 'C:\\mypath\\android-sample-app\\android-app\\app\\build.gradle'
}

Seems like it's not looking for the .kts file. Any ideas what could be going wrong?

app is the correct module for the project, btw.

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