-
-
Notifications
You must be signed in to change notification settings - Fork 151
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
@fluentui/react now fails #48
Comments
i will fix it ASAP, thanks @FallingSnow |
fixed, please try again, thanks |
Great, thank you! @fluentui/react now loads. It seems style-utilities.development.js:709 Uncaught (in promise) SyntaxError: The requested module '../../utilities@8.0.3/deno/utilities.development.js' does not provide an export named 'IsFocusVisibleClassName'
async function (async)
bootstrap @ bootstrap.ts:18
(anonymous) @ main.js:3 It is exported: |
The following does work. $ npm install @fluentui/utilities
$ node
Welcome to Node.js v15.5.0.
Type ".help" for more information.
> require('@fluentui/utilities').IsFocusVisibleClassName
'ms-Fabric--isFocusVisible' |
Hmmm, seems to be a new error today: /* esm.sh - error */
throw new Error("[esm.sh] " + "bucket not found");
export default null; |
fixed, it is a bug by upgrading the postdb mod, sorry for that! |
No worries. The |
Ok so if we look at __export(lib_exports, {
...
IsFocusVisibleClassName: ()=>IsFocusVisibleClassName
...
} However if we look at the |
Also it does seem that esbuild does export this correctly. Install dependencies: $ yarn add esbuild react react-dom @fluentui/react Create app.ts: import * as out from "@fluentui/react";
console.log(out); Compile and run (node/browser preset): $ ./node_modules/.bin/esbuild app.ts --bundle --platform=node --outfile=out.js
$ node out.js
ms-Fabric--isFocusVisible
$ ./node_modules/.bin/esbuild app.ts --bundle --platform=browser --outfile=out.js
$ node out.js
ms-Fabric--isFocusVisible $ ./node_modules/.bin/esbuild app.ts --bundle --platform=browser --outfile=out.js --format=esm --minify-whitespace --minify-identifiers --minify-syntax --target=es2020
$ node out.js
ms-Fabric--isFocusVisible also works so it must be something having to do with |
@FallingSnow thanks for the details, i will look into it! |
fixed in |
https://esm.sh/@fluentui/react@8.9.0
Used to work but now displays this error.
The text was updated successfully, but these errors were encountered: