plasma-umass / browsix

Browsix is a Unix-like operating system for the browser.
Other
3.15k stars 181 forks source link

Cannot build #75

Open rfestag opened 4 years ago

rfestag commented 4 years ago

When I follow the instructions to build and run browsix, I get the following error:

found 54 vulnerabilities (32 low, 7 moderate, 13 high, 2 critical)
  run `npm audit fix` to fix them, or `npm audit` for details
  TEST
fs.js:35
} = primordials;
    ^

ReferenceError: primordials is not defined
    at fs.js:35:5
   ...

I did do an npm audit fix --force, which got me to a different error

found 1 low severity vulnerability
  run `npm audit fix` to fix them, or `npm audit` for details
  TEST
assert.js:386
    throw err;
    ^

AssertionError [ERR_ASSERTION]: Task function must be specified

I'm not sure if this is a step forward or a step backward, but basically I can't seem to build and run browsix. Ideally, I'd actually just like to npm install browsix and have a set of instructions for creating my own apps. I started actually writing my own xterm.js that emulates bash, and am making some progress on that, but this seems like a more promising path to go

vedantroy commented 4 years ago

I encountered this error when trying to build Browsix. You can solve it by using an older version of node.

https://stackoverflow.com/questions/55921442/how-to-fix-referenceerror-primordials-is-not-defined-in-node