For see the error just install solana web3js and node-fetch on your next application
Description of bug
⚠ ./node_modules/@solana/web3.js/node_modules/node-fetch/lib/index.js
Module not found: Can't resolve 'encoding' in 'C:\Users\haatman\Documents\lottery2\dbq2lottery\node_modules\@solana\web3.js\node_modules\node-fetch\lib'
⚠ ./node_modules/@solana/web3.js/node_modules/node-fetch/lib/index.js
Module not found: Can't resolve 'encoding' in 'C:\Users\haatman\Documents\lottery2\dbq2lottery\node_modules\@solana\web3.js\node_modules\node-fetch\lib'
Import trace for requested module:
./node_modules/@solana/web3.js/node_modules/node-fetch/lib/index.js
./node_modules/@solana/web3.js/lib/index.cjs.js
I ty by advance for anyhelp i have really dont find any solution for that ty
Overview
Error in my next terminal.
Steps to reproduce
For see the error just install solana web3js and node-fetch on your next application
Description of bug
⚠ ./node_modules/@solana/web3.js/node_modules/node-fetch/lib/index.js Module not found: Can't resolve 'encoding' in 'C:\Users\haatman\Documents\lottery2\dbq2lottery\node_modules\@solana\web3.js\node_modules\node-fetch\lib'
⚠ ./node_modules/@solana/web3.js/node_modules/node-fetch/lib/index.js Module not found: Can't resolve 'encoding' in 'C:\Users\haatman\Documents\lottery2\dbq2lottery\node_modules\@solana\web3.js\node_modules\node-fetch\lib'
Import trace for requested module: ./node_modules/@solana/web3.js/node_modules/node-fetch/lib/index.js ./node_modules/@solana/web3.js/lib/index.cjs.js
I ty by advance for anyhelp i have really dont find any solution for that ty