c9 / core

Cloud9 Core - Part of the Cloud9 SDK for Plugin Development https://c9.github.io/core/ https://c9.io
Other
2.56k stars 921 forks source link

C9 Sudden stop, #559

Open moppi79 opened 4 years ago

moppi79 commented 4 years ago

my C9 stopped working, with "failed to write to 'state.settings'. failed to retrieve resource from" while programming. C9 was Running on this maschine a couple of month´s now sudden die :(

After many Try´s to repair, i reinstall C9 ... many times ...

the error was not gone ... while c9 updating in the GUI, he was dying too.

File cached at /net/c9sdk/build/standalone/skin/default/dark.css
unable to initialize pty.js:
unable to initialize pty.js:
Unhandled worker error: Error: EDISCONNECT: Client disconnected?
    at module.exports.ReliableSocket.disconnect (/net/c9sdk/node_modules/kaefer/lib/reliable_socket.js:280:15)
    at Vfs.destroy (/net/c9sdk/plugins/c9.vfs.server/vfs.js:109:21)
    at EventEmitter.entry.destroy (/net/c9sdk/plugins/c9.vfs.server/cache.js:131:40)
    at Plugin.remove (/net/c9sdk/plugins/c9.vfs.server/cache.js:110:23)
    at /net/c9sdk/plugins/c9.vfs.server/vfs.server.js:254:15
    at processNext (/net/c9sdk/node_modules/frontdoor/lib/section.js:205:13)
    at /net/c9sdk/node_modules/frontdoor/lib/section.js:209:17
    at decodeParams (/net/c9sdk/node_modules/frontdoor/lib/route.js:262:9)
    at processNext (/net/c9sdk/node_modules/frontdoor/lib/section.js:205:13)
    at /net/c9sdk/node_modules/frontdoor/lib/section.js:209:17
cache /net/c9sdk/build/standalone/skin/default/dark.css
cache hit /net/c9sdk/build/standalone/skin/default/dark.css
unable to initialize pty.js:
unable to initialize pty.js:
unable to initialize pty.js:

i was checking the pty.js too

_root@~:/net/.c9# node -e "require('pty.js')"
internal/modules/cjs/loader.js:807
  return process.dlopen(module, path.toNamespacedPath(filename));
                 ^

Error: The module '/net/.c9/node_modules/pty.js/build/Release/pty.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 46. This version of Node.js requires
NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:807:18)
    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)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/net/.c9/node_modules/pty.js/lib/pty.js:9:11)
    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)