connect
connect copied to clipboard
Wallet `showConnect` not returning result
Hi guys, showConnect function from @stacks/connect is loading forever. It worked a few days ago but not anymore. Is anyone experiencing this issue? The spinner keeps spinning without returning any result. Someone should help me out.
See the screenshot here
https://media.discordapp.net/attachments/745197302255321108/984584139435016232/unknown.png
Any code or console errors to share? I may be having a similar issue, which I believe is related to the failure to define Buffer
for the browser - as done in the Hiro Angular tutorial here.
@Nsandomeno, I got no console error.
I had the same challenge with Buffer
not defined but I used craco
to solve the problem by providing webpack config in craco.config.js
file. See below.
I am using react
though.
const webpack = require("webpack");
module.exports = {
webpack: {
plugins: [
new webpack.ProvidePlugin({
process: "process/browser",
Buffer: ["buffer", "Buffer"],
}),
],
configure: {
resolve: {
fallback: {
"buffer": require.resolve("buffer/"),
}
}
}
}
}
This is the error from the wallet extension console
connect
was updated to remove these node types a while back -- should be working now