microsoft / fluentui

Fluent UI web represents a collection of utilities, React components, and web components for building web applications.
https://react.fluentui.dev
Other
18.53k stars 2.74k forks source link

Module not found: Can't resolve '@uifabric/utilities/lib/inputMask' #4632

Closed kylefoley closed 6 years ago

kylefoley commented 6 years ago

Bug Report

Priorities and help requested (not applicable if asking question):

Are you willing to submit a PR to fix? No

Requested priority: Blocking

Describe the issue:

The file @uifabric/utilities/lib/inputMask is not in node_modules. Will not let my app start. Can't resolve '@uifabric/utilities/lib/inputMask' in 'x:\xxxx\xxxx\node_modules\office-ui-fabric-react\lib\components\TextField\MaskedTextField'

Actual behavior:

Crashed webapp

Expected behavior:

Webapp does not crash, file is present in uifabric/utilities/lib

jonathanhotono commented 6 years ago

Got the same issue here with spfx and same version. I had to downgrade the package into specific version before 5.85.0 to get this working..

wygoodin commented 6 years ago

Same issue here. Would it be an option for office fabric to depend on specific versions to avoid this happening again?

dzearing commented 6 years ago

Investigating what happened. Will resolve ASAP.

lambertwang-zz commented 6 years ago

A new build was just queued. Once that completes, a new version of @uifabric/utilities should be available which should have inputMask.ts

lambertwang-zz commented 6 years ago

We're having some issues publishing the new version of @uifabric/utilities, so the best option right now is to use office-ui-fabric-react@5.84.0.

lambertwang-zz commented 6 years ago

The package updates suceeded. Please use office-ui-fabric-react@5.86.0 and ensure that your version of @uifabric/utilities is at least 5.26.0.