Can't build fresh install of Sage with Bud v6.7.1

I setup Sage with composer create-project roots/sage sage. So far so good. No other changes than what is given with the installation of Sage. Installed yarn.

However when I run yarn build or yarn dev I get the following:

C:\xampp\htdocs\MySite\web\app\themes\sage>yarn dev
yarn run v1.22.19
$ bud dev

Error

the final result of a bud.setPath transform was not absolute: @src => resources => C:\xampp\htdocs\MySite\web\app\themes\sage\resources

I can’t figure out what’s really going on. Renaming all instances of “resources” in bud.config.js and jsconfig.json doesn’t change the path in the error message either.

WSL is a requirement to use Sage/Bud on Windows

I know. When I do wsl --install it returns the following:

Windows Subsystem for Linux is already installed.
The following is a list of valid distributions that can be installed.
Install using 'wsl --install -d <Distro>'.

NAME               FRIENDLY NAME
Ubuntu             Ubuntu
Debian             Debian GNU/Linux
kali-linux         Kali Linux Rolling
SLES-12            SUSE Linux Enterprise Server v12
SLES-15            SUSE Linux Enterprise Server v15
Ubuntu-18.04       Ubuntu 18.04 LTS
Ubuntu-20.04       Ubuntu 20.04 LTS
Ubuntu-22.04       Ubuntu 22.04 LTS
OracleLinux_8_5    Oracle Linux 8.5
OracleLinux_7_9    Oracle Linux 7.9

Or am I missing something?

The paths you showed in your first post are from Windows, not WSL:

C:\xampp\htdocs\MySite\web\app\themes\sage>yarn dev

...

C:\xampp\htdocs\MySite\web\app\themes\sage\resources

Thank you for a quick reply!
It seems I was confused about what WSL entailed. I will dig further into how to use it.

1 Like