standalone-block-editor
standalone-block-editor copied to clipboard
editor-styles.scss fails to import
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 https://github.com/WordPress/gutenberg/pull/30034
I can't say i've tried using yarn. Gutenberg also does not use yarn. Did you get to the bottom of this?
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...