I am trying to build SPFX(React Framework) with Fluent UI. I am not able import any Fluent UI components. VS code failed to build with error : Cannot find module '@fluentui/react' 
3 Answers
- I had this added already..but did not work.mzonerz– mzonerz2022-08-24 08:07:44 +00:00Commented Aug 24, 2022 at 8:07
Install "office-ui-fabric-react": "^6.189.2" and use 'office-ui-fabric-react" instead of '@fluentui/react'
- I need to use Fluent UI.mzonerz– mzonerz2022-08-24 08:09:37 +00:00Commented Aug 24, 2022 at 8:09
- Fabric ui is same as fluent ui but an older versionJeffin Jacob– Jeffin Jacob2022-08-25 09:02:43 +00:00Commented Aug 25, 2022 at 9:02
This is a limitation of SPFx v1.4.1. Solution generator referenced to older version of packages which not compatible with FluentUI (you have to use office-ui-fabric-core). Below definitive guide describes it well.
Definitive Guide:
https://www.voitanos.io/blog/definitive-guide-sharepoint-framework-sharepoint-server-2019/
Workaround to use FluentUI in SPFX 1.4.1:

npm i @fluentui/reactcommand before building the web part. Let us know if it works.