Node 22 - Sage 10 fresh install Unexpected end of JSON input

Having an issue with latest Sage 10 set up running yarn build. I am running it locally on Lima inside Trellis setup. Did a fresh addition of the theme using

user@lima-site-com:/srv/www/site.com/current/web/app/themes$ composer create-project roots/sage nynaeve

On localhost I did yarn

yarn
yarn install v1.22.22
[1/5] πŸ”  Validating package.json...
[2/5] πŸ”  Resolving packages...
[3/5] 🚚  Fetching packages...
[4/5] πŸ”—  Linking dependencies...
warning "@roots/bud > @roots/bud-support > remark-loader@5.0.0" has incorrect peer dependency "remark@^14.0.0".
warning "@roots/sage > @roots/bud-preset-wordpress > @roots/bud-react > @babel/preset-react@7.23.3" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@roots/sage > @roots/bud-preset-wordpress > @roots/bud-react > @babel/preset-react > @babel/plugin-transform-react-display-name@7.23.3" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@roots/sage > @roots/bud-preset-wordpress > @roots/bud-react > @babel/preset-react > @babel/plugin-transform-react-jsx@7.23.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@roots/sage > @roots/bud-preset-wordpress > @roots/bud-react > @babel/preset-react > @babel/plugin-transform-react-jsx-development@7.22.5" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@roots/sage > @roots/bud-preset-wordpress > @roots/bud-react > @babel/preset-react > @babel/plugin-transform-react-pure-annotations@7.23.3" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@roots/sage > @roots/bud-preset-wordpress > @roots/bud-react > @babel/preset-react > @babel/plugin-transform-react-jsx > @babel/plugin-syntax-jsx@7.23.3" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@roots/sage > @roots/bud-preset-wordpress > @roots/bud-react > @babel/preset-react > @babel/plugin-transform-react-jsx-development > @babel/plugin-transform-react-jsx@7.22.15" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@roots/sage > @roots/bud-preset-wordpress > @roots/bud-react > @babel/preset-react > @babel/plugin-transform-react-jsx-development > @babel/plugin-transform-react-jsx > @babel/plugin-syntax-jsx@7.22.5" has unmet peer dependency "@babel/core@^7.0.0-0".
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
[5/5] πŸ”¨  Building fresh packages...
✨  Done in 7.32s.

so had warnings already. But then on yarn build I got stuck:

yarn build
yarn run v1.22.22
$ bud build
(node:76623) ExperimentalWarning: CommonJS module /Users/user/code/site.com/site/web/app/themes/nynaeve/node_modules/tailwindcss/lib/lib/load-config.js is loading ES Module /Users/user/code/site.com/site/web/app/themes/nynaeve/tailwind.config.js using require().
Support for loading ES Module in require() is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)

β•­ sage [7c5a3ee7e664393f]                                                                                                  ./public
β”‚
β”‚ β”‚ Unexpected end of JSON input
β”‚
β•° 1 error

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Pinned Node to version 22 using Volta thinking it may work better than using latest 23 version

 user@mbp ξ‚° ~/code/site.com/site/web/app/themes/nynaeve ξ‚° volta list
⚑️ Currently active tools:

    Node: v22.11.0 (current @ /Users/user/code/site.com/site/web/app/themes/nynaeve/
    package.json)
    Yarn: v4.5.0 (default)
    Tool binaries available: NONE

See options for more detailed reports by running `volta list --help`.

but still having that error now. Also tried dev-main with Bud 6.23.3:

"devDependencies": {
    "@roots/bud": "6.23.3",
    "@roots/bud-tailwindcss": "6.23.3",
    "@roots/sage": "6.23.3"
  },

and I still got

yarn            
yarn install v1.22.22
[1/5] πŸ”  Validating package.json...
[2/5] πŸ”  Resolving packages...
[3/5] 🚚  Fetching packages...
[4/5] πŸ”—  Linking dependencies...
warning "@roots/bud > @roots/bud-support > remark-loader@6.0.0" has incorrect peer dependency "remark@^14.0.0".
warning "@roots/sage > @roots/bud-preset-wordpress > @roots/bud-react > @babel/preset-react@7.24.7" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@roots/sage > @roots/bud-preset-wordpress > @roots/bud-react > @babel/preset-react > @babel/plugin-transform-react-display-name@7.24.7" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@roots/sage > @roots/bud-preset-wordpress > @roots/bud-react > @babel/preset-react > @babel/plugin-transform-react-jsx@7.25.2" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@roots/sage > @roots/bud-preset-wordpress > @roots/bud-react > @babel/preset-react > @babel/plugin-transform-react-jsx-development@7.24.7" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@roots/sage > @roots/bud-preset-wordpress > @roots/bud-react > @babel/preset-react > @babel/plugin-transform-react-pure-annotations@7.24.7" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@roots/sage > @roots/bud-preset-wordpress > @roots/bud-react > @babel/preset-react > @babel/plugin-transform-react-jsx > @babel/plugin-syntax-jsx@7.24.7" has unmet peer dependency "@babel/core@^7.0.0-0".
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
[5/5] πŸ”¨  Building fresh packages...
✨  Done in 51.14s.

and on build

yarn build
yarn run v1.22.22
$ bud build
(node:98103) ExperimentalWarning: CommonJS module /Users/user/code/site.com/site/web/app/themes/nynaeve/node_modules/tailwindcss/lib/lib/load-config.js is loading ES Module /Users/user/code/site.com/site/web/app/themes/nynaeve/tailwind.config.js using require().
Support for loading ES Module in require() is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)

β•­ sage [4da110b6d1041ccc]                                                                                                                                                              ./public
β”‚
β”‚ β”‚ Unexpected end of JSON input
β”‚
β•° 1 error

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I tried to reproduce with every setup you described but had no luck:

~/D/node22 ❯❯❯ volta
The JavaScript Launcher ⚑

    To install a tool in your toolchain, use `volta install`.
    To pin your project's runtime or package manager, use `volta pin`.

Usage: volta [OPTIONS] [COMMAND]

Commands:
  fetch        Fetches a tool to the local machine
  install      Installs a tool in your toolchain
  uninstall    Uninstalls a tool from your toolchain
  pin          Pins your project's runtime or package manager
  list         Displays the current toolchain
  completions  Generates Volta completions
  which        Locates the actual binary that will be called by Volta
  setup        Enables Volta for the current user / shell
  run          Run a command with custom Node, npm, pnpm, and/or Yarn versions
  help         Print this message or the help of the given subcommand(s)

Options:
      --verbose
          Enables verbose diagnostics

      --very-verbose
          Enables trace-level diagnostics

      --quiet
          Prevents unnecessary output

  -v, --version
          Prints the current version of Volta

  -h, --help
          Print help (see a summary with '-h')
~/D/node22 ❯❯❯ volta list
⚑️ Currently active tools:

    Node: v22.11.0 (default)
    Yarn: v1.22.22 (default)
    Tool binaries available: NONE

See options for more detailed reports by running `volta list --help`.
~/D/node22 ❯❯❯ composer create-project roots/sage
Creating a "roots/sage" project at "./sage"
Installing roots/sage (v10.8.2)
  - Downloading roots/sage (v10.8.2)
  - Installing roots/sage (v10.8.2): Extracting archive
Created project in /Users/ben/Downloads/node22/sage
Deprecation Notice: realpath(): Passing null to parameter #1 ($path) of type string is deprecated in phar:///Users/ben/Library/Application Support/Herd/bin/composer/src/Composer/Plugin/PluginManager.php(278) : eval()'d code:76
Loading composer repositories with package information
Updating dependencies
Lock file operations: 1 install, 0 updates, 0 removals
  - Locking laravel/pint (v1.18.1)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
  - Downloading laravel/pint (v1.18.1)
  - Installing laravel/pint (v1.18.1): Extracting archive
