Sass Invalid CSS Error: "expected expression"

Solution 1:

Based on your error message (error sass/test.sass) I can tell you're using the .sass extension for a Scss file. Change your file name to style.scss.

Sass and Scss use two different and incompatible syntaxes.

Solution 2:

Try either:

/* style.scss */
#navbar {
  width: 80%;
  height: 23px;
}

Or:

/* style.sass */
#navbar 
  width: 80%
  height: 23px

Note the difference in file extension and syntax.