Skip to content

Issue running setup CLI #1

@nandorojo

Description

@nandorojo

Hey! Thanks for open sourcing this, excited to play with it. I just got this error running the setup script:

cd Valdi/npm_modules/cli/

npm run cli:install

valdi dev_setup

The valdi dev_setup command gave me this error:

openjdk@11
For the system Java wrappers to find this JDK, symlink it with
  sudo ln -sfn /opt/homebrew/opt/openjdk@11/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk-11.jdk

openjdk@11 is keg-only, which means it was not symlinked into /opt/homebrew,
because this is an alternate version of another formula.

If you need to have openjdk@11 first in your PATH, run:
  echo 'export PATH="/opt/homebrew/opt/openjdk@11/bin:$PATH"' >> ~/.zshrc

For compilers to find openjdk@11 you may need to set:
  export CPPFLAGS="-I/opt/homebrew/opt/openjdk@11/include"
==> git-lfs
Update your git config to finish installation:

  # Update global git config
  $ git lfs install

  # Update system git config
  $ git lfs install --system
Setting up JDK...
- sudo ln -sfn /opt/homebrew/opt/openjdk@11/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk-11.jdk
✔ Updating /Users/.../.zshrc to include PATH, JAVA_HOME...
Setting up Android SDK...
Installing Android platform...
- /Users/.../Library/Android/sdk/cmdline-tools/latest/bin/sdkmanager --install 'platforms;android-35'
zsh:2: no such file or directory: /Users/.../Library/Android/sdk/cmdline-tools/latest/bin/sdkmanager
Error
    at ChildProcess.<anonymous> (/Users/.../Developer/Valdi/npm_modules/cli/dist/utils/cliUtils.js:49:24)
    at ChildProcess.emit (node:events:518:28)
    at maybeClose (node:internal/child_process:1101:16)
    at ChildProcess._handle.onexit (node:internal/child_process:304:5)

Any ideas here? Maybe there's some other Android prerequisite? Thanks!

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