-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
Cannot access ambient const enums when the '--isolatedModules' flag is provided. #3341
Comments
when I set skipLibCheck into true, to ignore this error, other error occurred:
|
Please provide a repo link that can reproduce this issue. |
Hello @wellbeck190. Please provide a online reproduction by codesandbox or a minimal GitHub repository. Issues labeled by |
Reproductionhttps://github.com/wellbeck190/vite-react-typescript-fluentui yarn dev: everything is ok
|
This may relate with microsoft/fluentui#7110
I clone your repo and run |
@CHOYSEN I tried again with "skipLibCheck: true", it worked. |
Describe the bug
Error when build with @fluentui/react:
Reproduction
I create vite app with react and typescript option.
I install @fluentui/react, and just import and display PrimaryButton from it.
My app work in dev, but in bulild encounter error.
System Info
Output of
npx envinfo --system --npmPackages vite,@vitejs/plugin-vue --binaries --browsers
:Used package manager:
Logs
Before submitting the issue, please make sure you do the following
The text was updated successfully, but these errors were encountered: