ice icon indicating copy to clipboard operation
ice copied to clipboard

Webpack compile error when run "new Web3(ethereum)"

Open onlyLiru opened this issue 1 year ago • 2 comments

Describe the bug

When I introduce webjs and instantiate the object, the compilation will report an error

Expected behavior

compile normally

Actual behavior

import Web3 from 'web3';

cosnt ethereum = window.ethereum const web3 = new Web3(ethereum);

and then compile error

image

Version of ice.js

3.0.0

Content of build.json or ice.config.mts

No response

Additional context

No response

onlyLiru avatar Jun 25 '23 07:06 onlyLiru

Please take a look at this question, it is urgent, thank you

onlyLiru avatar Jun 25 '23 08:06 onlyLiru

Fixed in #6472

ClarkXia avatar Aug 18 '23 06:08 ClarkXia