question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Fluent UI v8.x import error with latest Snowpack

See original GitHub issue

Bug Report Quick Checklist

  • I am on the latest version of Snowpack & all plugins.
  • I use package manager npm.
  • I run Snowpack on OS Windows 10
  • I run Snowpack on Node.js v12+

Describe the bug

When creating a simple, blank Fluent UI app, using the latest Fluent version (8.x), the development build works just fine, but, at runtime, we get the following error: Unhandled Runtime Error Uncaught SyntaxError: The requested module '/_snowpack/pkg/@fluentui.date-time-utilities.lib.dateMath.dateMath.v8.0.2.js' does not provide an export named 'BaseExtendedPeoplePicker'

image

Everything is working fine on Snowpack 3.0.11. The People Picker component doesn’t have to be used at all in the code.

Thank you.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:4
  • Comments:9

github_iconTop GitHub Comments

1reaction
alexgorbatchevcommented, Jun 29, 2021

Seeing the same issue. On the browser site the error reads:

SyntaxError: The requested module '/_snowpack/pkg/@fluentui.date-time-utilities.lib.dateMath.dateMath.v8.2.0.js' does not provide an export named 'BaseExtendedPeoplePicker'
0reactions
alinflorincommented, Nov 29, 2021

having a similar issue, did anybody find a solution to this or should I also switch to Vite

I didn’t investigate this recently, I will do it tomorrow. Last I checked, 2 weeks ago, the error was still there.

Thank you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Bug]: · Issue #25975 · microsoft/fluentui - GitHub
IntrinsicElements'` import * as React from 'react' import { provideFluentDesignSystem, fluentDivider } from "@fluentui/web-components"; ...
Read more >
export error while bundling @fluentui/react with webpack
10.1 I was getting 1513 they were all same and something like this, instead of createElement there will be another react function like...
Read more >
Fluent UI 0.51.x TMP upgrade issues - HackMD
This document lists the current open issues that will need to be resolved for the upgrade PR. These issues might not be bugs...
Read more >
@fluentui/react - npm
Reusable React components for building web experiences.. Latest version: 8.104.1, last published: 6 days ago. Start using @fluentui/react in ...
Read more >
Fluent UI - Get started - Microsoft Developer
A collection of UX frameworks for creating beautiful, cross-platform apps that share code, design, and interaction behavior.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found