Installing Roots Beginner Sage Theme

I am trying to install the sage starter theme

composer create-project roots/sage your-theme-name 8.5.1

      

The theme has been cloned but there is no "dist" folder. I have installed chat and gulp. But there is no dist folder in the file structure.

The following error appears when running the gulp command.

events.js: 163 throw er; // Unhandled 'error' event

Can someone please point me in the right direction. Thank.

+3


source to share


1 answer


composer create-project roots/sage your-theme-name 8.5.1

npm install -g gulp bower

      

Go to your theme directory then run npm install

bower install

      

now the bower_components directory is created



I had permission error. Change the resolution before running gulp.

sudo chmod 777 bower_components
sudo gulp

      

Once done, a dist folder is created and you're good to go.

+3


source







All Articles