# Sass Error: Can't find stylesheet to import

**URL:** <https://answers.netlify.com/t/sass-error-cant-find-stylesheet-to-import/38236>\
**Category:** Support\
**Tags:** deployment\
**Created:** [May 24, 2021, 10:30pm UTC](https://answers.netlify.com/t/sass-error-cant-find-stylesheet-to-import/38236 "2021-05-24T22:30:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![deeno35](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/deeno35/32/25800_2.png) [@deeno35](https://answers.netlify.com/u/deeno35)\
**Post date:** [May 24, 2021, 10:30pm UTC](https://answers.netlify.com/t/sass-error-cant-find-stylesheet-to-import/38236/1 "2021-05-24T22:30:34Z")

</div>

Site name: bigeye-frontend-components.netlify.app  
Custom domain: [frontend-components.bigeye.com](http://frontend-components.bigeye.com)  
Problem: Looks like sass can’t follow an import on Netlify. This works on all of the systems (laptop, docker, etc) when I run against this repository, but for some reason does not work on Netlify.

I tried several versions of sass including the one that matches my dev environment (1.34.0 compiled with dart2js 2.13.0), but the behavior is still the same.

Do you have any suggestions?

3:18:27 PM: Build ready to start

3:18:29 PM: build-image version: 0582042f4fc261adc7bd8333f34884959c577302

3:18:29 PM: build-image tag: v3.7.6

3:18:29 PM: buildbot version: cb3d235979bae64f617d34524cb2e8a9de68153f

3:18:29 PM: Fetching cached dependencies

3:18:29 PM: Starting to download cache of 157.2MB

3:18:32 PM: Finished downloading cache in 2.902928127s

3:18:32 PM: Starting to extract cache

3:18:38 PM: Finished extracting cache in 6.136082968s

3:18:38 PM: Finished fetching cache in 9.104842172s

3:18:38 PM: Starting to prepare the repo for build

3:18:38 PM: Preparing Git Reference pull/4/head

3:18:39 PM: Parsing package.json dependencies

3:18:41 PM: Starting build script

3:18:41 PM: Installing dependencies

3:18:41 PM: Python version set to 2.7

3:18:41 PM: Started restoring cached node version

3:18:44 PM: Finished restoring cached node version

3:18:45 PM: Downloading and installing node v14.15.1…

3:18:45 PM: Downloading [https://nodejs.org/dist/v14.15.1/node-v14.15.1-linux-x64.tar.xz](https://nodejs.org/dist/v14.15.1/node-v14.15.1-linux-x64.tar.xz)…

3:18:45 PM: Computing checksum with sha256sum

3:18:45 PM: Checksums matched!

3:18:49 PM: Now using node v14.15.1 (npm v6.14.8)

3:18:49 PM: Started restoring cached build plugins

3:18:49 PM: Finished restoring cached build plugins

3:18:49 PM: Attempting ruby version 2.7.1, read from environment

3:18:50 PM: Using ruby version 2.7.1

3:18:51 PM: Using PHP version 5.6

3:18:51 PM: Started restoring cached node modules

3:18:51 PM: Finished restoring cached node modules

3:18:51 PM: Installing NPM modules using NPM version 6.14.8

3:19:07 PM: \> @bigeye/bigeye-design-system@0.10.0 prepare /opt/build/repo

3:19:07 PM: \> npm run dist

3:19:08 PM: \> @bigeye/bigeye-design-system@0.10.0 dist /opt/build/repo

3:19:08 PM: \> cross-env BABEL\_ENV=distribution run-s dist.clear dist.build dist.clean

3:19:08 PM: \> @bigeye/bigeye-design-system@0.10.0 dist.clear /opt/build/repo

3:19:08 PM: \> del-cli dist

3:19:08 PM: \> @bigeye/bigeye-design-system@0.10.0 dist.build /opt/build/repo

3:19:08 PM: \> run-p build:icons build:js build:css

3:19:09 PM: \> @bigeye/bigeye-design-system@0.10.0 build:icons /opt/build/repo

3:19:09 PM: \> make-dir dist/icons && svg-sprite-generate -d src/icons/ -o dist/icons/spritemap.svg

3:19:09 PM: \> @bigeye/bigeye-design-system@0.10.0 build:js /opt/build/repo

3:19:09 PM: \> babel src --out-dir dist --copy-files

3:19:09 PM: \> @bigeye/bigeye-design-system@0.10.0 build:css /opt/build/repo

3:19:09 PM: \> sass src/css/bigeye-design-system.scss dist/css/bigeye-design-system.css --style=compressed --embed-sources

3:19:10 PM: Error: Can’t find stylesheet to import.  
╷

3:19:10 PM: 49 │ @import ‘…/components/Fieldnote/Fieldnote’;

3:19:10 PM: │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

3:19:10 PM: ╵

3:19:10 PM: src/css/bigeye-design-system.scss 49:9 root stylesheet

3:19:10 PM: npm ERR! code ELIFECYCLE

3:19:10 PM: npm ERR! errno 65

3:19:10 PM: npm ERR! @bigeye/bigeye-design-system@0.10.0 build:css: `sass src/css/bigeye-design-system.scss dist/css/bigeye-design-system.css --style=compressed --embed-sources`

3:19:10 PM: npm ERR! Exit status 65

3:19:10 PM: npm ERR!

3:19:10 PM: npm ERR! Failed at the @bigeye/bigeye-design-system@0.10.0 build:css script.

3:19:10 PM: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

3:19:10 PM: npm ERR! A complete log of this run can be found in:

3:19:10 PM: npm ERR! /opt/buildhome/.npm/\_logs/2021-05-24T22\_19\_10\_737Z-debug.log

3:19:10 PM: ERROR: “build:css” exited with 65.

3:19:10 PM: npm ERR! code ELIFECYCLE

3:19:10 PM: npm ERR! errno 1

3:19:10 PM: npm ERR! @bigeye/bigeye-design-system@0.10.0 dist.build: `run-p build:icons build:js build:css`

3:19:10 PM: npm ERR! Exit status 1

3:19:10 PM: npm ERR!

3:19:10 PM: npm ERR! Failed at the @bigeye/bigeye-design-system@0.10.0 dist.build script.

3:19:10 PM: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

3:19:10 PM: npm ERR! A complete log of this run can be found in:

3:19:10 PM: npm ERR! /opt/buildhome/.npm/\_logs/2021-05-24T22\_19\_10\_786Z-debug.log

3:19:10 PM: ERROR: “dist.build” exited with 1.

3:19:10 PM: npm ERR! code ELIFECYCLE

3:19:10 PM: npm ERR! errno 1

3:19:10 PM: npm ERR! @bigeye/bigeye-design-system@0.10.0 dist: `cross-env BABEL_ENV=distribution run-s dist.clear dist.build dist.clean`

3:19:10 PM: npm ERR! Exit status 1

3:19:10 PM: npm ERR!

3:19:10 PM: npm ERR! Failed at the @bigeye/bigeye-design-system@0.10.0 dist script.

3:19:10 PM: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

3:19:10 PM: npm ERR! A complete log of this run can be found in:

3:19:10 PM: npm ERR! /opt/buildhome/.npm/\_logs/2021-05-24T22\_19\_10\_815Z-debug.log

3:19:10 PM: npm ERR! code ELIFECYCLE

3:19:10 PM: npm ERR! errno 1

3:19:10 PM: npm ERR! @bigeye/bigeye-design-system@0.10.0 prepare: `npm run dist`

3:19:10 PM: npm ERR! Exit status 1

3:19:10 PM: npm ERR!

3:19:10 PM: npm ERR! Failed at the @bigeye/bigeye-design-system@0.10.0 prepare script.

3:19:10 PM: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

3:19:10 PM: npm ERR! A complete log of this run can be found in:

3:19:10 PM: npm ERR! /opt/buildhome/.npm/\_logs/2021-05-24T22\_19\_10\_856Z-debug.log

3:19:10 PM: Error during NPM install

3:19:10 PM: Build was terminated: Build script returned non-zero exit code: 1

3:19:10 PM: Creating deploy upload records

3:19:10 PM: Failing build: Failed to build site

3:19:11 PM: Failed during stage ‘building site’: Build script returned non-zero exit code: 1

3:19:11 PM: Finished processing build request in 42.065947847s

---

<div class="post-metadata">

**Author:** ![hrishikesh](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/hrishikesh/32/74607_2.png) [@hrishikesh](https://answers.netlify.com/u/hrishikesh)\
**Post date:** [May 27, 2021, 6:15am UTC](https://answers.netlify.com/t/sass-error-cant-find-stylesheet-to-import/38236/2 "2021-05-27T06:15:30Z")

</div>

Would you try this: [[Support Guide] Netlify app builds locally but fails on deploy (case sensitivity)](https://answers.netlify.com/t/support-guide-netlify-app-builds-locally-but-fails-on-deploy-case-sensitivity/10754) and let us know if it helps?

---

<div class="post-metadata">

**Author:** ![deeno35](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/deeno35/32/25800_2.png) [@deeno35](https://answers.netlify.com/u/deeno35)\
**Post date:** [May 28, 2021, 4:12pm UTC](https://answers.netlify.com/t/sass-error-cant-find-stylesheet-to-import/38236/3 "2021-05-28T16:12:53Z")

</div>

> [@deeno35](#):
>
> sass src/css/bigeye-design-system.scss dist/css/bigeye-design-system.css --style=compressed --embed-sources

This was it, thanks! That import should have been camelCased and it was working on macs due to the FS case insensitivity.
