# Yarn dev - TypeError: Cannot read properties of undefined (reading 'startsWith')

**URL:** https://discourse.roots.io/t/yarn-dev-typeerror-cannot-read-properties-of-undefined-reading-startswith/22826
**Category:** sage
**Tags:** sage10
**Created:** 2022-04-06T23:11:58Z
**Posts:** 3

## Post 1 by @Kobol909 — 2022-04-06T23:11:59Z

As this is my first post here, I’ll start by thanking the team behind Roots ! You did an amazing job.

Also worth mentioning how good is this forum.

Now to my issue.  
I have a full site that I created with the whole Roots stack, everything was running perfectly until today. Now when I try to “_yarn dev_”, this happens:

> yarn run v1.22.17  
> $ bud dev --log.level=vvvv  
> [kobol] [logger] › ◉ config [Function: config]  
> [kobol] › :arrow_forward: bud Initialized timer…  
> [kobol] › ❯ process.env.NODE\_ENV development  
> [kobol] › ❯ process.env.BABEL\_ENV development  
> :arrow_forward: building bud Initialized timer…  
> [kobol] › … [1/5] bootstrap api  
> [kobol] › :heavy_check_mark: bound alias  
> [kobol] › :heavy_check_mark: bound assets  
> [kobol] › :heavy_check_mark: bound copy  
> [kobol] › :heavy_check_mark: bound config  
> [kobol] › :heavy_check_mark: bound webpackConfig  
> [kobol] › :heavy_check_mark: bound override  
> [kobol] › :heavy_check_mark: bound define  
> [kobol] › :heavy_check_mark: bound devtool  
> [kobol] › :heavy_check_mark: bound entry  
> [kobol] › :heavy_check_mark: bound js  
> [kobol] › :heavy_check_mark: bound css  
> [kobol] › :heavy_check_mark: bound experiments  
> [kobol] › :heavy_check_mark: bound externals  
> [kobol] › :heavy_check_mark: bound hash  
> [kobol] › :heavy_check_mark: bound version  
> [kobol] › :heavy_check_mark: bound minimize  
> [kobol] › :heavy_check_mark: bound persist  
> [kobol] › :heavy_check_mark: bound provide  
> [kobol] › :heavy_check_mark: bound proxy  
> [kobol] › :heavy_check_mark: bound run  
> [kobol] › :heavy_check_mark: bound runtime  
> [kobol] › :heavy_check_mark: bound serve  
> [kobol] › :heavy_check_mark: bound splitChunks  
> [kobol] › :heavy_check_mark: bound extract  
> [kobol] › :heavy_check_mark: bound template  
> [kobol] › :heavy_check_mark: bound use  
> [kobol] › :heavy_check_mark: bound watch  
> [kobol] › … [2/5] bootstrap hooks  
> [kobol] › … [3/5] bootstrap project  
> [kobol] › … [4/5] bootstrap env  
> [kobol] [env] › ❯ loading env  
> [kobol] [env] › :warning: no env values found  
> [kobol] › … [5/5] bootstrap dashboard  
> [kobol] › :heavy_check_mark: [1/5] bootstrap api  
> [kobol] › :heavy_check_mark: [2/5] bootstrap hooks  
> [kobol] › :heavy_check_mark: [4/5] bootstrap env  
> [kobol] › :heavy_check_mark: [5/5] bootstrap dashboard  
> [kobol] › :heavy_check_mark: [3/5] bootstrap project  
> [kobol] › … [1/3] register project  
> [kobol] [env] › ❯ getting publicEnv {}  
> [kobol] › … [2/3] register build  
> [kobol] › … [3/3] register dependencies  
> [kobol] › :heavy_check_mark: [3/3] register dependencies  
> [kobol] › :heavy_check_mark: [2/3] register build  
> [kobol] [project] › :arrow_forward: building profile Initialized timer…  
> [kobol] [project] › … reading project configuration files  
> [kobol] [project] › ● located user config bud.config.js  
> project config results  
> {“dynamic”: {“conditional”: , “global”: [“/usr/local/var/www/html/kobol.test/site/web/app/themes/kobol/bud.config.js”]}, “json”: {“conditional”: , “global”: }}[kobol] [project] › :black_medium_square: building profile Timer run for: 65ms  
> [kobol] › :heavy_check_mark: [1/3] register project  
> [kobol] › … [1/2] registered api  
> [kobol] › … [2/2] registered build  
> [kobol] › :heavy_check_mark: [2/2] registered build  
> [kobol] › :heavy_check_mark: [1/2] registered api  
> [kobol] › … [1/4] boot project  
> [kobol] › … [2/4] boot cache  
> [kobol] › … [3/4] boot server  
> [kobol] › … [4/4] boot extensions  
> [kobol] [extensions] › :heavy_check_mark: webpack-provide-plugin instantiated  
> [kobol] [extensions] › :heavy_check_mark: clean-webpack-plugin instantiated  
> [kobol] [extensions] › :heavy_check_mark: copy-webpack-plugin instantiated  
> [kobol] [extensions] › :heavy_check_mark: webpack-define-plugin instantiated  
> [kobol] [extensions] › :heavy_check_mark: webpack-hot-module-replacement-plugin instantiated  
> [kobol] [extensions] › :heavy_check_mark: webpack-manifest-plugin instantiated  
> [kobol] [extensions] › :heavy_check_mark: mini-css-extract-plugin instantiated  
> [kobol] › :heavy_check_mark: [1/4] boot project  
> [kobol] › :heavy_check_mark: [3/4] boot server  
> [kobol] [extensions] › :arrow_forward: registering Initialized timer…  
> [kobol] › ❯ registering webpack-provide-plugin  
> [kobol] › ❯ registering clean-webpack-plugin  
> [kobol] › ❯ registering copy-webpack-plugin  
> [kobol] › ❯ registering webpack-define-plugin  
> [kobol] › ❯ registering webpack-hot-module-replacement-plugin  
> [kobol] › ❯ registering webpack-manifest-plugin  
> [kobol] › ❯ registering mini-css-extract-plugin  
> [kobol] [extensions] › :black_medium_square: registering Timer run for: 5ms  
> [kobol] [extensions] › :arrow_forward: booting Initialized timer…  
> [kobol] › ❯ booting webpack-provide-plugin  
> [kobol] › ❯ booting clean-webpack-plugin  
> [kobol] › ❯ booting copy-webpack-plugin  
> [kobol] › ❯ booting webpack-define-plugin  
> [kobol] › ❯ booting webpack-hot-module-replacement-plugin  
> [kobol] › ❯ booting webpack-manifest-plugin  
> [kobol] › ❯ booting mini-css-extract-plugin  
> [kobol] [extensions] › :black_medium_square: booting Timer run for: 3ms  
> [kobol] [extensions] › ❯ importing @roots/bud-eslint  
> [kobol] [extensions] › ❯ importing @roots/bud-prettier  
> [kobol] [extensions] › ❯ importing @roots/bud-tailwindcss  
> [kobol] [extensions] › ❯ importing @roots/bud-postcss  
> [kobol] [extensions] › ❯ importing @roots/bud-stylelint  
> [kobol] [extensions] › ❯ importing @roots/sage  
> [kobol] [extensions] › ❯ importing @roots/bud-preset-wordpress  
> [kobol] [extensions] › ❯ importing @roots/bud-babel  
> [kobol] [extensions] › ❯ importing @roots/bud-entrypoints  
> [kobol] [extensions] › ❯ importing @roots/bud-preset-recommend  
> [kobol] [extensions] › ❯ importing @roots/bud-react  
> [kobol] [extensions] › ❯ importing @roots/bud-wordpress-manifests  
> [kobol] [extensions] › ❯ importing @roots/bud-wordpress-externals  
> [kobol] [extensions] › ❯ importing @roots/bud-wordpress-dependencies  
> [kobol] › ❯ registering @roots/bud-eslint  
> [kobol] [@roots/bud-eslint] › :heavy_check_mark: success registered bud.eslint @roots/bud-eslint  
> [kobol] › ❯ registering @roots/bud-prettier  
> [kobol] › ❯ registering @roots/bud-tailwindcss  
> [kobol] › :heavy_check_mark: bound tailwind  
> [kobol] › ❯ registering @roots/bud-postcss  
> [kobol] [@roots/bud-postcss] › :heavy_check_mark: success registered bud.postcss @roots/bud-postcss  
> [kobol] › :heavy_check_mark: postcss is installed  
> [kobol] [@roots/bud-postcss] › … resolving postcss plugins  
> [kobol] [@roots/bud-postcss] › :heavy_check_mark: resolving postcss plugins  
> [kobol] [@roots/bud-postcss] › :heavy_check_mark: success register called @roots/bud-postcss  
> [kobol] › ❯ registering @roots/sage  
> [kobol] › ❯ registering @roots/bud-preset-wordpress  
> [kobol] › ❯ registering @roots/bud-babel  
> [kobol] [@roots/bud-babel] › :heavy_check_mark: success registered bud.babel @roots/bud-babel  
> [kobol] [@roots/bud-babel] › :heavy_check_mark: success register called @roots/bud-babel  
> [kobol] › ❯ registering @roots/bud-entrypoints  
> [kobol] › ❯ registering @roots/bud-preset-recommend  
> [kobol] › ❯ registering @roots/bud-react  
> [kobol] › :heavy_check_mark: bound reactRefresh  
> [kobol] › ❯ registering @roots/bud-wordpress-manifests  
> [kobol] › ❯ booting @roots/bud-eslint  
> [kobol] › ❯ booting @roots/bud-prettier  
> [kobol] › ❯ booting @roots/bud-tailwindcss  
> [kobol] › :heavy_check_mark: loaded user tailwindcss config from [secure]/tailwind.config.js  
> [kobol] [extensions] [tailwindcss] › :heavy_check_mark: postcss has been configured for tailwindcss  
> [kobol] [@roots/bud-tailwindcss] › :heavy_check_mark: success @roots/bud-tailwindcss booted  
> [kobol] › ❯ booting @roots/bud-postcss  
> [kobol] › ❯ booting @roots/sage  
> [kobol] [api] › ❯ facade added to queue: alias [{“@fonts”:“./resources/fonts”,“@images”:“[secure]/resources/images”,“@scripts”:“[secure]/resources/scripts”,“@styles”:“[secure]/resources/styles”}]  
> [kobol] [api] › ❯ facade added to queue: splitChunks   
> [kobol] [api] › ❯ facade added to queue: devtool   
> [kobol] [@roots/sage] › :heavy_check_mark: success @roots/sage booted  
> [kobol] › ❯ booting @roots/bud-preset-wordpress  
> [kobol] › ❯ booting @roots/bud-babel  
> [kobol] › ❯ booting @roots/bud-entrypoints  
> [kobol] › ❯ booting @roots/bud-preset-recommend  
> [kobol] › ❯ booting @roots/bud-react  
> [kobol] [@roots/bud-react] › :heavy_check_mark: success @roots/bud-react booted  
> [kobol] › ❯ booting @roots/bud-wordpress-manifests  
> [kobol] › :heavy_check_mark: [4/4] boot extensions  
> [kobol] [cache] › :information_source: cache hash generated 9icfaahtq8wstvt38qahiibdits\_  
> [kobol] [cache] › ❯ --cache.type flag filesystem  
> [kobol] [api] › ❯ executing persist [“filesystem”]  
> [kobol] [api] › :heavy_check_mark: cache enabled filesystem  
> [kobol] › :heavy_check_mark: [2/4] boot cache  
> [kobol] › :black_medium_square: building bud Timer run for: 538ms  
> runner :heavy_check_mark: framework ready  
> :arrow_forward: process user configs Initialized timer…  
> [kobol] [api] › … Executing 3 enqueued functions  
> [kobol] [api] › ❯ executing alias [{“@fonts”:“./resources/fonts”,“@images”:“[secure]/resources/images”,“@scripts”:“[secure]/resources/scripts”,“@styles”:“[secure]/resources/styles”}]  
> [kobol] [api] › :heavy_check_mark: alias @fonts ./resources/fonts  
> [kobol] [api] › :heavy_check_mark: alias @images ./resources/images  
> [kobol] [api] › :heavy_check_mark: alias @scripts ./resources/scripts  
> [kobol] [api] › :heavy_check_mark: alias @styles ./resources/styles  
> [kobol] [api] › ❯ executing splitChunks none  
> [kobol] [api] › ❯ executing devtool none  
> [kobol] [api] › devtool :heavy_check_mark:  
> ❯ processing [secure]/bud.config.js  
> … importing module [secure]/bud.config.js  
> … calling user config [secure]/bud.config.js  
> [kobol] [api] › ❯ facade added to queue: entry [{“app”:[“scripts/app.js”,“styles/app.css”],“editor”:[“scripts/editor.js”,“styles/editor.css”]}]  
> [kobol] [api] › ❯ facade added to queue: assets [[“images”]]  
> [kobol] [api] › ❯ facade added to queue: watch [[“tailwind.config.js”,“resources/views/ **/\*.blade.php","app/View/** /_.php",“app/View/setup.php”,"resources/views/ **/** /_.blade.php”]]  
> [kobol] [api] › ❯ facade added to queue: proxy [“[http://kobol.test](http://kobol.test)”]  
> [kobol] [api] › … Executing 4 enqueued functions  
> [kobol] [api] › ❯ executing entry [{“app”:[“scripts/app.js”,“styles/app.css”],“editor”:[“scripts/editor.js”,“styles/editor.css”]}]  
> [kobol] [api] › ❯ executing assets [[“images”]]  
> [kobol] [api] › ❯ executing watch [[“tailwind.config.js”,“resources/views/ **/\*.blade.php","app/View/** /_.php",“app/View/setup.php”,"resources/views/ **/** /_.blade.php”]]  
> [kobol] [api] › ❯ executing proxy [“[http://kobol.test](http://kobol.test)”]  
> [kobol] [api] › ❯ enabling proxy  
> retrieved static config (global)  
> [  
> retrieved static config (conditional)  
> :black_medium_square: process user configs Timer run for: 22ms  
> [kobol] [api] › ❯ executing run []  
> bud config traced calls  
> [{“arguments”: {“@fonts”: “/usr/local/var/www/html/kobol.test/site/web/app/themes/kobol/resources/fonts”, “@images”: “/usr/local/var/www/html/kobol.test/site/web/app/themes/kobol/resources/images”, “@scripts”: “/usr/local/var/www/html/kobol.test/site/web/app/themes/kobol/resources/scripts”, “@styles”: “/usr/local/var/www/html/kobol.test/site/web/app/themes/kobol/resources/styles”}, “method”: “alias”}, {“arguments”: “none”, “method”: “splitChunks”}, {“arguments”: “none”, “method”: “devtool”}, {“arguments”: {“app”: [“scripts/app.js”, “styles/app.css”], “editor”: [“scripts/editor.js”, “styles/editor.css”]}, “method”: “entry”}, {“arguments”: [“images”], “method”: “assets”}, {“arguments”: [“tailwind.config.js”, “resources/views/ **/\*.blade.php", "app/View/** /_.php", “app/View/setup.php”, "resources/views/ **/** /_.blade.php”], “method”: “watch”}, {“arguments”: “[http://kobol.test](http://kobol.test)”, “method”: “proxy”}][kobol] › :information_source: glob search [“scripts/app.js”,“styles/app.css”]  
> [kobol] › :information_source: glob directory [secure]/resources  
> [kobol] › :information_source: glob results [“scripts/app.js”,“styles/app.css”]  
> [kobol] [api] › :heavy_check_mark: entrypoints added app {“import”:[“scripts/app.js”,“styles/app.css”]}  
> [kobol] › :information_source: glob search [“scripts/editor.js”,“styles/editor.css”]  
> [kobol] › :information_source: glob directory [secure]/resources  
> [kobol] › :information_source: glob results [“scripts/editor.js”,“styles/editor.css”]  
> [kobol] [api] › :heavy_check_mark: entrypoints added editor {“import”:[“scripts/editor.js”,“styles/editor.css”]}  
> [kobol] [extensions] › :arrow_forward: extensions.make Initialized timer…  
> [kobol] [extensions] › ❯ webpack-provide-plugin will not be used in the compilation  
> bud clean-webpack-plugin ctor options  
> {“cleanOnceBeforeBuildPatterns”: [“**/\*", “!dll”], “cleanStaleWebpackAssets”: true, “protectWebpackAssets”: true}[kobol] [extensions] › :heavy_check_mark: clean-webpack-plugin will be used in the compilation  
> bud copy-webpack-plugin ctor options  
> {“patterns”: [{“context”: “/usr/local/var/www/html/kobol.test/site/web/app/themes/kobol/resources”, “from”: "images/**/\*”, “noErrorOnMissing”: true}]}[kobol] [extensions] › :heavy_check_mark: copy-webpack-plugin will be used in the compilation  
> [kobol] [extensions] › ❯ webpack-define-plugin will not be used in the compilation  
> [kobol] [extensions] › :heavy_check_mark: webpack-hot-module-replacement-plugin will be used in the compilation  
> bud webpack-manifest-plugin ctor options  
> {“fileName”: “manifest.json”, “writeToFileEmit”: true}[kobol] [extensions] › :heavy_check_mark: webpack-manifest-plugin will be used in the compilation  
> [kobol] [extensions] › ❯ mini-css-extract-plugin will not be used in the compilation  
> TypeError: Cannot read properties of undefined (reading ‘startsWith’)  
> [kobol] [bud] [node] [terminate] › :information_source: exit  
> :sparkles: Done in 2.33s.

Any tips would be helpful at the moment :wink:

---

## Post 2 by @Kobol909 — 2022-04-07T02:06:36Z

Alright after I tried deleting package-lock.json and composer.lock, then ran composer install and yarn, yarn dev --log.level=vvvv and here is the output:

> yarn run v1.22.17  
> $ bud dev --log.level=vvvv  
> [kobol] [logger] › ◉ config [Function: config]  
> [kobol] › :arrow_forward: bud Initialized timer…  
> [kobol] › ❯ process.env.NODE\_ENV development  
> [kobol] › ❯ process.env.BABEL\_ENV development  
> :arrow_forward: building bud Initialized timer…  
> [kobol] › … [1/5] bootstrap api  
> [kobol] › :heavy_check_mark: bound alias  
> [kobol] › :heavy_check_mark: bound assets  
> [kobol] › :heavy_check_mark: bound copy  
> [kobol] › :heavy_check_mark: bound config  
> [kobol] › :heavy_check_mark: bound webpackConfig  
> [kobol] › :heavy_check_mark: bound override  
> [kobol] › :heavy_check_mark: bound define  
> [kobol] › :heavy_check_mark: bound devtool  
> [kobol] › :heavy_check_mark: bound entry  
> [kobol] › :heavy_check_mark: bound js  
> [kobol] › :heavy_check_mark: bound css  
> [kobol] › :heavy_check_mark: bound experiments  
> [kobol] › :heavy_check_mark: bound externals  
> [kobol] › :heavy_check_mark: bound hash  
> [kobol] › :heavy_check_mark: bound version  
> [kobol] › :heavy_check_mark: bound minimize  
> [kobol] › :heavy_check_mark: bound persist  
> [kobol] › :heavy_check_mark: bound provide  
> [kobol] › :heavy_check_mark: bound proxy  
> [kobol] › :heavy_check_mark: bound run  
> [kobol] › :heavy_check_mark: bound runtime  
> [kobol] › :heavy_check_mark: bound serve  
> [kobol] › :heavy_check_mark: bound splitChunks  
> [kobol] › :heavy_check_mark: bound extract  
> [kobol] › :heavy_check_mark: bound template  
> [kobol] › :heavy_check_mark: bound use  
> [kobol] › :heavy_check_mark: bound watch  
> [kobol] › … [2/5] bootstrap hooks  
> [kobol] › … [3/5] bootstrap project  
> [kobol] › … [4/5] bootstrap env  
> [kobol] [env] › ❯ loading env  
> [kobol] [env] › :warning: no env values found  
> [kobol] › … [5/5] bootstrap dashboard  
> [kobol] › :heavy_check_mark: [1/5] bootstrap api  
> [kobol] › :heavy_check_mark: [2/5] bootstrap hooks  
> [kobol] › :heavy_check_mark: [4/5] bootstrap env  
> [kobol] › :heavy_check_mark: [5/5] bootstrap dashboard  
> [kobol] › :heavy_check_mark: [3/5] bootstrap project  
> [kobol] › … [1/3] register project  
> [kobol] [env] › ❯ getting publicEnv {}  
> [kobol] › … [2/3] register build  
> [kobol] › … [3/3] register dependencies  
> [kobol] › :heavy_check_mark: [3/3] register dependencies  
> [kobol] › :heavy_check_mark: [2/3] register build  
> [kobol] [project] › :arrow_forward: building profile Initialized timer…  
> [kobol] [project] › … reading project configuration files  
> [kobol] [project] › ● located user config bud.config.js  
> project config results  
> {“dynamic”: {“conditional”: , “global”: [“/usr/local/var/www/html/kobol.test/site/web/app/themes/kobol/bud.config.js”]}, “json”: {“conditional”: , “global”: }}[kobol] [project] › :black_medium_square: building profile Timer run for: 103ms  
> [kobol] › :heavy_check_mark: [1/3] register project  
> [kobol] › … [1/2] registered api  
> [kobol] › … [2/2] registered build  
> [kobol] › :heavy_check_mark: [2/2] registered build  
> [kobol] › :heavy_check_mark: [1/2] registered api  
> [kobol] › … [1/4] boot project  
> [kobol] › … [2/4] boot cache  
> [kobol] › … [3/4] boot server  
> [kobol] › … [4/4] boot extensions  
> [kobol] [extensions] › :heavy_check_mark: webpack-provide-plugin instantiated  
> [kobol] [extensions] › :heavy_check_mark: clean-webpack-plugin instantiated  
> [kobol] [extensions] › :heavy_check_mark: copy-webpack-plugin instantiated  
> [kobol] [extensions] › :heavy_check_mark: webpack-define-plugin instantiated  
> [kobol] [extensions] › :heavy_check_mark: webpack-hot-module-replacement-plugin instantiated  
> [kobol] [extensions] › :heavy_check_mark: webpack-manifest-plugin instantiated  
> [kobol] [extensions] › :heavy_check_mark: mini-css-extract-plugin instantiated  
> [kobol] › :heavy_check_mark: [1/4] boot project  
> [kobol] › :heavy_check_mark: [3/4] boot server  
> [kobol] [extensions] › :arrow_forward: registering Initialized timer…  
> [kobol] › ❯ registering webpack-provide-plugin  
> [kobol] › ❯ registering clean-webpack-plugin  
> [kobol] › ❯ registering copy-webpack-plugin  
> [kobol] › ❯ registering webpack-define-plugin  
> [kobol] › ❯ registering webpack-hot-module-replacement-plugin  
> [kobol] › ❯ registering webpack-manifest-plugin  
> [kobol] › ❯ registering mini-css-extract-plugin  
> [kobol] [extensions] › :black_medium_square: registering Timer run for: 5ms  
> [kobol] [extensions] › :arrow_forward: booting Initialized timer…  
> [kobol] › ❯ booting webpack-provide-plugin  
> [kobol] › ❯ booting clean-webpack-plugin  
> [kobol] › ❯ booting copy-webpack-plugin  
> [kobol] › ❯ booting webpack-define-plugin  
> [kobol] › ❯ booting webpack-hot-module-replacement-plugin  
> [kobol] › ❯ booting webpack-manifest-plugin  
> [kobol] › ❯ booting mini-css-extract-plugin  
> [kobol] [extensions] › :black_medium_square: booting Timer run for: 4ms  
> [kobol] [extensions] › ❯ importing @roots/bud-eslint  
> [kobol] [extensions] › ❯ importing @roots/bud-postcss  
> [kobol] [extensions] › ❯ importing @roots/bud-prettier  
> [kobol] [extensions] › ❯ importing @roots/bud-stylelint  
> [kobol] [extensions] › ❯ importing @roots/bud-tailwindcss  
> [kobol] [extensions] › ❯ importing @roots/sage  
> [kobol] [extensions] › ❯ importing @roots/bud-preset-wordpress  
> [kobol] [extensions] › ❯ importing @roots/bud-babel  
> [kobol] [extensions] › ❯ importing @roots/bud-wordpress-externals  
> [kobol] [extensions] › ❯ importing @roots/bud-preset-recommend  
> [kobol] [extensions] › ❯ importing @roots/bud-entrypoints  
> [kobol] [extensions] › ❯ importing @roots/bud-wordpress-dependencies  
> [kobol] [extensions] › ❯ importing @roots/bud-react  
> [kobol] [extensions] › ❯ importing @roots/bud-wordpress-manifests  
> [kobol] › ❯ registering @roots/bud-eslint  
> [kobol] [@roots/bud-eslint] › :heavy_check_mark: success registered bud.eslint @roots/bud-eslint  
> [kobol] › ❯ registering @roots/bud-postcss  
> [kobol] [@roots/bud-postcss] › :heavy_check_mark: success registered bud.postcss @roots/bud-postcss  
> [kobol] › ❯ Controller {  
> meta: {  
> instance: ‘bud’,  
> bound: true,  
> mixed: true,  
> registered: true,  
> booted: false  
> },  
> \_module: {  
> name: ‘@roots/bud-postcss’,  
> options: undefined,  
> mixin: [AsyncFunction: mixin],  
> register: [AsyncFunction: register]  
> },  
> _app: [Function (anonymous)],  
> log: [Function: bound log]  
> }  
> [kobol] › :heavy_multiplication_x: Error: TypeError: app.build.setLoader is not a function  
> at Extensions.registerExtension ([secure]/node\_modules/@roots/bud-extensions/lib/cjs/Extensions/extensions.service.js:134:19)  
> at processTicksAndRejections (node:internal/process/task\_queues:96:5)  
> at async [secure]/node\_modules/@roots/bud-extensions/lib/cjs/Extensions/extensions.service.js:99:17  
> at async [secure]/node\_modules/@roots/bud-extensions/lib/cjs/Extensions/extensions.service.js:98:17  
> at async [secure]/node\_modules/@roots/bud-extensions/lib/cjs/Extensions/extensions.service.js:98:17  
> at async [secure]/node\_modules/@roots/bud-extensions/lib/cjs/Extensions/extensions.service.js:98:17  
> at async [secure]/node\_modules/@roots/bud-extensions/lib/cjs/Extensions/extensions.service.js:98:17  
> at async [secure]/node\_modules/@roots/bud-extensions/lib/cjs/Extensions/extensions.service.js:98:17  
> at async [secure]/node\_modules/@roots/bud-extensions/lib/cjs/Extensions/extensions.service.js:98:17  
> at async [secure]/node\_modules/@roots/bud-extensions/lib/cjs/Extensions/extensions.service.js:98:17  
> Error: Error thrown. Reference message contents above.  
> [kobol] [cache] › :information_source: cache hash generated 9icfaahtq8wstvt38qahiibdits_  
> [kobol] [cache] › ❯ --cache.type flag filesystem  
> [kobol] [api] › ❯ executing persist [“filesystem”]  
> [kobol] [api] › :heavy_check_mark: cache enabled filesystem  
> [kobol] › :heavy_check_mark: [2/4] boot cache  
> [kobol] [bud] [node] [terminate] › :information_source: exit  
> :sparkles: Done in 2.48s.

Seem it had something to do with a composer update,

> “@roots/bud-eslint”: “^5.7.7”,  
> “@roots/bud-prettier”: “^5.7.7”,  
> “@roots/bud-stylelint”: “^5.7.7”,

Reverting back to earlier versions,

> “@roots/bud-eslint”: “5.3.2”,  
> “@roots/bud-prettier”: “5.3.2”,  
> “@roots/bud-stylelint”: “5.3.2”,

Now “yarn dev” is working again!

---

## Post 3 by @kellymears — 2022-04-07T09:18:05Z

`--log.level` hasn’t been available since we switched off oclif [in 5.4.0](https://github.com/roots/bud/releases/tag/v5.4.0). Similarly:

```
[kobol] [cache] › ❯ --cache.type flag filesystem
```

^ this log item is not present in the past few releases.

I think if you were to run `yarn why @roots/bud` / `yarn why @roots/sage` you’d see some sort of version mismatch. I’m guessing based on the out of the date CLI logs that `@roots/bud` is not at 5.7.7.

When you want to try again remove the `^` from your version strings and make sure everything in the `@roots/` namespace is at `5.7.7`.
