aleho / gnome-shell-volume-mixer

GNOME Shell Extension allowing separate configuration of PulseAudio devices
https://extensions.gnome.org/extension/858/volume-mixer/
GNU General Public License v2.0
136 stars 32 forks source link

Build fails with 'can't find stylesheet to import' #116

Closed Vash63 closed 4 years ago

Vash63 commented 4 years ago

I get the following when cloning the current master and attempting to build with make (this is the first time I've tried building this, I used to get it from the extensions website but that hasn't been updated yet for 3.36).


npm install
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

added 144 packages from 94 contributors and audited 199 packages in 1.986s

7 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

node_modules/.bin/eslint shell-volume-mixer@derhofbauer.at
shell-volume-mixer@derhofbauer.at/lib/volume/mixer.js:235: warning: unterminated string
shell-volume-mixer@derhofbauer.at/lib/volume/mixer.js:247: warning: RegExp literal terminated too early
shell-volume-mixer@derhofbauer.at/lib/widget/percentageLabel.js:31: warning: RegExp literal terminated too early
node_modules/.bin/sass --no-source-map styles.scss shell-volume-mixer@derhofbauer.at/stylesheet.css
Error: Can't find stylesheet to import.
  ╷
2 │ @import "gnome-shell-sass/_colors";
  │         ^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵
  styles.scss 2:9  root stylesheet
make: *** [Makefile:66: stylesheet.css] Error 65
make  5,65s user 0,30s system 185% cpu 3,209 total```
aleho commented 4 years ago

Yes, the Makefile could probably benefit from a submodule init as well.

Vash63 commented 4 years ago

That worked. At very least it should be noted on the README.md file.