Export SUBTREE_THEME_ATTRIBUTE doesn't exist in target module

I already posted this elsewhere (https://stackoverflow.com/questions/79867274/export-subtree-theme-attribute-doesnt-exist-in-target-module) but then also came across this community site.

There was a recent change/update to @atlaskitatlaskit/app-provider which is now causing an error looking for variable that is not available. Base on the info I’ve found, it seems that SUBTREE_THEME_ATTRIBUTE should have been behind the feature flag and only imported if TRUE.

I’m looking for a workaround or do I just wait for the next update?

Thanks

1 Like

I can confirm, I have the same issue. @atlaskit/app-provider v3.3.0 is looking for exports from @atlaskit/tokens that are not present in its latest version.

The latest @atlaskit/tokens@9.1.2 release fixed three of the four import errors. ButthemeStateDefaults still persists.

Recent release of @atlaskit/app-provider@3.3.1 resolved the issue. Thank you.