F1ATB forum

Version complète : node.js won't start
Vous consultez actuellement la version basse qualité d’un document. Voir la version complète avec le bon formatage.
Hello to you, 

Thanks Andrè for your big job to develop the Remote SDR. 

I have had some strange problems with your raspi V5 Image.  So I decided to get the newest Raspian for my Raspberry4 and do a manual installation. 

But now I have the Problem that Node.js wont be start atached I have the error message:
Did somebody now what could be the problem, where can I start to search for a solution? 
Unfortunatly I'm not firm with npm and Node.js. 

Many thanks in advance for your help. 

---------------------------------------------------------------------------------------------
root@RasPi:/remsdr# node Radio_Server.js
node:fs:2368
    return binding.writeFileUtf8(
                  ^

Error: EINVAL: invalid argument, write
    at Object.writeFileSync (node:fs:2368:20)
    at exportGpio (/remsdr/node_modules/onoff/onoff.js:18:8)
    at new Gpio (/remsdr/node_modules/onoff/onoff.js:172:36)
    at Object.<anonymous> (/remsdr/remsdr_modules/CPU.js:26:15)
    at Module._compile (node:internal/modules/cjs/loader:1358:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
    at Module.load (node:internal/modules/cjs/loader:1208:32)
    at Module._load (node:internal/modules/cjs/loader:1024:12)
    at Module.require (node:internal/modules/cjs/loader:1233:19)
    at require (node:internal/modules/helpers:179:18) {
  errno: -22,
  code: 'EINVAL',
  syscall: 'write'
}

Node.js v20.16.0

____________________________________
Due to evolutions in the libraries, some are now incompatibles.
Sorry for that. You need to use the image.
73
André