Skip to content

Build hangs after Failed to compile. when using sass imports #7386

Closed
@ArnaudBarre

Description

@ArnaudBarre

Build hangs after Failed to compile. when using sass imports

  1. yarn create react-app test
  2. yarn add node-sass
  3. Rename index.css to index.scss (update import in App.js)
  4. In index.scss add @import "./foo.scss";
  5. In index.js add import { Bar } from "./Foo"

Without 4. => Cannot find file './Foo' in './src'. => exit 1

Without 5. => File to import not found or unreadable: ./foo.scss. => exit 1

With 4. and 5. => Cannot find file './Foo' in './src'. => hangs

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions