iotaledger / IOTA-2.0-DevNet-wallet

GUI Wallet for use with the IOTA 2.0 DevNet
MIT License
38 stars 17 forks source link

Error: Cannot find module 'fs/promises' #42

Open reddevil1212 opened 2 years ago

reddevil1212 commented 2 years ago

Hi all,

i am new to this and set up a goshimmer node and now i am trying to set up a wallet. i am using ubuntu 20,04 lts a server and i downloaded the IOTA-2.o dev net wallet. i run the npm install and then the npm build and when i now run the "npm run package-win" i get some errors:

Error: Cannot find module 'fs/promises'

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! iota-devnet-wallet@0.7.0 package-win: electron-builder --win --x64 --publish=never npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the iota-devnet-wallet@0.7.0 package-win script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:

Any idea what i can do?

alexkoppelman commented 2 years ago

Same here, i did get an error on the required npm version on npm build initially, but it seemed to buid fine:

~/IOTA-2.0-DevNet-wallet$ npm install npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'iota-devnet-wallet@0.7.0', npm WARN EBADENGINE required: { node: '16.x.x' }, npm WARN EBADENGINE current: { node: 'v12.22.5', npm: '7.5.2' } npm WARN EBADENGINE }

updating node did the job:)