Comments (9)
I also have the issue with @solana/[email protected] when running next dev
. There are no compile errors
from wallet-adapter.
I was using [email protected]. Some dependencies in "@Particle-Network" were not installed... But I have other project with @solana/wallet-adapter-wallets and in this project I never had any problems and in node_modules the dependencies was installed successfully. So I tried updated vite, now [email protected]. The errors had to happen, but now, different...
To solve my issues I needed install nodePolyfills
and change my vite.config.ts
.
vite.config.ts
export default defineConfig({ optimizeDeps: { exclude: ["@particle-network"] }, build: { rollupOptions: { external: ["@particle-network/auth"] } }, define: { globalThis: "window" }, resolve: { alias: { process: "process/browser", util: "util" } }, plugins: [ react(), svgr({ include: "**/*.svg?react", exclude: "", svgrOptions: { // svgr options } }), nodePolyfills() ] });
In my case, I needed to remove this line from my project too:
window.Buffer = Buffer
from wallet-adapter.
i'm using [email protected], same issue.
from wallet-adapter.
Anyone know a quick way to get things building locally again? Just go back to an old version of the library before particle-network got added?
Edit: yeah ok looks like just going back to 0.19.24 fixed it
from wallet-adapter.
same issue, rolling back to 0.19.24 didn't helped for me.
from wallet-adapter.
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: false,
webpack: (config, { isServer }) => {
if (!isServer) {
config.externals.push("@particle-network/auth");
}
return config;
}
};
module.exports = nextConfig;
fixed for me(using next)
from wallet-adapter.
Sorry about the workarounds here. I'm pushing to get this fixed.
from wallet-adapter.
This should be fixed via #891
from wallet-adapter.
Released via #890.
Please update to the latest version of the @solana/wallet-adapter-wallets
(^0.19.26
) which includes an updated package for the Particle adapter, and try to install and build again.
Let me know if it works or doesn't!
from wallet-adapter.
Related Issues (20)
- Adding @solana/wallet-adapter-wallets causes build to FAIL on Windows platform only HOT 2
- WalletSendTransactionError: Transaction too large: 1261 > 1232 when using the latest wallet adapter HOT 2
- Fast support for existing wallet that supports Wallet Standard
- WalletConnectionError: Unexpected error at StandardWalletAdapter._StandardWalletAdapter_connect HOT 2
- TypeError: off is not a function - nextjs example crashes HOT 8
- I am getting hydration error for my next js project when using wallet adapters HOT 1
- Wallet Adapter For Solana Example doesn't work out of the box with create-react-app HOT 3
- Lists Ethereum chain blob
- Wallet (Phantom) does not connect for some users HOT 1
- Wallet (Phantom) does not connect for some users HOT 1
- Wallet adapter (Phantom) does not connect for some users HOT 1
- WalletSendTransactionError: failed to send transaction: Transaction simulation failed: Blockhash not found HOT 2
- Password is need for Nicehash verify to staratum server. For I add my own pool to nicehash and buy hashpower and mine to my own pool. Therefore stratum server must provide password for use nicehash .. Thank you
- Wallet adapter
- Create NextJS 14 version HOT 6
- Solana issue HOT 1
- Issue in updating values on switching between phantom accounts HOT 11
- WalletConnectButton disabled when deployed to production, but works in local development. HOT 1
- Update links from solana-labs.github.io/wallet-adapter to anza-xyz.github.io/wallet-adapter/ HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wallet-adapter.