ot-node icon indicating copy to clipboard operation
ot-node copied to clipboard

ERROR: Module initialization failed. Error message: network module is required but got error during initialization - Cannot find module 'protobufjs/minimal'

Open Valcyclovir opened this issue 4 months ago • 0 comments

Issue description

Node update 8.0.3+beta.19 returned error with autoupdate on

Expected behavior

Node auto updates and run without eror

Actual behavior

Node errors out and loops with error log below

Steps to reproduce the problem

  1. Run a working V8 testnet node before the 8.0.3+beta.19 update
  2. Wait for autoupdate to hit
  3. Error happens after autoupdate

Specifications

  • Node version: 8.0.3+beta.19
  • Platform: Ubuntu 22.04 LTS
  • Node wallet: 0x1B0dc0b1C1f5A5919F3917ca177BE4bBCdEfB7E1
  • Node libp2p identity: nodeId 20

Contact details

Error logs

ERROR: Module initialization failed. Error message: network module is required but got error during initialization - Cannot find module 'protobufjs/minimal' Require stack:

  • /root/ot-node/8.1.0+beta.12/node_modules/peer-id/node_modules/libp2p-crypto/src/keys/keys.js
  • /root/ot-node/8.1.0+beta.12/node_modules/peer-id/node_modules/libp2p-crypto/src/keys/index.js
  • /root/ot-node/8.1.0+beta.12/node_modules/peer-id/src/index.js

Fix

Manually run npm i on ~/ot-node/current/ folder

Disclaimer

Please be aware that the issue reported on a public repository allows everyone to see your node logs, node details, and contact details. If you have any sensitive information, feel free to share it by sending an email to [email protected].

Valcyclovir avatar Oct 22 '24 12:10 Valcyclovir