We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
calling yarn with -C causes the package.json file to be ignored w/ respect to the version of yarn to use.
I ran into this building from a systemd service and using -C to specify the working directory.
cd dir && yarn set version 4.2.2 && yarn --version 4.2.2
cd ..; yarn -C "$(pwd)/dir" --version yarn run v1.22.22
System: OS: Linux 6.10 Arch Linux CPU: (24) x64 AMD Ryzen 9 7900X3D 12-Core Processor Memory: 29.41 GB / 61.92 GB Container: Yes Shell: 5.2.26 - /bin/bash Binaries: Node: 20.16.0 - /tmp/xfs-f2fd74a8/node Yarn: 4.2.2 - /tmp/xfs-f2fd74a8/yarn npm: 10.8.2 - /usr/bin/npm Managers: Cargo: 1.70.0 - /usr/bin/cargo Gradle: 8.9 - /usr/bin/gradle pip3: 24.1.2 - /usr/bin/pip3 RubyGems: 3.3.25 - /usr/bin/gem Utilities: CMake: 3.30.1 - /usr/bin/cmake Make: 4.4.1 - /usr/bin/make GCC: 14.1.1 - /usr/bin/gcc Git: 2.45.2 - /usr/bin/git Clang: 18.1.8 - /usr/bin/clang Ninja: 1.12.1 - /usr/bin/ninja FFmpeg: 7.0.1 - /usr/bin/ffmpeg Curl: 8.9.0 - /usr/bin/curl OpenSSL: 3.3.1 - /usr/bin/openssl Servers: Apache: 2.4.62 - /usr/bin/apachectl Virtualization: Docker: 27.1.1 - /usr/bin/docker Docker Compose: 2.29.1 - /usr/bin/docker-compose IDEs: Nano: 8.1 - /usr/bin/nano VSCode: 1.91.1 - /usr/bin/code Vim: 9.1 - /usr/bin/vim Languages: Bash: 5.2.26 - /usr/bin/bash Go: 1.22.5 - /usr/bin/go Java: 17.0.12 - /usr/bin/javac Perl: 5.38.2 - /usr/bin/perl Protoc: 27.2 - /usr/bin/protoc Python: 3.12.4 - /usr/bin/python Python3: 3.12.4 - /usr/bin/python3 Ruby: 3.0.6 - /usr/bin/ruby Rust: 1.70.0 - /usr/bin/rustc Databases: PostgreSQL: 16.3 - /usr/bin/postgres SQLite: 3.46.0 - /usr/bin/sqlite3 Browsers: Chromium: 127.0.6533.72
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Self-service
Describe the bug
calling yarn with -C causes the package.json file to be ignored w/ respect to the version of yarn to use.
I ran into this building from a systemd service and using -C to specify the working directory.
To reproduce
Environment
Additional context
No response
The text was updated successfully, but these errors were encountered: