dart-sass icon indicating copy to clipboard operation
dart-sass copied to clipboard

dartsass:watch fails if current directory has spaces

Open stewd opened this issue 3 years ago • 1 comments

When running dartsass:watch

Inside a folder path that has a space in the folder, the compile fails; Positional and ":" arguments may not both be used.

Folder path: /Users/Stewart/Development Offline/LLO/APP

Changing the folder path to: /Users/Stewart/DevelopmentOffline/LLO/APP

dartsass:watch runs as expected

stewd avatar Feb 28 '22 15:02 stewd

How are you running Dart Sass? That particular syntax (dartsass:watch) isn't part of Dart Sass itself, so this is likely an issue with whatever tool you're using to run it.

jathak avatar Mar 09 '22 18:03 jathak

Same issue here. Appears when I run bundle exec rails dartsass:build I removed the space from my folder name and it worked fine. The error isn't helpful in debugging this, and there aren't any search engine indexed results. I'm so grateful I pasted this error into the issues search on this repo. Positional and ":" arguments may not both be used.

bekkii77 avatar Oct 25 '22 22:10 bekkii77

If this is Rails-specific, you should bring it up with the Rails team.

nex3 avatar Oct 31 '22 20:10 nex3