hedera-local-node icon indicating copy to clipboard operation
hedera-local-node copied to clipboard

`Error: spawn ENAMETOOLONG` during Network Prep State

Open georgi-l95 opened this issue 1 year ago • 0 comments

Description

Starting the local-node on windows results in the following error:

[Hedera-Local-Node] INFO (NetworkPrepState) Starting Network Preparation State...
node:internal/child_process:421
    throw errnoException(err, 'spawn');
    ^

Error: spawn ENAMETOOLONG
    at ChildProcess.spawn (node:internal/child_process:421:11)
    at spawn (node:child_process:761:9)
    at Object.execFile (node:child_process:351:17)
    at Object.exec (node:child_process:234:25)
    at Object.<anonymous> (C:\Users\glaza\Documents\Github\hedera-local-node\node_modules\shelljs\src\exec-child.js:19:22)
    at Module._compile (node:internal/modules/cjs/loader:1376:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
    at Module.load (node:internal/modules/cjs/loader:1207:32)
    at Module._load (node:internal/modules/cjs/loader:1023:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12) {
  errno: -4064,
  code: 'ENAMETOOLONG',
  syscall: 'spawn'
}

Node.js v20.11.0
[Hedera-Local-Node] INFO (NetworkPrepState) Imported fees successfully

This does not interfere with the node work.

Steps to reproduce

  1. Start local-node with npm run start -- -d

Additional context

No response

Hedera network

other

Version

latest

Operating system

Windows

georgi-l95 avatar Jan 18 '24 14:01 georgi-l95