Skip to content
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

yarn dev or npm run dev doesn't do anything #1

Open
alexanderbkl opened this issue Jul 5, 2022 · 1 comment
Open

yarn dev or npm run dev doesn't do anything #1

alexanderbkl opened this issue Jul 5, 2022 · 1 comment

Comments

@alexanderbkl
Copy link

localhost:3000 is blank and no connection to it.

@alexanderbkl
Copy link
Author

Running yarn build prompts this error:

Build error occurred
TypeError: Cannot read properties of undefined (reading '_bn')
at isPublicKeyData (/home/alex/smartcontract/solana-blog/app/node_modules/@solana/web3.js/lib/index.cjs.js:1835:16)
at new PublicKey (/home/alex/smartcontract/solana-blog/app/node_modules/@solana/web3.js/lib/index.cjs.js:1853:9)
at translateAddress (/home/alex/smartcontract/solana-blog/app/node_modules/@project-serum/anchor/dist/cjs/program/common.js:47:63)
at AccountClient.getAccountInfo (/home/alex/smartcontract/solana-blog/app/node_modules/@project-serum/anchor/dist/cjs/program/namespace/account.js:230:96)
at AccountClient.fetchNullable (/home/alex/smartcontract/solana-blog/app/node_modules/@project-serum/anchor/dist/cjs/program/namespace/account.js:88:40)
at AccountClient.fetch (/home/alex/smartcontract/solana-blog/app/node_modules/@project-serum/anchor/dist/cjs/program/namespace/account.js:100:33)
at getAllPosts (/home/alex/smartcontract/solana-blog/app/.next/server/chunks/569.js:47:50)
at getStaticPaths (/home/alex/smartcontract/solana-blog/app/.next/server/pages/posts/[pid].js:177:91)
at buildStaticPaths (/home/alex/smartcontract/solana-blog/app/node_modules/next/dist/build/utils.js:491:37)
at /home/alex/smartcontract/solana-blog/app/node_modules/next/dist/build/utils.js:632:125 {
type: 'TypeError'
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant