sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

@microsoft/generator-sharepoint updated to @fluentui version 8 which does NOT use scss

Open BobFleischman opened this issue 3 years ago • 3 comments

[Enter feedback here] Generate a project today and throws the following error: [14:21:07] Error - sass - src\webparts\secondChance\components\SecondChance.module.scss(1,9): error Error: Can't find stylesheet to import. ╷ 1 │ @import '~@fluentui/react/dist/sass/References.scss'; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ src\webparts\secondChance\components\SecondChance.module.scss 1:9 root stylesheet

after a lot of trying things I found that @fluentui-react is now version 8, which does not use scss.

Used npm i @fluentui/[email protected] and now the project builds/


Document Details

⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

BobFleischman avatar May 02 '23 18:05 BobFleischman

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

ghost avatar May 02 '23 18:05 ghost

Dupe of #8939

AJIXuMuK avatar May 02 '23 18:05 AJIXuMuK

Closing this issue as a dupe. Please refer to our wiki for more details: Issue List Labels: status:duplicate

ghost avatar May 02 '23 18:05 ghost