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.
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