Closed BrysonHall closed 1 year ago
I still have the same issue
To solve this issue you need to update the node_modules/@thirdweb-dev/react/node_modules/@thirdweb-dev/wallets/dist/thirdweb-dev-wallets.browser.esm.js
file and switch @safe-globalThis/safe-ethers-adapters
to @safe-global/safe-ethers-adapters'
. The reason for this is that is the package no longer supported. It has been migrated to @safe-global/safe-ethers-adapters.
After you have done this you need to update the vite.config.js:
import { defineConfig } from "vite";
export default defineConfig({
build: {
rollupOptions: {
external: ["@safe-globalThis/safe-ethers-adapters"],
},
},
});
Let me know if this solved the issue.
I tried the steps abov. This eventually solved my issue :)
When I tried to run
npm run build
I got this error:I have run:
npm i @gnosis.pm/safe-ethers-adapters
package.json :
vite.config.js: