fs/promises error

11 views
Skip to first unread message

chrisr...@googlemail.com

unread,
Jul 6, 2023, 11:43:04 AM7/6/23
to Signal K
I have just upgraded SignalK server to the latest version but now it wont start with the error below. Any suggestions on how to fix this please?

TIA

internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module 'fs/promises'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/usr/lib/node_modules/signalk-server/lib/serverstate/store.js:17:20)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)

Teppo Kurki

unread,
Jul 6, 2023, 12:20:00 PM7/6/23
to sig...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "Signal K" group.
To unsubscribe from this group and stop receiving emails from it, send an email to signalk+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/signalk/46b0dc68-6bc1-4678-bfdb-e776e0248d52n%40googlegroups.com.

chrisr...@googlemail.com

unread,
Jul 6, 2023, 1:24:26 PM7/6/23
to Signal K
Amazing, thanks. All sorted!
Reply all
Reply to author
Forward
0 new messages