This repository has been archived by the owner on Jan 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 129
[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? |
arielsegura
added a commit
to nation-io/solana-dao-sdk
that referenced
this issue
Oct 5, 2022
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
arielsegura
added a commit
to nation-io/solana-dao-sdk
that referenced
this issue
Oct 6, 2022
* 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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: