Open hauchu1998 opened 1 year ago
Try changing moduleResolution in your tsconfig to 'node'
"compilerOptions": {
"moduleResolution": "node",
},
Same issue here. Why it is happening ? Anyway to solve it without changing moduleResolution config ?
Hey
I'm trying to upload images to IPFS through web3.storage pkg on my NextJS app. I install it with
yarn add web3.storage
, and I'm pretty sure that it exist in the node_modules. But, when I import it, it still showCannot find module 'web3.storage' or its corresponding type declarations.
. Anyone know how to fix?yarn: 1.22.19 node: 18.12.0 npm: 8.19.2 nextjs: v13
package.json