ITADN

[bug] tasks fail on 2.2.5

#2540Closedanotheri 创建于 2026-05-26
bug
A
anothericommented
**Describe the bug** root task fails with error **Steps to reproduce** moon `2.2.5` fails on root task running, that works as expected with `2.2.4` though **Expected behavior** run root task **Screenshots** <img width="1145" height="303" alt="Image" src="https://github.com/user-attachments/assets/29bee6eb-0ce5-4771-9e4b-184f7c74854b" /> **Environment** ``` System: OS: macOS 26.5 CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz Memory: 4.65 GB / 64.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 24.16.0 - /Users/anotheri/.proto/tools/node/24.16.0/bin/node Yarn: 1.22.22 - /usr/local/bin/yarn npm: 11.13.0 - /Users/anotheri/.proto/tools/node/24.16.0/bin/npm pnpm: 11.3.0 - /Users/anotheri/.proto/shims/pnpm bun: 1.1.34 - /Users/anotheri/.proto/shims/bun Watchman: 2026.05.25.00 - /usr/local/bin/watchman Managers: Homebrew: 5.1.14 - /usr/local/bin/brew pip3: 26.1.1 - /usr/local/bin/pip3 RubyGems: 3.0.3.1 - /usr/bin/gem Utilities: Make: 3.81 - /usr/bin/make GCC: 21.0.0 - /usr/bin/gcc Git: 2.54.0 - /usr/local/bin/git Git LFS: 3.7.1 - /usr/local/bin/git-lfs Clang: 21.0.0 - /usr/bin/clang FFmpeg: 8.1.1 - /usr/local/bin/ffmpeg Curl: 8.7.1 - /usr/bin/curl OpenSSL: 3.6.2 - /usr/local/bin/openssl Servers: Apache: 2.4.66 - /usr/sbin/apachectl Virtualization: Docker: 29.4.0 - /usr/local/bin/docker Docker Compose: 5.1.2 - /usr/local/bin/docker-compose IDEs: VSCode: 1.121.0 - /usr/local/bin/code opencode: 1.15.10 - /usr/local/bin/opencode Vim: 9.1 - /usr/bin/vim Xcode: /undefined - /usr/bin/xcodebuild Languages: Bash: 3.2.57 - /bin/bash Perl: 5.34.1 - /usr/bin/perl Python3: 3.14.5 - /usr/local/bin/python3 Ruby: 2.6.10 - /usr/bin/ruby Databases: SQLite: 3.51.0 - /usr/bin/sqlite3 Browsers: Brave Browser: 148.1.90.124 Chrome: 148.0.7778.179 Firefox: 151.0.1 Safari: 26.5 ``` **Additional context** `.moon/toolchains` looks like this: ```yaml # yaml-language-server: $schema=./cache/schemas/toolchains.json $schema: ./cache/schemas/toolchains.json proto: version: 0.56.4 javascript: dependencyVersionFormat: workspace-caret packageManager: pnpm node: version: 24.16.0 syncVersionManagerConfig: nvm pnpm: version: 11.3.0 installArgs: - --frozen-lockfile typescript: syncProjectReferences: true ``` and root `moon.yml` looks like this (but any root task i have in this or other project fails with similar error on 2.2.5 and works well on 2.2.4). ```yaml # yaml-language-server: $schema=.moon/cache/schemas/project.json $schema: .moon/cache/schemas/project.json layer: automation stack: infrastructure tasks: pup: description: 'Update dependencies interactively across all workspaces to their latest versions using pnpm (runs: pnpm up -i -r --latest)' script: pnpm up -i -r --latest && dedupe preset: utility ```
关闭于 2026-05-30 13 条评论