Failed to upgrade cloud9 because E_MISSING_END_MARKER

workspace

#1

Steps to reproduce:

  1. Open Cloud9
  2. be unable to use terminals because protocol version mismatch (client 8, server 7)
[vfs-collab] Couldn't load node modules sqlite3 and sequelize from /mnt/shared/lib/node_modules node version: v0.10.28; node execPath /nix/store/9vkhrpycs37cl5i8pywqkdz22773bybf-nodejs-0.10.38/bin/node

Cloud9 detected you are missing one or more collab dependencies. Would you like to open the installer to update to the latest version?

4 . Install any combination of the packages listed:

  • c9.ide.collab
  • SQLite
  • Sequelize
  • Collab server
    • Selecting only Collab server looks successful but prompts the same installation when reloading

5 . All of them except Collab server have the same error:

Installation Started

Package c9.ide.collab 1
-----------------------
Installing SQLite
module.js:327
    throw err;
    ^

Error: Cannot find module 'npmlog'
    at Function.Module._resolveFilename (module.js:325:15)
    at Function.Module._load (module.js:276:25)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at /mnt/shared/sbin/npm:18:11
    at Object.<anonymous> (/mnt/shared/sbin/npm:75:3)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)

Failed npm. Exit code E_MISSING_END_MARKER

One or more errors occured. Please try to resolve them and restart Cloud9 or contact support@c9.io.

6 . Catch an aneurysm because all progress has been halted due to a strange and unsolvable issue


Error: protocol version mismatch (client 8, server 7)
#2

Solution found:

  1. Download workspace
  2. delete workspace
  3. make new workspace
  4. thank whoever that we didn’t have a huge codebase yet