-
Notifications
You must be signed in to change notification settings - Fork 128
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
[governance-sdk] TypeError: (0 , superstruct_1.instance) is not a function #538
Comments
Seems to be an issue in webpack - and is reproducible using the
(Note that this is not reproducible when the same modifications are made to |
See the workaround https://discord.com/channels/910194960941338677/910566058740568094/959827068252741702 It depends on facebook/create-react-app#12021 |
Hey @SebastianBor. I am not in the discord directed by that link. Could you copy and paste the workaround for this issue? |
@SebastianBor Unable to load discord convo. Could you please write workaround here? |
setting GENERATE_SOURCEMAP=false due to facebook/create-react-app#11752 also using react-app-rewired due to facebook/create-react-app#12021 and solana-labs/oyster#538
* use spl-governance serializers * fix demo app setting GENERATE_SOURCEMAP=false due to facebook/create-react-app#11752 also using react-app-rewired due to facebook/create-react-app#12021 and solana-labs/oyster#538
Our sdk relies on
getGovernance
from@solana/spl-governance
. When the sdk is imported into our react project I am seeing an error thrown in console:which corresponds to the
PublicKeyFromString
export from bpfUpgradeableLoader.ts:Wanted to call this out and see if there was something that I may have missed
The text was updated successfully, but these errors were encountered: