With a Sage project that’s a few months old, running node v16.20.0
after having migrated to a new hard drive, I’m getting this error running yarn build
with version 6.12.3
:
"@popperjs/core": "^2.11.7",
"@roots/bud": "^6.12.3",
"@roots/bud-eslint": "^6.12.3",
"@roots/bud-prettier": "^6.12.3",
"@roots/bud-sass": "^6.12.3",
"@roots/bud-stylelint": "^6.12.3",
"@roots/bud-terser": "^6.12.3",
"@roots/eslint-config": "^6.12.3",
"@roots/sage": "6.12.3",
"postcss-scss": "^4.0.6",
"stylelint-config-standard": "^33.0.0"
Dashboard seems to exist, but not with the updateStatus method:
Dashboard { _app: [Function (anonymous)] }
Traceback:
BudError
✘ this.app.dashboard?.updateStatus is not a function
☰ Stack trace
BudError: this.app.dashboard?.updateStatus is not a function
at EventHooks.get (node_modules/@roots/bud-hooks/lib/event/event.js:17:29)
at Bud.executeServiceCallbacks
(node_modules/@roots/bud/node_modules/@roots/bud-framework/lib/bud.js:40:26)
at node_modules/@roots/bud/node_modules/@roots/bud-framework/lib/bootstrap.js:182:20
at async node_modules/@roots/bud/node_modules/@roots/bud-framework/lib/bootstrap.js:181:9
at async node_modules/@roots/bud/node_modules/@roots/bud-framework/lib/bootstrap.js:181:9
at async Bud.bootstrap
(node_modules/@roots/bud/node_modules/@roots/bud-framework/lib/bootstrap.js:180:5)
at async Bud.lifecycle (node_modules/@roots/bud/node_modules/@roots/bud-framework/lib/bud.js:95:9)
at async BudBuildCommand.makeBud (node_modules/@roots/bud/lib/cli/commands/bud.js:215:9)
at async BudBuildCommand.execute (node_modules/@roots/bud/lib/cli/commands/bud.build.js:86:9)
at async BudBuildCommand.validateAndExecute (node_modules/clipanion/lib/advanced/Command.js:73:26
Based on this post, tried downgrading to v6.7.3
, and then get a Module not found error for bud-terser
:
ModuleError: Could not resolve @roots/bud-terser from
node_modules/@roots/bud-extensions/lib/service.js: Cannot find module
'node_modules/@roots/bud-terser/lib/index.js
Which makes sense because there is no lib
directory in bud-terser
:
LICENSE.md README.md node_modules/ package.json src/
I also tried upgrading to v6.14.3
, the installation of which asks me to select a version of bud-terser
. I selected the default 2023.7.6-734
with the same result of Module not found, looking for
non-existent node_modules/@roots/bud-terser/lib/index.js
.
Thanks, as always, for your insights.