browsix icon indicating copy to clipboard operation
browsix copied to clipboard

Cannot build

Open rfestag opened this issue 5 years ago • 1 comments
trafficstars

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

rfestag avatar Jan 23 '20 02:01 rfestag

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

vedantroy avatar Apr 18 '20 19:04 vedantroy