Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

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

Open
reddevil1212 opened this issue Jan 4, 2022 · 1 comment
Open

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

reddevil1212 opened this issue Jan 4, 2022 · 1 comment

Comments

@reddevil1212
Copy link

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! [email protected] package-win: electron-builder --win --x64 --publish=never
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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
Copy link

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: '[email protected]',
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:)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants