Skip to content

editor-styles.scss fails to import #29

Open

Description

@rmccue

Hi! After pulling down the repo, running yarn install, and then yarn run build, I get the following error:

ERROR in ./src/styles.scss
Module build failed (from ./node_modules/@wordpress/scripts/node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ./node_modules/@wordpress/scripts/node_modules/sass-loader/dist/cjs.js):
SassError: File to import not found or unreadable: ~@wordpress/editor/src/editor-styles.scss.
        on line 49 of [...]/standalone-block-editor/src/styles.scss
>>      @import "~@wordpress/editor/src/editor-styles.scss";

This file was deleted in WordPress/gutenberg#30034

Activity

  1. getdave commented on Oct 8, 2021

    @getdave
    Owner

    I can't say i've tried using yarn. Gutenberg also does not use yarn. Did you get to the bottom of this?

  2. davidnb3 commented on Dec 29, 2021

    @davidnb3

    I'm having the same problem using npm. It's trying to find an editor-styles-scss file but there is only a styles.scss file inside that folder...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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