2 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating optimized autoload files
No security vulnerability advisories found.
~/D/node22 ❯❯❯ cd sage
~/D/n/sage ❯❯❯ yarn && yarn build
yarn install v1.22.22
[1/5] πŸ”  Validating package.json...
[2/5] πŸ”  Resolving packages...
[3/5] 🚚  Fetching packages...
[4/5] πŸ”—  Linking dependencies...
warning "@roots/bud > @roots/bud-support > remark-loader@5.0.0" has incorrect peer dependency "remark@^14.0.0".
warning "@roots/sage > @roots/bud-preset-wordpress > @roots/bud-react > @babel/preset-react@7.23.3" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@roots/sage > @roots/bud-preset-wordpress > @roots/bud-react > @babel/preset-react > @babel/plugin-transform-react-display-name@7.23.3" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@roots/sage > @roots/bud-preset-wordpress > @roots/bud-react > @babel/preset-react > @babel/plugin-transform-react-jsx@7.23.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@roots/sage > @roots/bud-preset-wordpress > @roots/bud-react > @babel/preset-react > @babel/plugin-transform-react-jsx-development@7.22.5" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@roots/sage > @roots/bud-preset-wordpress > @roots/bud-react > @babel/preset-react > @babel/plugin-transform-react-pure-annotations@7.23.3" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@roots/sage > @roots/bud-preset-wordpress > @roots/bud-react > @babel/preset-react > @babel/plugin-transform-react-jsx > @babel/plugin-syntax-jsx@7.23.3" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@roots/sage > @roots/bud-preset-wordpress > @roots/bud-react > @babel/preset-react > @babel/plugin-transform-react-jsx-development > @babel/plugin-transform-react-jsx@7.22.15" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@roots/sage > @roots/bud-preset-wordpress > @roots/bud-react > @babel/preset-react > @babel/plugin-transform-react-jsx-development > @babel/plugin-transform-react-jsx > @babel/plugin-syntax-jsx@7.22.5" has unmet peer dependency "@babel/core@^7.0.0-0".
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
[5/5] πŸ”¨  Building fresh packages...
✨  Done in 16.96s.
yarn run v1.22.22
$ bud build
(node:80810) [DEP0180] DeprecationWarning: fs.Stats constructor is deprecated.
(Use `node --trace-deprecation ...` to show where the warning was created)

Checking for browserslist updates...
  --> This check runs once per week when a browserslist is specified in package.json
  --> You can disable this behavior with the --no-browserslist-update flag or by setting BUD_BROWSERSLIST_UPDATE=false in your project .env file.
  --> βœ” browserslist successfully updated

β•­ sage [892d307770285fd0]                                                                         ./public
β”‚
β”‚ app
β”‚  β—‰ js/runtime.c039ed.js                                                                        βœ” 1.31 kB
β”‚  β—‰ css/app.bbe229.css                                                                          βœ” 5.83 kB
β”‚  β—‰ js/app.7e24dd.js                                                                          βœ” 386 bytes
β”‚
β”‚ editor
β”‚  β—‰ js/runtime.c039ed.js                                                                        βœ” 1.31 kB
β”‚  β—‰ css/editor.ef46db.css                                                                             βœ” ΓΈ
β”‚  β—‰ js/editor.0344c8.js                                                                         βœ” 1.78 kB
β”‚
β•° 1s 907ms 33 modules [0/33 modules cached]

✨  Done in 22.76s.
~/D/n/sage ❯❯❯ cat package.json
{
  "name": "sage",
  "private": true,
  "browserslist": [
    "extends @roots/browserslist-config"
  ],
  "engines": {
    "node": ">=20.0.0"
  },
  "type": "module",
  "scripts": {
    "dev": "bud dev",
    "build": "bud build",
    "translate": "npm run translate:pot && npm run translate:update",
    "translate:pot": "wp i18n make-pot . ./resources/lang/sage.pot --include=\"theme.json,patterns,app,resources\"",
    "translate:update": "for file in ./resources/lang/*.po; do wp i18n update-po ./resources/lang/sage.pot $file; done",
    "translate:compile": "npm run translate:mo && npm run translate:js",
    "translate:js": "wp i18n make-json ./resources/lang --pretty-print",
    "translate:mo": "wp i18n make-mo ./resources/lang ./resources/lang"
  },
  "devDependencies": {
    "@roots/bud": "6.20.0",
    "@roots/bud-tailwindcss": "6.20.0",
    "@roots/sage": "6.20.0"
  },
  "dependencies": {}
}
~/D/n/sage ❯❯❯ yarn bud upgrade
yarn run v1.22.22
$ /Users/ben/Downloads/node22/sage/node_modules/.bin/bud upgrade
[1/5] πŸ”  Validating package.json...
[2/5] πŸ”  Resolving packages...
[3/5] 🚚  Fetching packages...
[4/5] πŸ”—  Linking dependencies...
warning "@roots/bud > @roots/bud-support > remark-loader@6.0.0" has incorrect peer dependency "remark@^14.0.0".
warning "@roots/sage > @roots/bud-preset-wordpress > @roots/bud-react > @babel/preset-react@7.24.7" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@roots/sage > @roots/bud-preset-wordpress > @roots/bud-react > @babel/preset-react > @babel/plugin-transform-react-jsx@7.25.9" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@roots/sage > @roots/bud-preset-wordpress > @roots/bud-react > @babel/preset-react > @babel/plugin-transform-react-display-name@7.25.9" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@roots/sage > @roots/bud-preset-wordpress > @roots/bud-react > @babel/preset-react > @babel/plugin-transform-react-jsx-development@7.25.9" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@roots/sage > @roots/bud-preset-wordpress > @roots/bud-react > @babel/preset-react > @babel/plugin-transform-react-pure-annotations@7.25.9" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@roots/sage > @roots/bud-preset-wordpress > @roots/bud-react > @babel/preset-react > @babel/plugin-transform-react-jsx > @babel/plugin-syntax-jsx@7.25.9" has unmet peer dependency "@babel/core@^7.0.0-0".
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
[5/5] πŸ”¨  Building fresh packages...
success Saved lockfile.
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
success Saved 159 new dependencies.
info Direct dependencies
β”œβ”€ @roots/bud-tailwindcss@6.23.3
└─ @roots/sage@6.23.3
info All dependencies
β”œβ”€ @babel/generator@7.26.2
β”œβ”€ @babel/helper-module-imports@7.25.9
β”œβ”€ @babel/helper-string-parser@7.25.9
β”œβ”€ @babel/helper-validator-option@7.25.9
β”œβ”€ @babel/plugin-syntax-jsx@7.25.9
β”œβ”€ @babel/plugin-transform-react-display-name@7.25.9
β”œβ”€ @babel/plugin-transform-react-jsx-development@7.25.9
β”œβ”€ @babel/plugin-transform-react-jsx@7.25.9
β”œβ”€ @babel/plugin-transform-react-pure-annotations@7.25.9
β”œβ”€ @babel/preset-react@7.24.7
β”œβ”€ @babel/template@7.25.9
β”œβ”€ @babel/traverse@7.25.9
β”œβ”€ @csstools/postcss-cascade-layers@4.0.6
β”œβ”€ @csstools/postcss-color-function@3.0.19
β”œβ”€ @csstools/postcss-color-mix-function@2.0.19
β”œβ”€ @csstools/postcss-content-alt-text@1.0.0
β”œβ”€ @csstools/postcss-exponential-functions@1.0.9
β”œβ”€ @csstools/postcss-font-format-keywords@3.0.2
β”œβ”€ @csstools/postcss-gamut-mapping@1.0.11
β”œβ”€ @csstools/postcss-gradients-interpolation-method@4.0.20
β”œβ”€ @csstools/postcss-hwb-function@3.0.18
β”œβ”€ @csstools/postcss-ic-unit@3.0.7
β”œβ”€ @csstools/postcss-initial@1.0.1
β”œβ”€ @csstools/postcss-is-pseudo-class@4.0.8
β”œβ”€ @csstools/postcss-light-dark-function@1.0.8
β”œβ”€ @csstools/postcss-logical-float-and-clear@2.0.1
β”œβ”€ @csstools/postcss-logical-overflow@1.0.1
β”œβ”€ @csstools/postcss-logical-overscroll-behavior@1.0.1
β”œβ”€ @csstools/postcss-logical-resize@2.0.1
β”œβ”€ @csstools/postcss-logical-viewport-units@2.0.11
β”œβ”€ @csstools/postcss-media-minmax@1.1.8
β”œβ”€ @csstools/postcss-media-queries-aspect-ratio-number-values@2.0.11
β”œβ”€ @csstools/postcss-nested-calc@3.0.2
β”œβ”€ @csstools/postcss-normalize-display-values@3.0.2
β”œβ”€ @csstools/postcss-oklab-function@3.0.19
β”œβ”€ @csstools/postcss-relative-color-syntax@2.0.19
β”œβ”€ @csstools/postcss-scope-pseudo-class@3.0.1
β”œβ”€ @csstools/postcss-stepped-value-functions@3.0.10
β”œβ”€ @csstools/postcss-text-decoration-shorthand@3.0.7
β”œβ”€ @csstools/postcss-trigonometric-functions@3.0.10
β”œβ”€ @csstools/postcss-unset-value@3.0.1
β”œβ”€ @isaacs/cliui@8.0.2
β”œβ”€ @jridgewell/trace-mapping@0.3.25
β”œβ”€ @pkgjs/parseargs@0.11.0
β”œβ”€ @pmmmwh/react-refresh-webpack-plugin@0.5.15
β”œβ”€ @roots/blade-loader@6.23.3
β”œβ”€ @roots/browserslist-config@6.23.3
β”œβ”€ @roots/bud-api@6.23.3
β”œβ”€ @roots/bud-cache@6.23.3
β”œβ”€ @roots/bud-compiler@6.23.3
β”œβ”€ @roots/bud-hooks@6.23.3
β”œβ”€ @roots/bud-preset-recommend@6.23.3
β”œβ”€ @roots/bud-preset-wordpress@6.23.3
β”œβ”€ @roots/bud-react@6.23.3
β”œβ”€ @roots/bud-server@6.23.3
β”œβ”€ @roots/bud-swc@6.23.3
β”œβ”€ @roots/bud-tailwindcss-theme-json@6.23.3
β”œβ”€ @roots/bud-tailwindcss@6.23.3
β”œβ”€ @roots/bud-wordpress-dependencies@6.23.3
β”œβ”€ @roots/bud-wordpress-externals@6.23.3
β”œβ”€ @roots/sage@6.23.3
β”œβ”€ @roots/wordpress-dependencies-webpack-plugin@6.23.3
β”œβ”€ @roots/wordpress-externals-webpack-plugin@6.23.3
β”œβ”€ @roots/wordpress-hmr@6.23.3
β”œβ”€ @swc/core-darwin-x64@1.7.2
β”œβ”€ @swc/core@1.7.2
β”œβ”€ @swc/helpers@0.5.12
β”œβ”€ @swc/types@0.1.12
β”œβ”€ @webassemblyjs/floating-point-hex-parser@1.13.2
β”œβ”€ @webassemblyjs/helper-numbers@1.13.2
β”œβ”€ @webassemblyjs/helper-wasm-section@1.14.1
β”œβ”€ @webassemblyjs/wasm-edit@1.14.1
β”œβ”€ @webassemblyjs/wasm-opt@1.14.1
β”œβ”€ @webassemblyjs/wast-printer@1.14.1
β”œβ”€ ansi-escapes@6.2.1
β”œβ”€ ansi-html@0.0.9
β”œβ”€ autoprefixer@10.4.20
β”œβ”€ axios@1.7.2
β”œβ”€ body-parser@1.20.2
β”œβ”€ browserslist@4.24.2
β”œβ”€ caniuse-lite@1.0.30001680
β”œβ”€ chokidar@3.6.0
β”œβ”€ clipanion@4.0.0-rc.3
β”œβ”€ cosmiconfig@9.0.0
β”œβ”€ css-blank-pseudo@6.0.2
β”œβ”€ css-has-pseudo@6.0.5
β”œβ”€ css-loader@7.1.2
β”œβ”€ css-minimizer-webpack-plugin@6.0.0
β”œβ”€ css-prefers-color-scheme@9.0.1
β”œβ”€ css-tree@2.3.1
β”œβ”€ cssdb@8.2.1
β”œβ”€ dotenv-expand@11.0.6
β”œβ”€ dotenv@16.4.5
β”œβ”€ electron-to-chromium@1.5.62
β”œβ”€ enhanced-resolve@5.17.1
β”œβ”€ esbuild-wasm@0.21.5
β”œβ”€ express@4.19.2
β”œβ”€ follow-redirects@1.15.9
β”œβ”€ foreground-child@3.3.0
β”œβ”€ fraction.js@4.3.7
β”œβ”€ get-port@7.1.0
β”œβ”€ http-proxy-middleware@3.0.0
β”œβ”€ hyperdyperid@1.2.0
β”œβ”€ import-meta-resolve@4.1.0
β”œβ”€ jackspeak@3.4.3
β”œβ”€ jest-util@29.7.0
β”œβ”€ jiti@1.21.6
β”œβ”€ jsesc@3.0.2
β”œβ”€ lightningcss-darwin-x64@1.25.1
β”œβ”€ lightningcss@1.25.1
β”œβ”€ lru-cache@10.4.3
β”œβ”€ memfs@4.14.0
β”œβ”€ mini-css-extract-plugin@2.9.0
β”œβ”€ minipass@7.1.2
β”œβ”€ node-releases@2.0.18
β”œβ”€ package-json-from-dist@1.0.1
β”œβ”€ path-scurry@1.11.1
β”œβ”€ postcss-attribute-case-insensitive@6.0.3
β”œβ”€ postcss-color-functional-notation@6.0.14
β”œβ”€ postcss-color-hex-alpha@9.0.4
β”œβ”€ postcss-color-rebeccapurple@9.0.3
β”œβ”€ postcss-custom-media@10.0.8
β”œβ”€ postcss-custom-properties@13.3.12
β”œβ”€ postcss-custom-selectors@7.1.12
β”œβ”€ postcss-dir-pseudo-class@8.0.1
β”œβ”€ postcss-double-position-gradients@5.0.7
β”œβ”€ postcss-focus-visible@9.0.1
β”œβ”€ postcss-focus-within@8.0.1
β”œβ”€ postcss-gap-properties@5.0.1
β”œβ”€ postcss-image-set-function@6.0.3
β”œβ”€ postcss-import@16.1.0
β”œβ”€ postcss-lab-function@6.0.19
β”œβ”€ postcss-loader@8.1.1
β”œβ”€ postcss-logical@7.0.1
β”œβ”€ postcss-nested@6.2.0
β”œβ”€ postcss-nesting@12.1.5
β”œβ”€ postcss-overflow-shorthand@5.0.1
β”œβ”€ postcss-place@9.0.1
β”œβ”€ postcss-preset-env@9.6.0
β”œβ”€ postcss-pseudo-class-any-link@9.0.2
β”œβ”€ postcss-selector-not@7.0.2
β”œβ”€ raw-body@2.5.2
β”œβ”€ react-dom@18.3.1
β”œβ”€ react-refresh@0.14.2
β”œβ”€ remark-loader@6.0.0
β”œβ”€ string-width-cjs@4.2.3
β”œβ”€ strip-ansi-cjs@6.0.1
β”œβ”€ style-loader@4.0.0
β”œβ”€ sucrase@3.35.0
β”œβ”€ svgo@3.3.2
β”œβ”€ swc-loader@0.2.6
β”œβ”€ tailwindcss@3.4.7
β”œβ”€ terser-webpack-plugin@5.3.10
β”œβ”€ terser@5.31.3
β”œβ”€ update-browserslist-db@1.1.1
β”œβ”€ watchpack@2.4.2
β”œβ”€ webpack-dev-middleware@7.3.0
β”œβ”€ webpack-virtual-modules@0.6.2
└─ wrap-ansi-cjs@7.0.0
✨  Done in 23.32s.
~/D/n/sage ❯❯❯ yarn build
yarn run v1.22.22
$ bud build

β•­ sage [257016ffc52bc07c]                                                                         ./public
β”‚
β”‚ app
β”‚  β—‰ js/runtime.c39a01.js                                                                        βœ” 1.18 kB
β”‚  β—‰ css/app.53672d.css                                                                          βœ” 7.03 kB
β”‚  β—‰ js/app.f11475.js                                                                          βœ” 349 bytes
β”‚
β”‚ editor
β”‚  β—‰ js/runtime.c39a01.js                                                                        βœ” 1.18 kB
β”‚  β—‰ css/editor.ef46db.css                                                                             βœ” ΓΈ
β”‚  β—‰ js/editor.1a8d02.js                                                                         βœ” 1.66 kB
β”‚
β•° 1s 892ms 8 modules [0/8 modules cached]

✨  Done in 6.26s.
1 Like

Thanks for checking. I realized I had installed nvm as well the other day for management not realizing I could just as well do that with Volta. And also when order in .zshrc is off this can cause issues. So I just did

nvm deactivate

Next, I unloaded the command to uninstall NVM:

nvm unload

Then I removed

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm

from ~/.zshrc . This based on https://www.linode.com/docs/guides/how-to-install-use-node-version-manager-nvm/#nvm-uninstall-steps Then I reloaded all open shells and

yarn
➀ YN0087: Migrated your project to the latest Yarn version πŸš€

➀ YN0000: · Yarn 4.5.0
➀ YN0000: β”Œ Resolution step
➀ YN0085: β”‚ + @roots/bud-tailwindcss@npm:6.23.3, @roots/bud@npm:6.23.3, @roots/sage@npm:6.23.3, @alcalzone/ansi-tokenize@npm:0.1.3, @alloc/quick-lru@npm:5.2.0, and 892 more.
➀ YN0000: β”” Completed in 9s 387ms
➀ YN0000: β”Œ Post-resolution validation
➀ YN0086: β”‚ Some peer dependencies are incorrectly met by dependencies; run yarn explain peer-requirements for details.
➀ YN0000: β”” Completed
➀ YN0000: β”Œ Fetch step
➀ YN0013: β”‚ 45 packages were added to the project (+ 56.16 MiB).
➀ YN0000: β”” Completed in 14s 211ms
➀ YN0000: β”Œ Link step
➀ YN0007: β”‚ @roots/bud-framework@npm:6.23.3 must be built because it never has been before or the last one failed
➀ YN0007: β”‚ @swc/core@npm:1.7.2 [e7bb3] must be built because it never has been before or the last one failed
➀ YN0007: β”‚ core-js-pure@npm:3.26.1 must be built because it never has been before or the last one failed
➀ YN0000: β”” Completed in 8s 831ms
➀ YN0000: · Done with warnings in 32s 520ms
 user@mbp ξ‚° ~/code/site.com/site/web/app/themes/nynaeve ξ‚° yarn build

β•­ sage [f7efd2aff6dcda05]                                                                                                                                                              ./public
β”‚
β”‚ app
β”‚  β—‰ js/runtime.c39a01.js                                                                                                                                                             βœ” 1.18 kB
β”‚  β—‰ css/app.53672d.css                                                                                                                                                               βœ” 7.03 kB
β”‚  β—‰ js/app.f11475.js                                                                                                                                                               βœ” 349 bytes
β”‚
β”‚ editor
β”‚  β—‰ js/runtime.c39a01.js                                                                                                                                                             βœ” 1.18 kB
β”‚  β—‰ css/editor.ef46db.css                                                                                                                                                                  βœ” ΓΈ
β”‚  β—‰ js/editor.1a8d02.js                                                                                                                                                              βœ” 1.66 kB
β”‚
β•° 1s 284ms 8 modules [0/8 modules cached]

And when I checked Volta in installed theme with pinned version all seems well

volta list
⚑️ Currently active tools:

    Node: v22.11.0 (default)
    Yarn: v4.5.0 (default)
    Tool binaries available: NONE

See options for more detailed reports by running `volta list --help`.
1 Like