You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting this error while creating a new Program object:
Uncaught Error: Given address is not a PublicKey nor a string.
at an (common.ts:64)
at new e (index.ts:253)
at WorkspaceProvider.jsx:27
at Object.useMemo (react-dom.production.min.js:172)
at t.useMemo (react.production.min.js:23)
at N (WorkspaceProvider.jsx:23)
at oo (react-dom.production.min.js:157)
at Zu (react-dom.production.min.js:267)
at Is (react-dom.production.min.js:250)
at js (react-dom.production.min.js:250)
I am getting this strange issue only while running the build (with yarn build & serve -s build), though it is working fine locally (with yarn start)
Getting this error while creating a new Program object:
I am getting this strange issue only while running the build (with
yarn build
&serve -s build
), though it is working fine locally (withyarn start
)Here is the link to my repo:
https://github.com/alchemistgo87/solana-react-twitter
Here is the specific file in which I am creating the program object:
https://github.com/alchemistgo87/solana-react-twitter/blob/main/app/src/hooks/WorkspaceProvider.jsx
The text was updated successfully, but these errors were encountered: