Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

editor-styles.scss fails to import #29

Open
rmccue opened this issue Apr 7, 2021 · 2 comments
Open

editor-styles.scss fails to import #29

rmccue opened this issue Apr 7, 2021 · 2 comments

Comments

@rmccue
Copy link

rmccue commented Apr 7, 2021

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

@getdave
Copy link
Owner

getdave commented Oct 8, 2021

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

@davidnb3
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants