I’m testing the simple SASS example using this stack:
- Node 20.12.1 (via NVM)
- yarn 3.5.1
This is my package.json:
{
"name": "@examples/sass",
"$schema": "https://bud.js.org/bud.package.json",
"private": true,
"engines": {
"node": ">=20.0.0"
},
"type": "module",
"devDependencies": {
"@roots/bud": "6.24.0",
"@roots/bud-sass": "6.24.0"
}
}
When running the commands yarn bud upgrade
or yarn bud build
, I got the same error:
/home/test/.yarn/virtual/@roots-bud-support-virtual-d6e2381f73/0/cache/@roots-bud-support-npm-6.24.0-4d244ce310-ba081b5b96.zip/node_modules/@roots/bud-support/jsx-runtime/index.cjs:15
f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,
^TypeError: Cannot read properties of undefined (reading ‘ReactCurrentOwner’)
at Object. (/home/test/.yarn/virtual/@roots-bud-support-virtual-d6e2381f73/0/cache/@roots-bud-support-npm-6.24.0-4d244ce310-ba081b5b96.zip/node_modules/@roots/bud-support/jsx-runtime/index.cjs:15:58)
at loadCJSModule (node:internal/modules/esm/translators:280:3)
at ModuleWrap. (node:internal/modules/esm/translators:315:7)
at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:323:24)
at async loadESM (node:internal/process/esm_loader:28:7)
at async handleMainPromise (node:internal/modules/run_main:113:12)Node.js v20.12.1