-
Notifications
You must be signed in to change notification settings - Fork 264
Description
My app looked fine in the browser at the end of the chapter "Layouts and Views." In the chapter "Front-End Framework" I ran:
$ rails generate layout:install foundation5 --force
I see the file
app/assets/stylesheets/framework_and_overrides.css.scss
and I don't see the file
app/assets/stylesheets/simple.css
So I know that the "install foundation5" ran.
In the browser window I see an error screen with two errors (attached).
In the terminal I see this error message, followed by lots of lines starting with "sass":
Sass::SyntaxError - Invalid CSS after "...ules: $modules ": expected "}", was "!global;"
In looking at the terminal, I see that "install foundation5" removed two files not mentioned in the book:
app/assets/stylesheets/application.css
app/assets/stylesheets/bootstrap_and_overrides.css.scss
I also found that after using "git reset --hard" one new file remained:
app/assets/stylesheets/framework_and_overrides.css.scss
With this file I get the error messages. When I delete this file my old webpage comes back.