Skip to content

"Front-End Framework" chapter derailment #49

@tdkehoe

Description

@tdkehoe

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.

Any suggestions?
screen shot 2015-03-02 at 5 13 03 pm
screen shot 2015-03-02 at 5 13 14 pm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions