Cannot install GDK using the 1-liner
Overview
I'm unable to install GDK using the one liner. I have tried a couple of times, and also tried uninstalling asdf and reinstalling it. Something to do with treesitter.
warning " > @vue/vue3-jest@29.2.3" has incorrect peer dependency "babel-jest@29.x".
warning " > @vue/vue3-jest@29.2.3" has incorrect peer dependency "jest@29.x".
warning " > @vue/vue3-jest@29.2.3" has incorrect peer dependency "vue@^3.0.0-0".
warning "swagger-cli > @apidevtools/swagger-cli > @apidevtools/swagger-parser@10.1.0" has unmet peer dependency "openapi-types@>=7".
warning Workspaces can only be enabled in private projects.
warning Error running install script for optional dependency: "/Users/gitlab/src/gdk/gitlab/node_modules/tree-sitter-json: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
Directory: /Users/gitlab/src/gdk/gitlab/node_modules/tree-sitter-json
Output:
gyp info it worked if it ends with ok
gyp info using node-gyp@9.3.1
Workaround
Running this before the install works:
python3 -m pip install packaging
The following categories relate to this issue:
-
gdk-reliability - e.g. When a GDK action fails to complete. -
gdk-usability - e.g. Improvements or suggestions around how the GDK functions. -
gdk-performance - e.g. When a GDK action is slow or times out.
Steps to replicate (optional)
Proposal (optional)
Environment (optional)
- Operating system name:
<!-- output of `uname -a` command --> - Architecture:
<!-- output of `arch` command --> - The contents of your
gdk.yml(if any) - Ruby version:
<!-- output of `ruby --version` command --> - GDK version:
<!-- output of `git rev-parse --short HEAD` command -->
Edited by Sean Carroll