Hey guys,
Im trying to add Solana Pay in my VueJS project. I tried a lot of things, but whenever I install @solana/pay its giving this error:
* @solana/web3.js in ./node_modules/@solana/buffer-layout-utils/lib/esm/web3.mjs, ./node_modules/@solana/pay/lib/esm/constants.mjs
To install it, you can run: npm install --save @solana/web3.js
@solana/web3.js is installed I tried running it without @solana/pay and it works really good, same with @solana/spl-token, but when I install Solana Pay, @solana/spl-token also gives an error that web3.js cannot be found. I'm pretty sure that's a problem with the library. I also tried removing yarn cache, yarn.lock and reinstalling all packages.
Hey guys, Im trying to add Solana Pay in my VueJS project. I tried a lot of things, but whenever I install @solana/pay its giving this error:
@solana/web3.js is installed I tried running it without @solana/pay and it works really good, same with @solana/spl-token, but when I install Solana Pay, @solana/spl-token also gives an error that web3.js cannot be found. I'm pretty sure that's a problem with the library. I also tried removing yarn cache, yarn.lock and reinstalling all packages.
package.json before @solana/pay installation: