Node Bourbon is a `node-sass` wrapper for the now-unmaintained Bourbon Sass library. It provided a convenient way for Node.js developers to integrate Bourbon's Sass mixins and functions into their projects using `node-sass` (which itself is a binding for LibSass). The package reached its last stable version, 4.2.8, in March 2016. Since then, both `node-bourbon` and the original Bourbon project by thoughtbot have been abandoned. The original Bourbon library recommends transitioning to native CSS. Consequently, `node-bourbon` is not compatible with modern Sass compilers like Dart Sass or recent versions of Node.js, making it unsuitable for new projects and difficult to maintain in existing ones.
npm install node-bourbonVerified import paths — ran on the pinned version, not inferred.
Demonstrates basic integration of `node-bourbon` with a Gulp build process using `gulp-sass` for compiling Sass files, including Bourbon's mixins.
Migrate to native CSS, modern Sass (Dart Sass), or a currently maintained utility-first CSS framework. If Bourbon features are strictly needed, consider the official `bourbon` npm package (though that project is also unmaintained and recommends native CSS).
Replace `node-sass` with `sass` (Dart Sass) and refactor Sass code to remove `node-bourbon` dependencies.
Ensure `node-bourbon` is at version `4.2.8` to mitigate known path issues, though this is a very old version. If issues persist, manually verify `bourbon.includePaths` output.
Always use `node-bourbon` with `node-sass` or `gulp-sass` (LibSass-based compilers) as recommended. Avoid `grunt-contrib-sass` when using this package.
Ensure `require('node-bourbon').includePaths` (or `.with()`) is correctly assigned to your Sass compiler's `includePaths` option in your build configuration (e.g., Gulp, Grunt, Webpack). Verify `node_modules/node-bourbon` exists and contains the expected files.Review your `gulp.src()`, `grunt.initConfig().files`, or Webpack loader configurations to ensure only actual `.scss` or `.sass` files are processed by the Sass compiler. Exclude `node_modules` directories explicitly if necessary.
Update your Sass code to use the recommended alternatives for the deprecated Bourbon features. Given that Bourbon itself is unmaintained, this might involve migrating away from Bourbon entirely to native CSS or more modern Sass practices.