Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

'motion' is not exported from '@shopify/polaris-tokens'

'motion' is not exported from '@shopify/polaris-tokens'

SabirHussain
New Member
6 0 0

I have upgraded @shopify/polaris to latest version (10.40.0) and run few migration scripts. my code is being compiled locally But while making build from production it gives following error
Attempted import error: 'motion' is not exported from '@shopify/polaris-tokens' (imported as 'motion').

 

This is internal error from Shopify/Polaris as I'm not using "@shopify/polaris-tokens" locally.

Could someone suggest anything to resolve this build error?

SabirHussain_0-1680245441787.png

@Shopify  

Sabir
Replies 0 (0)