Error: File to import not found or unreadable: bootstrap/variables.

Created on 20 April 2017, about 7 years ago
Updated 21 June 2024, 11 days ago

Hey everyone,

Having an issue getting my subtheme to work properly after running Gulp.

After creating my sub theme via Drush, running 'npm run setup'

I get thrown this error.

"[17:44:44] gulp-notify: [Gulp] Error: assets/scss/akdata.style.scss
Error: File to import not found or unreadable: bootstrap/variables.
       Parent style sheet: /Applications/MAMP/htdocs/akdata/themes/akdata/assets/scss/akdata.style.scss
        on line 8 of assets/scss/akdata.style.scss
>> @import "bootstrap/variables";"

Update: No bower_components directory is being created.

Steps taken after initial:

  1. rm -rf node_modules; rm -rf bower_components; npm install; bower install
  2. npm run setup
πŸ’¬ Support request
Status

Closed: outdated

Version

3.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024