Skip to content

Error finding scss files. #1138

Open
Open
@jtwigg

Description

@jtwigg

When adding the line

import "react-widgets/styles.css";

to my project, I start to see these errors below linked to failing to find the scss files in the correct folder.
The path lookup seems to be wrong. Those files do
in fact exist in
node_modules/react-widgets/scss/calendar.scss
and
node_modules/react-widgets/scss/src/scss/calendar.scss

Failed to parse source map from '<workspace>/node_modules/src/scss/calendar.scss' file: Error: ENOENT: no such file or directory, open '<workspace>/node_modules/src/scss/calendar.scss'
  1. I do not want to turn off GENERATE SOURCE MAPS.
  2. I'm running in a Lerna mono repo, could this be related?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions