Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues building with Docker on Ubuntu 14.04 (@babel/code-frame ES6 issues, perhaps) #77

Open
dacodas opened this issue Jun 10, 2020 · 1 comment

Comments

@dacodas
Copy link

dacodas commented Jun 10, 2020

Hello, I really love the idea of this project. Given the latest commits being from over a year ago, I was curious to at least be able to build the project. I have been having some trouble.
I am curious what the supported build environment for this project might be, and if there isn't one, I would like to become involved in helping to make there be one.

I have spun up an Ubuntu 14 VM with the docker.io package installed

# lsb_release -a
Distributor ID:	Ubuntu
Description:	Ubuntu 14.04.6 LTS
Release:	14.04
Codename:	trusty

# docker --version
Docker version 1.6.2, build 7c8fca2

Attempting to run docker/build.sh fails, and I found it was necessary to patch the Dockerfile with the diff that follows.

Here is why:

  • I assumed that the build environment was Ubuntu 14 LTS since that is what the Dockerfile uses as its base. Installing the docker.io package there, however, doesn't give a docker that supports the use of SHELL in the Dockerfile. I figure my assumption must be wrong, and am curious what the build environment should have as a Docker version instead.
  • I had to wrap some of the RUN commands with bash -c to execute them because of the above issue
  • The Dockerfile runs as root, which causes npm to be worried. Because of this I have to pass the --unsafe-perms flag into one of the npm install commands. Was this issue not experienced previously?
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 2aa7f5b..ed4b491 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -1,6 +1,6 @@
 FROM ubuntu:14.04
 
-SHELL ["/bin/bash", "-c"]
+# SHELL ["/bin/bash", "-c"]
 ENV DEBIAN_FRONTEND noninteractive
 # ENV DEBIAN_FRONTEND newt
 ENV CLICOLOR=1
@@ -44,10 +44,10 @@ ENV NODE_VERSION v4.3.0
 ENV YARN_VERSION 0.17.8
 
 RUN wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.31.1/install.sh | /bin/bash
-RUN source $NVM_DIR/nvm.sh; \
+RUN bash -c 'source $NVM_DIR/nvm.sh; \
   nvm install $NODE_VERSION && \
   nvm alias default $NODE_VERSION && \
-  nvm use default
+  nvm use default'
 
 RUN apt-get install -qq -y \
   ca-certificates \
@@ -68,17 +68,17 @@ ENV GOPATH /go
 ENV GOROOT /usr/local/go
 ENV PATH /usr/local/go/bin:/go/bin:/usr/local/bin:$PATH
 
-RUN go get -u -x -v -a github.com/bpowers/browsix-gopherjs
+# RUN go get -u -x -v -a github.com/bpowers/browsix-gopherjs
 
 RUN \
-  source $NVM_DIR/nvm.sh; \
+  bash -c 'source $NVM_DIR/nvm.sh; \
   echo "nvm: " `nvm --version` && \
   echo "node: " `node --version` && \
   echo "npm: " `npm --version` && \
   npm install -g \
     gulp@"^3.9.1" \
     bower@"^1.7.9" \
-    source-map-support
+    source-map-support'
 
 RUN echo -e \
 '{'\
@@ -91,8 +91,8 @@ RUN echo -e \
 RUN cat $HOME/.bowerrc
 
 RUN \
-  source $NVM_DIR/nvm.sh; \
-  npm install -g \
+  bash -c 'source $NVM_DIR/nvm.sh; \
+  npm install --unsafe-perm=true -g \
     bfs-buffer@"^0.1.7" \
     bfs-path@"^0.1.2" \
     bower@"^1.7.9" \
@@ -136,15 +136,15 @@ RUN \
     vinyl-buffer@"^1.0.0" \
     vinyl-source-stream@"^1.1.0" \
     node-binary-marshal@"^0.4.2" \
-    term.js@"github:bpowers/term.js"
+    term.js@"github:bpowers/term.js"'
 
 RUN \
-  source $NVM_DIR/nvm.sh; \
+  bash -c 'source $NVM_DIR/nvm.sh; \
   npm install -g \
     tsd@"^0.6.5" \
     gulp-tslint@"^6.0.1" \
     gulp-imagemin@"^2.4.0" \
-    tslint@"^3.13.0"
+    tslint@"^3.13.0"'
 
 # RUN \
 #   source $NVM_DIR/nvm.sh; \

With this, the build fails as shown in the output below.

# docker run browsix:$GIT_REVISION /bin/bash -c 'source $NVM_DIR/nvm.sh ; make test-once'
  NPM bower
npm WARN deprecated bower@1.8.8: We don't recommend using Bower for new projects. Please consider Yarn and Webpack or Parcel. You can read how to migrate legacy project here: https://bower.io/blog/2017/how-to-migrate-away-from-bower/
bower@1.8.8 node_modules/bower
  BOWER
/root/browsix/node_modules/bower/lib/node_modules/bower-config/lib/util/rc.js:71
        throw error;
        ^

Error: Unable to parse /root/.bowerrc: Unexpected token e
    at parse (/root/browsix/node_modules/bower/lib/node_modules/bower-config/lib/util/rc.js:64:21)
    at json (/root/browsix/node_modules/bower/lib/node_modules/bower-config/lib/util/rc.js:84:16)
    at rc (/root/browsix/node_modules/bower/lib/node_modules/bower-config/lib/util/rc.js:32:26)
    at Config.load (/root/browsix/node_modules/bower/lib/node_modules/bower-config/lib/Config.js:16:20)
    at readCachedConfig (/root/browsix/node_modules/bower/lib/config.js:15:39)
    at defaultConfig (/root/browsix/node_modules/bower/lib/config.js:11:12)
    at Object.<anonymous> (/root/browsix/node_modules/bower/lib/index.js:16:32)
    at Module._compile (module.js:410:26)
    at Object.Module._extensions..js (module.js:417:10)
    at Module.load (module.js:344:32)
make: *** [bower_components] Error 1

This was fixable by chucking out the -e in the front of .bowerrc, but I am not sure what any of this means.

fixup.bash:

#!/bin/bash

source $NVM_DIR/nvm.sh

sed -ibak 's/^-e //g' ~/.bowerrc

make test-once
# docker run -i browsix:$GIT_REVISION /bin/bash < fixup.bash

But that failed with the following error. It appears that Typescript is using some Babel module to format code, and that uses some const { a, b } = c format that this version of Node doesn't know what to do with.

  NPM bower
npm WARN deprecated bower@1.8.8: We don't recommend using Bower for new projects. Please consider Yarn and Webpack or Parcel. You can read how to migrate legacy project here: https://bower.io/blog/2017/how-to-migrate-away-from-bower/
bower@1.8.8 node_modules/bower
  BOWER
  NPM
npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
WARN engine gulp-autoprefixer@4.1.0: wanted: {"node":">=4.5"} (current: {"node":"4.3.0","npm":"2.14.12"})
WARN engine merge2@1.4.1: wanted: {"node":">= 8"} (current: {"node":"4.3.0","npm":"2.14.12"})
WARN engine browser-sync@2.26.7: wanted: {"node":">= 6.0.0"} (current: {"node":"4.3.0","npm":"2.14.12"})
WARN engine tslint@5.20.1: wanted: {"node":">=4.8.0"} (current: {"node":"4.3.0","npm":"2.14.12"})
npm WARN deprecated gulp-util@2.2.20: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
WARN engine temp@0.8.4: wanted: {"node":">=6.0.0"} (current: {"node":"4.3.0","npm":"2.14.12"})
WARN engine is-wsl@2.2.0: wanted: {"node":">=8"} (current: {"node":"4.3.0","npm":"2.14.12"})
npm WARN deprecated graceful-fs@2.0.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
WARN engine is-docker@2.0.0: wanted: {"node":">=8"} (current: {"node":"4.3.0","npm":"2.14.12"})
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated natives@1.1.6: This module relies on Node.js's internals and will break at some point. Do not use it, and update to graceful-fs@4.x.
npm WARN deprecated mkdirp@0.5.1: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated json3@3.3.2: Please use the native JSON object instead of JSON 3
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
WARN engine atob@2.1.2: wanted: {"node":">= 4.5.0"} (current: {"node":"4.3.0","npm":"2.14.12"})
npm WARN deprecated to-iso-string@0.0.2: to-iso-string has been deprecated, use @segment/to-iso-string instead.
npm WARN deprecated jade@0.26.3: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated chokidar@1.7.0: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated browserslist@2.11.3: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
WARN engine http-proxy@1.18.1: wanted: {"node":">=8.0.0"} (current: {"node":"4.3.0","npm":"2.14.12"})
WARN engine atob@2.1.2: wanted: {"node":">= 4.5.0"} (current: {"node":"4.3.0","npm":"2.14.12"})
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm WARN optional dep failed, continuing fsevents@1.2.13
npm WARN deprecated mkdirp@0.3.0: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN optional dep failed, continuing fsevents@1.2.13
WARN engine atob@2.1.2: wanted: {"node":">= 4.5.0"} (current: {"node":"4.3.0","npm":"2.14.12"})
WARN engine atob@2.1.2: wanted: {"node":">= 4.5.0"} (current: {"node":"4.3.0","npm":"2.14.12"})
WARN engine atob@2.1.2: wanted: {"node":">= 4.5.0"} (current: {"node":"4.3.0","npm":"2.14.12"})
npm WARN cannot run in wd gifsicle@3.0.4 node lib/install.js (wd=/root/browsix/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle)

> optipng-bin@3.1.4 postinstall /root/browsix/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin
> node lib/install.js

  ✔ optipng pre-build test passed successfully

> jpegtran-bin@3.2.0 postinstall /root/browsix/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin
> node lib/install.js

  ✔ jpegtran pre-build test passed successfully
WARN engine readable-stream@3.6.0: wanted: {"node":">= 6"} (current: {"node":"4.3.0","npm":"2.14.12"})
WARN engine readable-stream@3.6.0: wanted: {"node":">= 6"} (current: {"node":"4.3.0","npm":"2.14.12"})
WARN engine readable-stream@3.6.0: wanted: {"node":">= 6"} (current: {"node":"4.3.0","npm":"2.14.12"})
WARN engine readable-stream@3.6.0: wanted: {"node":">= 6"} (current: {"node":"4.3.0","npm":"2.14.12"})
WARN engine readable-stream@3.6.0: wanted: {"node":">= 6"} (current: {"node":"4.3.0","npm":"2.14.12"})
WARN engine readable-stream@3.6.0: wanted: {"node":">= 6"} (current: {"node":"4.3.0","npm":"2.14.12"})
WARN engine readable-stream@3.6.0: wanted: {"node":">= 6"} (current: {"node":"4.3.0","npm":"2.14.12"})

> core-js@2.6.11 postinstall /root/browsix/node_modules/karma/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"


> core-js@2.6.11 postinstall /root/browsix/node_modules/gulp-vulcanize/node_modules/vulcanize/node_modules/hydrolysis/node_modules/babel-polyfill/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

child_process@1.0.2 node_modules/child_process

gulp-rename@1.4.0 node_modules/gulp-rename

gulp-changed@1.3.2 node_modules/gulp-changed

@types/mocha@2.2.48 node_modules/@types/mocha

merge2@1.4.1 node_modules/merge2

@types/dropboxjs@0.0.29 node_modules/@types/dropboxjs

@types/chai@4.2.11 node_modules/@types/chai

connect-history-api-fallback@1.6.0 node_modules/connect-history-api-fallback

karma-chai@0.1.0 node_modules/karma-chai

bfs-path@0.1.2 node_modules/bfs-path

term.js@0.0.7 node_modules/term.js

node-binary-marshal@0.4.2 node_modules/node-binary-marshal

@types/filesystem@0.0.28 node_modules/@types/filesystem
└── @types/filewriter@0.0.28

bfs-buffer@0.1.7 node_modules/bfs-buffer

gulp-chmod@1.3.0 node_modules/gulp-chmod
├── stat-mode@0.2.2
└── deep-assign@1.0.0 (is-obj@1.0.1)

vinyl-source-stream@1.1.2 node_modules/vinyl-source-stream
└── vinyl@0.4.6 (clone-stats@0.0.1, clone@0.2.0)

karma-mocha@1.3.0 node_modules/karma-mocha
└── minimist@1.2.0

karma-firefox-launcher@1.3.0 node_modules/karma-firefox-launcher
└── is-wsl@2.2.0 (is-docker@2.0.0)

karma-chrome-launcher@2.2.0 node_modules/karma-chrome-launcher
├── fs-access@1.0.1 (null-check@1.0.0)
└── which@1.3.1 (isexe@2.0.0)

gulp-size@2.1.0 node_modules/gulp-size
├── object-assign@4.1.1
├── stream-counter@1.0.0
├── pretty-bytes@3.0.1 (number-is-nan@1.0.1)
├── gzip-size@3.0.0 (duplexer@0.1.1)
└── chalk@1.1.3 (escape-string-regexp@1.0.5, supports-color@2.0.0, ansi-styles@2.2.1, strip-ansi@3.0.1, has-ansi@2.0.0)

gulp-run@1.7.1 node_modules/gulp-run
├── lodash.defaults@4.2.0
├── lodash.template@4.5.0 (lodash._reinterpolate@3.0.0, lodash.templatesettings@4.2.0)
└── vinyl@0.4.6 (clone-stats@0.0.1, clone@0.2.0)

through2@2.0.5 node_modules/through2
├── xtend@4.0.2
└── readable-stream@2.3.7 (process-nextick-args@2.0.1, inherits@2.0.4, string_decoder@1.1.1, safe-buffer@5.1.2, util-deprecate@1.0.2, core-util-is@1.0.2, isarray@1.0.0)

chai@4.2.0 node_modules/chai
├── assertion-error@1.1.0
├── check-error@1.0.2
├── type-detect@4.0.8
├── get-func-name@2.0.0
├── deep-eql@3.0.1
└── pathval@1.1.0

vinyl-buffer@1.0.1 node_modules/vinyl-buffer
└── bl@1.2.2 (safe-buffer@5.2.1, readable-stream@2.3.7)

gulp-tslint@8.1.4 node_modules/gulp-tslint
├── @types/fancy-log@1.3.0
├── map-stream@0.0.7
├── through@2.3.8
├── ansi-colors@1.1.0 (ansi-wrap@0.1.0)
├── fancy-log@1.3.3 (parse-node-version@1.0.1, time-stamp@1.1.0, color-support@1.1.3, ansi-gray@0.1.1)
└── plugin-error@1.0.1 (arr-union@3.1.0, arr-diff@4.0.0, extend-shallow@3.0.2)

del@3.0.0 node_modules/del
├── is-path-cwd@1.0.0
├── p-map@1.2.0
├── pify@3.0.0
├── is-path-in-cwd@1.0.1 (is-path-inside@1.0.1)
├── globby@6.1.0 (object-assign@4.1.1, pify@2.3.0, array-union@1.0.2, pinkie-promise@2.0.1, glob@7.1.6)
└── rimraf@2.7.1 (glob@7.1.6)

gulp-util@3.0.8 node_modules/gulp-util
├── array-differ@1.0.0
├── object-assign@3.0.0
├── array-uniq@1.0.3
├── beeper@1.1.1
├── lodash._reevaluate@3.0.0
├── lodash._reescape@3.0.0
├── lodash._reinterpolate@3.0.0
├── replace-ext@0.0.1
├── dateformat@2.2.0
├── has-gulplog@0.1.0 (sparkles@1.0.1)
├── minimist@1.2.5
├── vinyl@0.5.3 (clone-stats@0.0.1, clone@1.0.4)
├── chalk@1.1.3 (escape-string-regexp@1.0.5, supports-color@2.0.0, ansi-styles@2.2.1, has-ansi@2.0.0, strip-ansi@3.0.1)
├── fancy-log@1.3.3 (parse-node-version@1.0.1, time-stamp@1.1.0, color-support@1.1.3, ansi-gray@0.1.1)
├── gulplog@1.0.0 (glogg@1.0.2)
├── lodash.template@3.6.2 (lodash._basevalues@3.0.0, lodash._basetostring@3.0.1, lodash._basecopy@3.0.1, lodash.restparam@3.6.1, lodash._isiterateecall@3.0.9, lodash.templatesettings@3.1.1, lodash.escape@3.2.0, lodash.keys@3.1.2)
└── multipipe@0.1.2 (duplexer2@0.0.2)

gulp-replace@0.6.1 node_modules/gulp-replace
├── replacestream@4.0.3 (escape-string-regexp@1.0.5, object-assign@4.1.1)
├── istextorbinary@1.0.2 (binaryextensions@1.0.1, textextensions@1.0.2)
└── readable-stream@2.3.7 (process-nextick-args@2.0.1, inherits@2.0.4, string_decoder@1.1.1, safe-buffer@5.1.2, util-deprecate@1.0.2, core-util-is@1.0.2, isarray@1.0.0)

gulp-cache@0.4.6 node_modules/gulp-cache
├── object-assign@4.1.1
├── try-json-parse@0.1.1
├── object.pick@1.3.0 (isobject@3.0.1)
├── vinyl@1.2.0 (clone-stats@0.0.1, clone@1.0.4, replace-ext@0.0.1)
├── object.omit@2.0.1 (is-extendable@0.1.1, for-own@0.1.5)
├── readable-stream@2.3.7 (process-nextick-args@2.0.1, inherits@2.0.4, string_decoder@1.1.1, safe-buffer@5.1.2, util-deprecate@1.0.2, core-util-is@1.0.2, isarray@1.0.0)
├── bluebird@3.7.2
└── cache-swap@0.3.0 (graceful-fs@4.2.4, mkdirp@0.5.5, rimraf@2.7.1)

express@4.17.1 node_modules/express
├── safe-buffer@5.1.2
├── escape-html@1.0.3
├── array-flatten@1.1.1
├── utils-merge@1.0.1
├── cookie-signature@1.0.6
├── merge-descriptors@1.0.1
├── methods@1.1.2
├── content-type@1.0.4
├── encodeurl@1.0.2
├── fresh@0.5.2
├── etag@1.8.1
├── parseurl@1.3.3
├── range-parser@1.2.1
├── serve-static@1.14.1
├── content-disposition@0.5.3
├── cookie@0.4.0
├── path-to-regexp@0.1.7
├── vary@1.1.2
├── setprototypeof@1.1.1
├── statuses@1.5.0
├── depd@1.1.2
├── qs@6.7.0
├── on-finished@2.3.0 (ee-first@1.1.1)
├── finalhandler@1.1.2 (unpipe@1.0.0)
├── proxy-addr@2.0.6 (forwarded@0.1.2, ipaddr.js@1.9.1)
├── debug@2.6.9 (ms@2.0.0)
├── send@0.17.1 (ms@2.1.1, destroy@1.0.4, mime@1.6.0, http-errors@1.7.3)
├── accepts@1.3.7 (negotiator@0.6.2, mime-types@2.1.27)
├── type-is@1.6.18 (media-typer@0.3.0, mime-types@2.1.27)
└── body-parser@1.19.0 (bytes@3.1.0, raw-body@2.4.0, http-errors@1.7.2, iconv-lite@0.4.24)

gulp-if@2.0.2 node_modules/gulp-if
├── gulp-match@1.1.0 (minimatch@3.0.4)
└── ternary-stream@2.1.1 (fork-stream@0.0.4, merge-stream@1.0.1, duplexify@3.7.1)

mocha@3.5.3 node_modules/mocha
├── escape-string-regexp@1.0.5
├── browser-stdout@1.3.0
├── growl@1.9.2
├── json3@3.3.2
├── he@1.1.1
├── supports-color@3.1.2 (has-flag@1.0.0)
├── commander@2.9.0 (graceful-readlink@1.0.1)
├── diff@3.2.0
├── debug@2.6.8 (ms@2.0.0)
├── mkdirp@0.5.1 (minimist@0.0.8)
├── lodash.create@3.1.1 (lodash._isiterateecall@3.0.9, lodash._basecreate@3.0.3, lodash._baseassign@3.2.0)
└── glob@7.1.1 (path-is-absolute@1.0.1, inherits@2.0.4, fs.realpath@1.0.0, once@1.4.0, inflight@1.0.6, minimatch@3.0.4)

gulp-load-plugins@1.6.0 node_modules/gulp-load-plugins
├── array-unique@0.2.1
├── has-gulplog@0.1.0 (sparkles@1.0.1)
├── fancy-log@1.3.3 (parse-node-version@1.0.1, time-stamp@1.1.0, color-support@1.1.3, ansi-gray@0.1.1)
├── gulplog@1.0.0 (glogg@1.0.2)
├── findup-sync@3.0.0 (detect-file@1.0.0, is-glob@4.0.1, resolve-dir@1.0.1)
├── resolve@1.17.0 (path-parse@1.0.6)
└── micromatch@3.1.10 (arr-diff@4.0.0, array-unique@0.3.2, kind-of@6.0.3, object.pick@1.3.0, fragment-cache@0.2.1, nanomatch@1.2.13, define-property@2.0.2, to-regex@3.0.2, regex-not@1.0.2, extend-shallow@3.0.2, braces@2.3.2, extglob@2.0.4, snapdragon@0.8.2)

gulp-useref@3.1.6 node_modules/gulp-useref
├── extend@3.0.2
├── useref@1.4.3
├── is-relative-url@1.0.0 (is-absolute-url@1.0.0)
├── event-stream@4.0.1 (pause-stream@0.0.11, duplexer@0.1.1, map-stream@0.0.7, stream-combiner@0.2.2, from@0.1.7, through@2.3.8, split@1.0.1)
├── glob@7.1.6 (inherits@2.0.4, path-is-absolute@1.0.1, fs.realpath@1.0.0, once@1.4.0, inflight@1.0.6, minimatch@3.0.4)
├── plugin-error@1.0.1 (arr-diff@4.0.0, arr-union@3.1.0, ansi-colors@1.1.0, extend-shallow@3.0.2)
├── gulp-concat@2.6.1 (concat-with-sourcemaps@1.1.0, vinyl@2.2.0)
└── vinyl-fs@3.0.3 (is-valid-glob@1.0.0, value-or-function@3.0.0, resolve-options@1.1.0, to-through@2.0.0, fs-mkdirp-stream@1.0.0, graceful-fs@4.2.4, lazystream@1.0.0, remove-bom-stream@1.2.0, remove-bom-buffer@3.0.0, vinyl@2.2.0, lead@1.0.0, readable-stream@2.3.7, object.assign@4.1.0, vinyl-sourcemap@1.1.0, pumpify@1.5.1, glob-stream@6.1.0)

gulp-mocha@2.2.0 node_modules/gulp-mocha
├── resolve-from@1.0.1
├── through@2.3.8
├── plur@2.1.2 (irregular-plurals@1.4.0)
├── temp@0.8.4 (rimraf@2.6.3)
└── mocha@2.5.3 (escape-string-regexp@1.0.2, commander@2.3.0, diff@1.4.0, growl@1.9.2, supports-color@1.2.0, to-iso-string@0.0.2, debug@2.2.0, mkdirp@0.5.1, glob@3.2.11, jade@0.26.3)

gulp-typescript@3.2.4 node_modules/gulp-typescript
├── source-map@0.5.7
└── vinyl-fs@2.4.4 (merge-stream@1.0.1, object-assign@4.1.1, is-valid-glob@0.3.0, vali-date@1.0.0, lodash.isequal@4.5.0, graceful-fs@4.2.4, lazystream@1.0.0, strip-bom-stream@1.0.0, strip-bom@2.0.0, through2-filter@2.0.0, vinyl@1.2.0, mkdirp@0.5.5, gulp-sourcemaps@1.6.0, readable-stream@2.3.7, duplexify@3.7.1, glob-stream@5.3.5)

gulp@3.9.1 node_modules/gulp
├── pretty-hrtime@1.0.3
├── interpret@1.4.0
├── deprecated@0.0.1
├── archy@1.0.0
├── tildify@1.2.0 (os-homedir@1.0.2)
├── minimist@1.2.5
├── v8flags@2.1.1 (user-home@1.1.1)
├── semver@4.3.6
├── chalk@1.1.3 (escape-string-regexp@1.0.5, ansi-styles@2.2.1, supports-color@2.0.0, has-ansi@2.0.0, strip-ansi@3.0.1)
├── orchestrator@0.3.8 (stream-consume@0.1.1, sequencify@0.0.7, end-of-stream@0.1.5)
├── vinyl-fs@0.3.14 (mkdirp@0.5.5, strip-bom@1.0.0, defaults@1.0.3, vinyl@0.4.6, graceful-fs@3.0.12, through2@0.6.5, glob-stream@3.1.18, glob-watcher@0.0.6)
└── liftoff@2.5.0 (flagged-respawn@1.0.1, rechoir@0.6.2, extend@3.0.2, is-plain-object@2.0.4, object.map@1.0.1, fined@1.2.0, resolve@1.17.0, findup-sync@2.0.0)

browserfs-browsix-tmp@0.5.15 node_modules/browserfs-browsix-tmp
├── async@1.5.2
└── pako@1.0.11

gulp-cssmin@0.2.0 node_modules/gulp-cssmin
├── filesize@2.0.4
├── graceful-fs@4.1.15
├── map-stream@0.0.4
├── gulp-rename@1.1.0
├── temp-write@0.1.1 (graceful-fs@2.0.3, tempfile@0.1.3)
├── clean-css@3.4.28 (commander@2.8.1, source-map@0.4.4)
└── gulp-util@2.2.20 (lodash._reinterpolate@2.4.1, minimist@0.2.1, vinyl@0.2.3, chalk@0.5.1, through2@0.5.1, lodash.template@2.4.1, multipipe@0.1.2, dateformat@1.0.12)

gulp-copy@0.0.2 node_modules/gulp-copy
├── through@2.3.4
└── gulp-util@2.2.20 (lodash._reinterpolate@2.4.1, minimist@0.2.1, vinyl@0.2.3, chalk@0.5.1, through2@0.5.1, lodash.template@2.4.1, multipipe@0.1.2, dateformat@1.0.12)

gulp-imagemin@2.4.0 node_modules/gulp-imagemin
├── through2-concurrent@1.1.1
├── object-assign@4.1.1
├── plur@2.1.2 (irregular-plurals@1.4.0)
├── chalk@1.1.3 (escape-string-regexp@1.0.5, supports-color@2.0.0, ansi-styles@2.2.1, has-ansi@2.0.0, strip-ansi@3.0.1)
├── pretty-bytes@2.0.1 (get-stdin@4.0.1, number-is-nan@1.0.1, meow@3.7.0)
└── imagemin@4.0.0 (optional@0.1.4, stream-combiner2@1.1.1, concat-stream@1.6.2, readable-stream@2.3.7, buffer-to-vinyl@1.1.0, vinyl-fs@2.4.4, imagemin-svgo@4.2.1, imagemin-gifsicle@4.2.0, imagemin-optipng@4.3.0, imagemin-jpegtran@4.3.2)

typescript@2.9.2 node_modules/typescript

tslint@5.20.1 node_modules/tslint
├── commander@2.20.3
├── builtin-modules@1.1.1
├── semver@5.7.1
├── tslib@1.13.0
├── diff@4.0.2
├── minimatch@3.0.4 (brace-expansion@1.1.11)
├── mkdirp@0.5.5 (minimist@1.2.5)
├── glob@7.1.6 (path-is-absolute@1.0.1, inherits@2.0.4, fs.realpath@1.0.0, inflight@1.0.6, once@1.4.0)
├── tsutils@2.29.0
├── @babel/code-frame@7.10.1 (@babel/highlight@7.10.1)
├── chalk@2.4.2 (escape-string-regexp@1.0.5, supports-color@5.5.0, ansi-styles@3.2.1)
├── resolve@1.17.0 (path-parse@1.0.6)
└── js-yaml@3.14.0 (esprima@4.0.1, argparse@1.0.10)

browserify@13.3.0 node_modules/browserify
├── duplexer2@0.1.4
├── string_decoder@0.10.31
├── inherits@2.0.4
├── https-browserify@0.0.1
├── tty-browserify@0.0.1
├── punycode@1.4.1
├── constants-browserify@1.0.0
├── path-browserify@0.0.1
├── xtend@4.0.2
├── os-browserify@0.1.2
├── htmlescape@1.1.1
├── stream-browserify@2.0.2
├── cached-path-relative@1.0.2
├── process@0.11.10
├── defined@1.0.0
├── domain-browser@1.1.7
├── read-only-stream@2.0.0
├── console-browserify@1.2.0
├── querystring-es3@0.2.1
├── timers-browserify@1.4.2
├── shell-quote@1.7.2
├── util@0.10.4 (inherits@2.0.3)
├── events@1.1.1
├── vm-browserify@0.0.4 (indexof@0.0.1)
├── has@1.0.3 (function-bind@1.1.1)
├── parents@1.0.1 (path-platform@0.11.15)
├── url@0.11.0 (punycode@1.3.2, querystring@0.2.0)
├── subarg@1.0.0 (minimist@1.2.5)
├── readable-stream@2.3.7 (process-nextick-args@2.0.1, string_decoder@1.1.1, safe-buffer@5.1.2, util-deprecate@1.0.2, core-util-is@1.0.2, isarray@1.0.0)
├── labeled-stream-splicer@2.0.2 (stream-splicer@2.0.1)
├── glob@7.1.6 (path-is-absolute@1.0.1, fs.realpath@1.0.0, inflight@1.0.6, once@1.4.0, minimatch@3.0.4)
├── stream-http@2.8.3 (builtin-status-codes@3.0.0, to-arraybuffer@1.0.1)
├── concat-stream@1.5.2 (typedarray@0.0.6, readable-stream@2.0.6)
├── assert@1.5.0 (object-assign@4.1.1, util@0.10.3)
├── shasum@1.0.2 (sha.js@2.4.11, json-stable-stringify@0.0.1)
├── buffer@4.9.2 (ieee754@1.1.13, base64-js@1.3.1, isarray@1.0.0)
├── deps-sort@2.0.1 (shasum-object@1.0.0)
├── JSONStream@1.3.5 (through@2.3.8, jsonparse@1.3.1)
├── browserify-zlib@0.1.4 (pako@0.2.9)
├── browser-resolve@1.11.3 (resolve@1.1.7)
├── browser-pack@6.1.0 (safe-buffer@5.2.1, umd@3.0.3, combine-source-map@0.8.0)
├── syntax-error@1.4.0 (acorn-node@1.8.2)
├── resolve@1.17.0 (path-parse@1.0.6)
├── insert-module-globals@7.2.0 (path-is-absolute@1.0.1, is-buffer@1.1.6, concat-stream@1.6.2, undeclared-identifiers@1.1.3, combine-source-map@0.8.0, acorn-node@1.8.2)
├── crypto-browserify@3.12.0 (randomfill@1.0.4, randombytes@2.1.0, diffie-hellman@5.0.3, create-ecdh@4.0.3, create-hmac@1.1.7, pbkdf2@3.1.1, create-hash@1.2.0, browserify-sign@4.2.0, browserify-cipher@1.0.1, public-encrypt@4.0.3)
└── module-deps@4.1.1 (stream-combiner2@1.1.1, detective@4.7.1)

gulp-autoprefixer@4.1.0 node_modules/gulp-autoprefixer
├── fancy-log@1.3.3 (parse-node-version@1.0.1, time-stamp@1.1.0, color-support@1.1.3, ansi-gray@0.1.1)
├── vinyl-sourcemaps-apply@0.2.1 (source-map@0.5.7)
├── plugin-error@0.1.2 (arr-union@2.1.0, ansi-cyan@0.1.1, ansi-red@0.1.1, extend-shallow@1.1.4, arr-diff@1.1.0)
├── postcss@6.0.23 (supports-color@5.5.0, source-map@0.6.1, chalk@2.4.2)
└── autoprefixer@7.2.6 (normalize-range@0.1.2, num2fraction@1.2.2, postcss-value-parser@3.3.1, browserslist@2.11.3, caniuse-lite@1.0.30001081)

gulp-minify-html@1.0.6 node_modules/gulp-minify-html
├── through2@0.6.5 (xtend@4.0.2, readable-stream@1.0.34)
└── minimize@1.8.1 (emits@3.0.0, argh@0.1.4, async@1.5.2, node-uuid@1.4.8, diagnostics@1.0.1, htmlparser2@3.9.2, cli-color@1.1.0)

karma@1.7.1 node_modules/karma
├── range-parser@1.2.1
├── safe-buffer@5.2.1
├── rimraf@2.7.1
├── graceful-fs@4.2.4
├── di@0.0.1
├── mime@1.6.0
├── qjobs@1.2.0
├── tmp@0.0.31 (os-tmpdir@1.0.2)
├── colors@1.4.0
├── source-map@0.5.7
├── minimatch@3.0.4 (brace-expansion@1.1.11)
├── glob@7.1.6 (path-is-absolute@1.0.1, inherits@2.0.4, fs.realpath@1.0.0, inflight@1.0.6, once@1.4.0)
├── dom-serialize@2.2.1 (extend@3.0.2, void-elements@2.0.1, custom-event@1.0.1, ent@2.2.0)
├── isbinaryfile@3.0.3 (buffer-alloc@1.2.0)
├── bluebird@3.7.2
├── useragent@2.3.0 (lru-cache@4.1.5)
├── connect@3.7.0 (utils-merge@1.0.1, parseurl@1.3.3, debug@2.6.9, finalhandler@1.1.2)
├── optimist@0.6.1 (wordwrap@0.0.3, minimist@0.0.10)
├── body-parser@1.19.0 (content-type@1.0.4, bytes@3.1.0, depd@1.1.2, qs@6.7.0, on-finished@2.3.0, raw-body@2.4.0, http-errors@1.7.2, debug@2.6.9, type-is@1.6.18, iconv-lite@0.4.24)
├── http-proxy@1.18.1 (requires-port@1.0.0, eventemitter3@4.0.4, follow-redirects@1.11.0)
├── expand-braces@0.1.2 (array-unique@0.2.1, array-slice@0.2.3, braces@0.1.5)
├── log4js@0.6.38 (semver@4.3.6, readable-stream@1.0.34)
├── socket.io@1.7.3 (object-assign@4.1.0, socket.io-adapter@0.5.0, has-binary@0.1.7, debug@2.3.3, socket.io-parser@2.3.1, engine.io@1.8.3, socket.io-client@1.7.3)
├── chokidar@1.7.0 (path-is-absolute@1.0.1, async-each@1.0.3, inherits@2.0.4, glob-parent@2.0.0, is-glob@2.0.1, is-binary-path@1.0.1, anymatch@1.3.2, readdirp@2.2.1)
├── lodash@3.10.1
├── combine-lists@1.0.1 (lodash@4.17.15)
└── core-js@2.6.11

gulp-vulcanize@6.1.0 node_modules/gulp-vulcanize
└── vulcanize@1.16.0 (path-posix@1.0.0, nopt@3.0.6, es6-promise@2.3.0, dom5@1.3.6, hydrolysis@1.25.0)

browser-sync@2.26.7 node_modules/browser-sync
├── fresh@0.5.2
├── etag@1.8.1
├── server-destroy@1.0.1
├── bs-snippet-injector@2.0.1
├── dev-ip@1.0.1
├── qs@6.2.3
├── immutable@3.8.2
├── ua-parser-js@0.7.17
├── serve-static@1.13.2 (escape-html@1.0.3, encodeurl@1.0.2, parseurl@1.3.3)
├── opn@5.3.0 (is-wsl@1.1.0)
├── http-proxy@1.15.2 (eventemitter3@1.2.0, requires-port@1.0.0)
├── send@0.16.2 (escape-html@1.0.3, ms@2.0.0, destroy@1.0.4, encodeurl@1.0.2, range-parser@1.2.1, statuses@1.4.0, depd@1.1.2, mime@1.4.1, debug@2.6.9, on-finished@2.3.0, http-errors@1.6.3)
├── portscanner@2.1.1 (async@1.5.2, is-number-like@1.0.8)
├── resp-modifier@6.0.2 (debug@2.6.9, minimatch@3.0.4)
├── connect@3.6.6 (utils-merge@1.0.1, parseurl@1.3.3, debug@2.6.9, finalhandler@1.1.0)
├── raw-body@2.4.1 (unpipe@1.0.0, bytes@3.1.0, http-errors@1.7.3, iconv-lite@0.4.24)
├── eazy-logger@3.0.2 (tfunk@3.1.0)
├── fs-extra@3.0.1 (universalify@0.1.2, graceful-fs@4.2.4, jsonfile@3.0.1)
├── micromatch@3.1.10 (array-unique@0.3.2, arr-diff@4.0.0, kind-of@6.0.3, object.pick@1.3.0, fragment-cache@0.2.1, nanomatch@1.2.13, define-property@2.0.2, to-regex@3.0.2, regex-not@1.0.2, extend-shallow@3.0.2, braces@2.3.2, extglob@2.0.4, snapdragon@0.8.2)
├── serve-index@1.9.1 (escape-html@1.0.3, parseurl@1.3.3, batch@0.6.1, mime-types@2.1.27, accepts@1.3.7, http-errors@1.6.3, debug@2.6.9)
├── socket.io@2.1.1 (socket.io-adapter@1.1.2, has-binary2@1.0.3, socket.io-parser@3.2.0, debug@3.1.0, engine.io@3.2.1, socket.io-client@2.1.1)
├── chokidar@2.1.8 (async-each@1.0.3, path-is-absolute@1.0.1, inherits@2.0.4, normalize-path@3.0.0, upath@1.2.0, is-binary-path@1.0.1, is-glob@4.0.1, glob-parent@3.1.0, anymatch@2.0.0, readdirp@2.2.1, braces@2.3.2)
├── bs-recipes@1.3.4
├── yargs@6.4.0 (decamelize@1.2.0, get-caller-file@1.0.3, camelcase@3.0.0, y18n@3.2.1, which-module@1.0.0, set-blocking@2.0.0, window-size@0.2.0, yargs-parser@4.2.1, require-main-filename@1.0.1, require-directory@2.1.1, cliui@3.2.0, string-width@1.0.2, os-locale@1.4.0, read-pkg-up@1.0.1)
├── localtunnel@1.9.2 (openurl@1.1.1, debug@4.1.1, axios@0.19.0, yargs@6.6.0)
├── browser-sync-ui@2.26.4 (async-each-series@0.1.1, stream-throttle@0.1.3, socket.io-client@2.3.0)
├── rx@4.1.0
├── easy-extender@2.3.4 (lodash@4.17.15)
└── browser-sync-client@2.26.6 (mitt@1.2.0, rxjs@5.5.12)
  TEST
/root/browsix/node_modules/tslint/node_modules/@babel/code-frame/lib/index.js:33
  const {
        ^

SyntaxError: Unexpected token {
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:374:25)
    at Object.Module._extensions..js (module.js:417:10)
    at Module.load (module.js:344:32)
    at Function.Module._load (module.js:301:12)
    at Module.require (module.js:354:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/root/browsix/node_modules/tslint/lib/formatters/codeFrameFormatter.js:20:20)
    at Module._compile (module.js:410:26)
    at Object.Module._extensions..js (module.js:417:10)
make: *** [test-once] Error 1

This can be circumvented by just commenting those lines out, giving:

fixup.bash:

#!/bin/bash

source $NVM_DIR/nvm.sh

sed -ibak 's/^-e //g' ~/.bowerrc

make test-once || true 

sed -ibak \
    -e  '20s@^ @// @' \
    -e  '56,60s@^ @// @' \
    node_modules/tslint/lib/formatters/codeFrameFormatter.js

make test-once

But this similarly fails with some syntax error, as shown below.

  TEST
[15:26:35] Using gulpfile ~/browsix/gulpfile.js
[15:26:35] Starting 'copy-node-kernel'...
[15:26:35] Starting 'copy-node'...
[15:26:35] Starting 'lint-kernel'...
[15:26:35] Starting 'lint-browser-node'...
[15:26:35] Starting 'lint-bin'...
[15:26:35] Starting 'lint-syscall-api'...
[15:26:35] Finished 'copy-node-kernel' after 146 ms
[15:26:36] Finished 'lint-syscall-api' after 821 ms
[15:26:36] Finished 'lint-kernel' after 1.66 s
[15:26:37] Finished 'lint-browser-node' after 2.01 s
[15:26:37] Finished 'lint-bin' after 2.14 s
[15:26:37] Starting 'build-bin'...
[15:26:37] Finished 'copy-node' after 2.29 s
[15:26:37] Starting 'build-kernel'...
[15:26:37] Starting 'build-browser-node'...
/root/browsix/node_modules/@types/chai/index.d.ts(124,9): error TS8020: JSDoc types can only be used inside documentation comments.
/root/browsix/node_modules/@types/chai/index.d.ts(125,9): error TS8020: JSDoc types can only be used inside documentation comments.
/root/browsix/node_modules/@types/chai/index.d.ts(129,16): error TS2370: A rest parameter must be of an array type.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/backend/Dropbox.d.ts(8,108): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/backend/Dropbox.d.ts(27,88): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/backend/FolderAdapter.d.ts(3,22): error TS2420: Class 'FolderAdapter' incorrectly implements interface 'FileSystem'.
  Types of property 'open' are incompatible.
    Type '(p: string, flag: FileFlag, mode: number, cb: (err: ApiError, fd?: BaseFile) => any) => void' is not assignable to type '(p: string, flag: FileFlag, mode: number, cb: (err: ApiError, fd?: File) => any) => void'.
      Types of parameters 'cb' and 'cb' are incompatible.
        Types of parameters 'fd' and 'fd' are incompatible.
          Type 'BaseFile' is not assignable to type 'File'.
            Property 'getPos' is missing in type 'BaseFile'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/backend/HTML5FS.d.ts(8,88): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/backend/IndexedDB.d.ts(7,47): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/backend/IndexedDB.d.ts(11,28): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/backend/IndexedDB.d.ts(22,5): error TS2416: Property 'beginTransaction' in type 'IndexedDBStore' is not assignable to the same property in base type 'AsyncKeyValueStore'.
  Type '(type?: string) => AsyncKeyValueROTransaction' is not assignable to type '{ (type: "readwrite"): AsyncKeyValueRWTransaction; (type: "readonly"): AsyncKeyValueROTransaction...'.
    Type 'AsyncKeyValueROTransaction' is not assignable to type 'AsyncKeyValueRWTransaction'.
      Property 'put' is missing in type 'AsyncKeyValueROTransaction'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/backend/InMemory.d.ts(7,23): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/backend/InMemory.d.ts(8,28): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/backend/LocalStorage.d.ts(7,23): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/backend/LocalStorage.d.ts(8,28): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/backend/MountableFileSystem.d.ts(3,22): error TS2420: Class 'MountableFileSystem' incorrectly implements interface 'FileSystem'.
  Types of property 'open' are incompatible.
    Type '(p: string, flag: FileFlag, mode: number, cb: (err: ApiError, fd?: BaseFile) => any) => void' is not assignable to type '(p: string, flag: FileFlag, mode: number, cb: (err: ApiError, fd?: File) => any) => void'.
      Types of parameters 'cb' and 'cb' are incompatible.
        Types of parameters 'fd' and 'fd' are incompatible.
          Type 'BaseFile' is not assignable to type 'File'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/backend/MountableFileSystem.d.ts(25,34): error TS2503: Cannot find namespace 'NodeJS'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/backend/MountableFileSystem.d.ts(28,33): error TS2503: Cannot find namespace 'NodeJS'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/backend/XmlHttpRequest.d.ts(27,39): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/backend/ZipFS.d.ts(48,23): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/backend/ZipFS.d.ts(58,19): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/backend/ZipFS.d.ts(66,69): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/backend/ZipFS.d.ts(67,19): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/backend/ZipFS.d.ts(70,19): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/backend/ZipFS.d.ts(74,23): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/backend/ZipFS.d.ts(81,23): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/backend/ZipFS.d.ts(83,23): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/backend/ZipFS.d.ts(87,23): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/backend/ZipFS.d.ts(89,22): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/backend/ZipFS.d.ts(95,26): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/backend/ZipFS.d.ts(95,44): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/backend/ZipFS.d.ts(114,20): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/backend/ZipFS.d.ts(115,19): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/backend/ZipFS.d.ts(117,23): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/backend/ZipFS.d.ts(124,16): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/backend/ZipFS.d.ts(125,19): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/backend/ZipFS.d.ts(130,23): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/backend/ZipFS.d.ts(139,24): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/backend/ZipFS.d.ts(145,11): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/backend/ZipFS.d.ts(146,126): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/backend/ZipFS.d.ts(155,24): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/backend/ZipFS.d.ts(174,31): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/core/api_error.d.ts(18,56): error TS2503: Cannot find namespace 'NodeJS'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/core/api_error.d.ts(28,28): error TS2304: Cannot find name 'Buffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/core/api_error.d.ts(28,49): error TS2304: Cannot find name 'Buffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/core/api_error.d.ts(29,31): error TS2304: Cannot find name 'Buffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/core/browserfs.d.ts(1,25): error TS2307: Cannot find module 'buffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/core/browserfs.d.ts(3,23): error TS2307: Cannot find module 'path'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/core/browserfs.d.ts(13,63): error TS2304: Cannot find name 'process'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/core/file.d.ts(13,19): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/core/file.d.ts(13,128): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/core/file.d.ts(14,23): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/core/file.d.ts(15,18): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/core/file.d.ts(15,129): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/core/file.d.ts(16,22): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/core/FS.d.ts(4,22): error TS2307: Cannot find module 'fs'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/core/FS.d.ts(32,59): error TS2304: Cannot find name 'Buffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/core/FS.d.ts(35,40): error TS2304: Cannot find name 'Buffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/core/FS.d.ts(43,9): error TS2304: Cannot find name 'Buffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/core/FS.d.ts(86,31): error TS2304: Cannot find name 'Buffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/core/FS.d.ts(86,117): error TS2304: Cannot find name 'Buffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/core/FS.d.ts(87,31): error TS2304: Cannot find name 'Buffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/core/FS.d.ts(87,135): error TS2304: Cannot find name 'Buffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/core/FS.d.ts(91,35): error TS2304: Cannot find name 'Buffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/core/FS.d.ts(94,30): error TS2304: Cannot find name 'Buffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/core/FS.d.ts(94,138): error TS2304: Cannot find name 'Buffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/core/FS.d.ts(96,34): error TS2304: Cannot find name 'Buffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/core/node_fs_stats.d.ts(1,21): error TS2307: Cannot find module 'fs'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/core/node_fs_stats.d.ts(22,16): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/core/node_fs_stats.d.ts(24,17): error TS2304: Cannot find name 'Buffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/core/node_fs_stats.d.ts(25,31): error TS2304: Cannot find name 'Buffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/core/util.d.ts(9,50): error TS2304: Cannot find name 'Buffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/core/util.d.ts(10,49): error TS2304: Cannot find name 'Buffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/core/util.d.ts(11,47): error TS2304: Cannot find name 'Buffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/core/util.d.ts(12,65): error TS2304: Cannot find name 'Buffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/core/util.d.ts(13,60): error TS2304: Cannot find name 'Buffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/core/util.d.ts(14,62): error TS2304: Cannot find name 'Buffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/core/util.d.ts(15,44): error TS2304: Cannot find name 'Buffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/core/util.d.ts(15,83): error TS2304: Cannot find name 'Buffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/generic/key_value_filesystem.d.ts(15,23): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/generic/key_value_filesystem.d.ts(18,28): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/generic/key_value_filesystem.d.ts(24,23): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/generic/key_value_filesystem.d.ts(25,28): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/generic/key_value_filesystem.d.ts(35,23): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/generic/key_value_filesystem.d.ts(36,28): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/generic/key_value_filesystem.d.ts(45,113): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/generic/key_value_filesystem.d.ts(80,32): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/generic/key_value_filesystem.d.ts(90,47): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/generic/key_value_filesystem.d.ts(93,28): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/generic/key_value_filesystem.d.ts(98,73): error TS2344: Type 'AsyncKeyValueFileSystem' does not satisfy the constraint 'FileSystem'.
  Types of property 'open' are incompatible.
    Type '(p: string, flag: FileFlag, mode: number, cb: (err: ApiError, fd?: BaseFile) => any) => void' is not assignable to type '(p: string, flag: FileFlag, mode: number, cb: (err: ApiError, fd?: File) => any) => void'.
      Types of parameters 'cb' and 'cb' are incompatible.
        Types of parameters 'fd' and 'fd' are incompatible.
          Type 'BaseFile' is not assignable to type 'File'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/generic/key_value_filesystem.d.ts(99,114): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/generic/key_value_filesystem.d.ts(133,28): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/generic/preload_file.d.ts(14,82): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/generic/preload_file.d.ts(17,18): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/generic/preload_file.d.ts(32,19): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/generic/preload_file.d.ts(32,120): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/generic/preload_file.d.ts(33,23): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/generic/preload_file.d.ts(34,18): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/generic/preload_file.d.ts(34,119): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/generic/preload_file.d.ts(35,22): error TS2304: Cannot find name 'NodeBuffer'.
/root/browsix/node_modules/browserfs-browsix-tmp/dist/node/generic/preload_file.d.ts(40,82): error TS2304: Cannot find name 'NodeBuffer'.
src/kernel/file.ts(99,12): error TS2304: Cannot find name 'Buffer'.
src/kernel/file.ts(110,13): error TS2304: Cannot find name 'Buffer'.
src/kernel/file.ts(181,12): error TS2304: Cannot find name 'Buffer'.
src/kernel/file.ts(185,13): error TS2304: Cannot find name 'Buffer'.
src/kernel/file.ts(258,12): error TS2304: Cannot find name 'Buffer'.
src/kernel/file.ts(262,13): error TS2304: Cannot find name 'Buffer'.
src/kernel/ipc.ts(13,24): error TS2304: Cannot find name 'process'.
src/kernel/kernel.ts(15,28): error TS2307: Cannot find module './http_parser'.
src/kernel/kernel.ts(49,15): error TS2304: Cannot find name 'global'.
src/kernel/kernel.ts(102,29): error TS2304: Cannot find name 'require'.
src/kernel/kernel.ts(246,47): error TS2304: Cannot find name 'Buffer'.
src/kernel/kernel.ts(746,47): error TS2304: Cannot find name 'Buffer'.
src/kernel/kernel.ts(747,13): error TS2304: Cannot find name 'Buffer'.
src/kernel/kernel.ts(760,12): error TS2304: Cannot find name 'Buffer'.
src/kernel/kernel.ts(1224,38): error TS2304: Cannot find name 'Buffer'.
src/kernel/kernel.ts(1238,39): error TS2304: Cannot find name 'Buffer'.
src/kernel/kernel.ts(2123,57): error TS2304: Cannot find name 'Buffer'.
src/kernel/kernel.ts(2133,27): error TS2304: Cannot find name 'Buffer'.
src/kernel/kernel.ts(2139,24): error TS2304: Cannot find name 'Buffer'.
src/kernel/pipe.ts(15,8): error TS2304: Cannot find name 'Buffer'.
src/kernel/pipe.ts(35,17): error TS2304: Cannot find name 'Buffer'.
src/kernel/pipe.ts(51,12): error TS2304: Cannot find name 'Buffer'.
src/kernel/pipe.ts(70,14): error TS2304: Cannot find name 'Buffer'.
src/kernel/pipe.ts(95,20): error TS2304: Cannot find name 'Buffer'.
src/kernel/pipe.ts(159,12): error TS2304: Cannot find name 'Buffer'.
src/kernel/pipe.ts(165,13): error TS2304: Cannot find name 'Buffer'.
src/kernel/pipe.ts(186,14): error TS2304: Cannot find name 'Buffer'.
src/kernel/socket.ts(127,12): error TS2304: Cannot find name 'Buffer'.
src/kernel/socket.ts(133,13): error TS2304: Cannot find name 'Buffer'.
src/kernel/socket.ts(139,14): error TS2304: Cannot find name 'Buffer'.
src/kernel/types.ts(54,13): error TS2304: Cannot find name 'Buffer'.
src/kernel/types.ts(55,12): error TS2304: Cannot find name 'Buffer'.
src/kernel/file.ts(99,12): error TS4073: Parameter 'buf' of public method from exported class has or is using private name 'Buffer'.
src/kernel/file.ts(110,13): error TS4073: Parameter 'buf' of public method from exported class has or is using private name 'Buffer'.
src/kernel/file.ts(181,12): error TS4073: Parameter 'buf' of public method from exported class has or is using private name 'Buffer'.
src/kernel/file.ts(185,13): error TS4073: Parameter 'buf' of public method from exported class has or is using private name 'Buffer'.
src/kernel/file.ts(258,12): error TS4073: Parameter 'buf' of public method from exported class has or is using private name 'Buffer'.
src/kernel/file.ts(262,13): error TS4073: Parameter 'buf' of public method from exported class has or is using private name 'Buffer'.
src/kernel/kernel.ts(1224,38): error TS4073: Parameter 'buf' of public method from exported class has or is using private name 'Buffer'.
src/kernel/kernel.ts(1238,39): error TS4073: Parameter 'buf' of public method from exported class has or is using private name 'Buffer'.
src/kernel/kernel.ts(2123,57): error TS4073: Parameter 'buf' of public method from exported class has or is using private name 'Buffer'.
src/kernel/pipe.ts(15,8): error TS4031: Public property 'bufs' of exported class has or is using private name 'Buffer'.
src/kernel/pipe.ts(35,17): error TS4073: Parameter 'b' of public method from exported class has or is using private name 'Buffer'.
src/kernel/pipe.ts(51,12): error TS4073: Parameter 'buf' of public method from exported class has or is using private name 'Buffer'.
src/kernel/pipe.ts(70,14): error TS4055: Return type of public method from exported class has or is using private name 'Buffer'.
src/kernel/pipe.ts(159,12): error TS4073: Parameter 'buf' of public method from exported class has or is using private name 'Buffer'.
src/kernel/pipe.ts(165,13): error TS4073: Parameter 'buf' of public method from exported class has or is using private name 'Buffer'.
src/kernel/pipe.ts(186,14): error TS4055: Return type of public method from exported class has or is using private name 'Buffer'.
src/kernel/socket.ts(127,12): error TS4073: Parameter 'buf' of public method from exported class has or is using private name 'Buffer'.
src/kernel/socket.ts(133,13): error TS4073: Parameter 'buf' of public method from exported class has or is using private name 'Buffer'.
src/kernel/socket.ts(139,14): error TS4055: Return type of public method from exported class has or is using private name 'Buffer'.
src/kernel/types.ts(54,13): error TS4075: Parameter 'buf' of method from exported interface has or is using private name 'Buffer'.
src/kernel/types.ts(55,12): error TS4075: Parameter 'buf' of method from exported interface has or is using private name 'Buffer'.
[15:26:43] TypeScript: 132 semantic errors
[15:26:43] TypeScript: 21 declaration errors
[15:26:43] TypeScript: 21 emit errors
[15:26:43] TypeScript: emit failed
/root/browsix/node_modules/@types/chai/index.d.ts(124,9): error TS8020: JSDoc types can only be used inside documentation comments.
/root/browsix/node_modules/@types/chai/index.d.ts(125,9): error TS8020: JSDoc types can only be used inside documentation comments.
/root/browsix/node_modules/@types/chai/index.d.ts(129,16): error TS2370: A rest parameter must be of an array type.
src/bin/cat.ts(3,21): error TS2307: Cannot find module 'fs'.
src/bin/cat.ts(4,22): error TS2307: Cannot find module 'util'.
src/bin/cat.ts(12,13): error TS2304: Cannot find name 'process'.
src/bin/cat.ts(16,3): error TS2304: Cannot find name 'process'.
src/bin/cat.ts(18,3): error TS2304: Cannot find name 'process'.
src/bin/cat.ts(30,4): error TS2304: Cannot find name 'process'.
src/bin/cat.ts(41,14): error TS2304: Cannot find name 'process'.
src/bin/cat.ts(44,3): error TS2304: Cannot find name 'process'.
src/bin/cat.ts(84,25): error TS2503: Cannot find namespace 'NodeJS'.
src/bin/cat.ts(84,58): error TS2503: Cannot find namespace 'NodeJS'.
src/bin/cat.ts(86,3): error TS2304: Cannot find name 'process'.
src/bin/cat.ts(114,29): error TS2304: Cannot find name 'process'.
src/bin/cat.ts(124,26): error TS2304: Cannot find name 'process'.
src/bin/cat.ts(124,42): error TS2304: Cannot find name 'process'.
src/bin/cat.ts(126,14): error TS2503: Cannot find namespace 'NodeJS'.
src/bin/cat.ts(132,16): error TS2304: Cannot find name 'process'.
src/bin/cat.ts(136,35): error TS2304: Cannot find name 'process'.
src/bin/cat.ts(156,35): error TS2304: Cannot find name 'process'.
src/bin/cp.ts(3,21): error TS2307: Cannot find module 'fs'.
src/bin/cp.ts(4,22): error TS2307: Cannot find module 'util'.
src/bin/cp.ts(12,13): error TS2304: Cannot find name 'process'.
src/bin/cp.ts(16,3): error TS2304: Cannot find name 'process'.
src/bin/cp.ts(18,3): error TS2304: Cannot find name 'process'.
src/bin/cp.ts(30,4): error TS2304: Cannot find name 'process'.
src/bin/cp.ts(41,14): error TS2304: Cannot find name 'process'.
src/bin/cp.ts(44,3): error TS2304: Cannot find name 'process'.
src/bin/cp.ts(76,3): error TS2304: Cannot find name 'process'.
src/bin/cp.ts(85,4): error TS2304: Cannot find name 'process'.
src/bin/cp.ts(149,5): error TS2304: Cannot find name 'process'.
src/bin/curl.ts(3,23): error TS2307: Cannot find module 'child_process'.
src/bin/curl.ts(4,33): error TS2307: Cannot find module 'net'.
src/bin/curl.ts(5,23): error TS2307: Cannot find module 'http'.
src/bin/curl.ts(8,13): error TS2304: Cannot find name 'process'.
src/bin/curl.ts(14,3): error TS2304: Cannot find name 'process'.
src/bin/curl.ts(15,4): error TS2304: Cannot find name 'process'.
src/bin/curl.ts(38,15): error TS2304: Cannot find name 'Buffer'.
src/bin/curl.ts(41,20): error TS2304: Cannot find name 'Buffer'.
src/bin/curl.ts(45,14): error TS2304: Cannot find name 'Buffer'.
src/bin/curl.ts(46,4): error TS2304: Cannot find name 'process'.
src/bin/curl.ts(47,16): error TS2304: Cannot find name 'process'.
src/bin/echo.ts(3,21): error TS2307: Cannot find module 'fs'.
src/bin/echo.ts(4,22): error TS2307: Cannot find module 'util'.
src/bin/echo.ts(12,13): error TS2304: Cannot find name 'process'.
src/bin/echo.ts(16,3): error TS2304: Cannot find name 'process'.
src/bin/echo.ts(18,3): error TS2304: Cannot find name 'process'.
src/bin/echo.ts(30,4): error TS2304: Cannot find name 'process'.
src/bin/echo.ts(41,14): error TS2304: Cannot find name 'process'.
src/bin/echo.ts(44,3): error TS2304: Cannot find name 'process'.
src/bin/echo.ts(76,3): error TS2304: Cannot find name 'process'.
src/bin/echo.ts(93,2): error TS2304: Cannot find name 'process'.
src/bin/echo.ts(97,29): error TS2304: Cannot find name 'process'.
src/bin/echo.ts(100,3): error TS2304: Cannot find name 'process'.
src/bin/exec.ts(3,32): error TS2307: Cannot find module 'child_process'.
src/bin/exec.ts(4,21): error TS2307: Cannot find module 'fs'.
src/bin/exec.ts(5,23): error TS2307: Cannot find module 'path'.
src/bin/exec.ts(10,21): error TS2304: Cannot find name 'process'.
src/bin/exec.ts(11,13): error TS2304: Cannot find name 'process'.
src/bin/exec.ts(15,3): error TS2304: Cannot find name 'process'.
src/bin/exec.ts(16,4): error TS2304: Cannot find name 'process'.
src/bin/exec.ts(28,3): error TS2304: Cannot find name 'process'.
src/bin/exec.ts(29,4): error TS2304: Cannot find name 'process'.
src/bin/exec.ts(33,3): error TS2304: Cannot find name 'process'.
src/bin/grep.ts(3,21): error TS2307: Cannot find module 'fs'.
src/bin/grep.ts(4,27): error TS2307: Cannot find module 'readline'.
src/bin/grep.ts(5,22): error TS2307: Cannot find module 'util'.
src/bin/grep.ts(13,13): error TS2304: Cannot find name 'process'.
src/bin/grep.ts(17,3): error TS2304: Cannot find name 'process'.
src/bin/grep.ts(19,3): error TS2304: Cannot find name 'process'.
src/bin/grep.ts(31,4): error TS2304: Cannot find name 'process'.
src/bin/grep.ts(42,14): error TS2304: Cannot find name 'process'.
src/bin/grep.ts(45,3): error TS2304: Cannot find name 'process'.
src/bin/grep.ts(79,40): error TS2503: Cannot find namespace 'NodeJS'.
src/bin/grep.ts(79,73): error TS2503: Cannot find namespace 'NodeJS'.
src/bin/grep.ts(81,3): error TS2304: Cannot find name 'process'.
src/bin/grep.ts(119,29): error TS2304: Cannot find name 'process'.
src/bin/grep.ts(136,13): error TS2503: Cannot find namespace 'NodeJS'.
src/bin/grep.ts(142,15): error TS2304: Cannot find name 'process'.
src/bin/grep.ts(146,41): error TS2304: Cannot find name 'process'.
src/bin/grep.ts(166,41): error TS2304: Cannot find name 'process'.
src/bin/head.ts(3,21): error TS2307: Cannot find module 'fs'.
src/bin/head.ts(4,27): error TS2307: Cannot find module 'readline'.
src/bin/head.ts(19,23): error TS2503: Cannot find namespace 'NodeJS'.
src/bin/head.ts(19,56): error TS2503: Cannot find namespace 'NodeJS'.
src/bin/head.ts(22,3): error TS2304: Cannot find name 'process'.
src/bin/head.ts(74,13): error TS2304: Cannot find name 'process'.
src/bin/head.ts(92,13): error TS2503: Cannot find namespace 'NodeJS'.
src/bin/head.ts(98,31): error TS2304: Cannot find name 'process'.
src/bin/head.ts(103,20): error TS7006: Parameter 'path' implicitly has an 'any' type.
src/bin/head.ts(103,26): error TS7006: Parameter 'i' implicitly has an 'any' type.
src/bin/head.ts(107,15): error TS2304: Cannot find name 'process'.
src/bin/head.ts(122,5): error TS2304: Cannot find name 'process'.
src/bin/hello-socket.ts(3,38): error TS2307: Cannot find module 'net'.
src/bin/hello-socket.ts(8,3): error TS2304: Cannot find name 'process'.
src/bin/hello-socket.ts(10,14): error TS2304: Cannot find name 'process'.
src/bin/hello-socket.ts(17,2): error TS2304: Cannot find name 'process'.
src/bin/hello.ts(3,63): error TS2307: Cannot find module 'http'.
src/bin/hello.ts(9,14): error TS2304: Cannot find name 'process'.
src/bin/hello.ts(12,2): error TS2304: Cannot find name 'process'.
src/bin/http-example.ts(3,23): error TS2307: Cannot find module 'child_process'.
src/bin/http-example.ts(4,33): error TS2307: Cannot find module 'net'.
src/bin/http-example.ts(5,23): error TS2307: Cannot find module 'http'.
src/bin/http-example.ts(13,3): error TS2304: Cannot find name 'process'.
src/bin/http-example.ts(16,12): error TS2304: Cannot find name 'process'.
src/bin/http-example.ts(22,11): error TS2304: Cannot find name 'process'.
src/bin/http-example.ts(38,5): error TS2304: Cannot find name 'process'.
src/bin/http-example.ts(39,16): error TS2304: Cannot find name 'process'.
src/bin/ls.ts(3,21): error TS2307: Cannot find module 'fs'.
src/bin/ls.ts(4,22): error TS2307: Cannot find module 'util'.
src/bin/ls.ts(12,13): error TS2304: Cannot find name 'process'.
src/bin/ls.ts(16,3): error TS2304: Cannot find name 'process'.
src/bin/ls.ts(18,3): error TS2304: Cannot find name 'process'.
src/bin/ls.ts(30,4): error TS2304: Cannot find name 'process'.
src/bin/ls.ts(41,14): error TS2304: Cannot find name 'process'.
src/bin/ls.ts(44,3): error TS2304: Cannot find name 'process'.
src/bin/ls.ts(76,3): error TS2304: Cannot find name 'process'.
src/bin/ls.ts(100,4): error TS2304: Cannot find name 'process'.
src/bin/ls.ts(110,3): error TS2304: Cannot find name 'process'.
src/bin/mkdir.ts(3,21): error TS2307: Cannot find module 'fs'.
src/bin/mkdir.ts(4,22): error TS2307: Cannot find module 'util'.
src/bin/mkdir.ts(12,13): error TS2304: Cannot find name 'process'.
src/bin/mkdir.ts(16,3): error TS2304: Cannot find name 'process'.
src/bin/mkdir.ts(18,3): error TS2304: Cannot find name 'process'.
src/bin/mkdir.ts(30,4): error TS2304: Cannot find name 'process'.
src/bin/mkdir.ts(41,14): error TS2304: Cannot find name 'process'.
src/bin/mkdir.ts(44,3): error TS2304: Cannot find name 'process'.
src/bin/mkdir.ts(75,21): error TS2304: Cannot find name 'process'.
src/bin/mkdir.ts(79,3): error TS2304: Cannot find name 'process'.
src/bin/mkdir.ts(92,4): error TS2304: Cannot find name 'process'.
src/bin/mkdir.ts(144,5): error TS2304: Cannot find name 'process'.
src/bin/pipeline-example.ts(3,32): error TS2307: Cannot find module 'child_process'.
src/bin/pipeline-example.ts(4,21): error TS2307: Cannot find module 'fs'.
src/bin/pipeline-example.ts(5,23): error TS2307: Cannot find module 'path'.
src/bin/pipeline-example.ts(6,23): error TS2307: Cannot find module 'node-pipe2'.
src/bin/pipeline-example.ts(11,21): error TS2304: Cannot find name 'process'.
src/bin/pipeline-example.ts(12,13): error TS2304: Cannot find name 'process'.
src/bin/pipeline-example.ts(21,4): error TS2304: Cannot find name 'process'.
src/bin/pipeline-example.ts(30,4): error TS2304: Cannot find name 'process'.
src/bin/pipeline-example.ts(45,5): error TS2304: Cannot find name 'process'.
src/bin/rm.ts(3,21): error TS2307: Cannot find module 'fs'.
src/bin/rm.ts(4,23): error TS2307: Cannot find module 'path'.
src/bin/rm.ts(5,22): error TS2307: Cannot find module 'util'.
src/bin/rm.ts(13,13): error TS2304: Cannot find name 'process'.
src/bin/rm.ts(17,3): error TS2304: Cannot find name 'process'.
src/bin/rm.ts(19,3): error TS2304: Cannot find name 'process'.
src/bin/rm.ts(31,4): error TS2304: Cannot find name 'process'.
src/bin/rm.ts(42,14): error TS2304: Cannot find name 'process'.
src/bin/rm.ts(45,3): error TS2304: Cannot find name 'process'.
src/bin/rm.ts(80,19): error TS7006: Parameter 'err' implicitly has an 'any' type.
src/bin/rm.ts(80,24): error TS7006: Parameter 'files' implicitly has an 'any' type.
src/bin/rm.ts(92,19): error TS7006: Parameter 'err' implicitly has an 'any' type.
src/bin/rm.ts(133,25): error TS7006: Parameter 'err' implicitly has an 'any' type.
src/bin/rm.ts(157,13): error TS2304: Cannot find name 'process'.
src/bin/rm.ts(167,3): error TS2304: Cannot find name 'process'.
src/bin/rm.ts(178,4): error TS2304: Cannot find name 'process'.
src/bin/rm.ts(196,22): error TS7006: Parameter 'oerr' implicitly has an 'any' type.
src/bin/rmdir.ts(3,21): error TS2307: Cannot find module 'fs'.
src/bin/rmdir.ts(8,21): error TS2304: Cannot find name 'process'.
src/bin/rmdir.ts(9,13): error TS2304: Cannot find name 'process'.
src/bin/rmdir.ts(17,3): error TS2304: Cannot find name 'process'.
src/bin/sha1sum.ts(32,21): error TS2307: Cannot find module 'fs'.
src/bin/sha1sum.ts(44,28): error TS2304: Cannot find name 'global'.
src/bin/sha1sum.ts(44,54): error TS2304: Cannot find name 'global'.
src/bin/sha1sum.ts(44,71): error TS2304: Cannot find name 'global'.
src/bin/sha1sum.ts(366,10): error TS2503: Cannot find namespace 'NodeJS'.
src/bin/sha1sum.ts(369,48): error TS2503: Cannot find namespace 'NodeJS'.
src/bin/sha1sum.ts(373,3): error TS2304: Cannot find name 'process'.
src/bin/sha1sum.ts(388,14): error TS2304: Cannot find name 'Buffer'.
src/bin/sha1sum.ts(391,12): error TS2304: Cannot find name 'Buffer'.
src/bin/sha1sum.ts(398,12): error TS2304: Cannot find name 'Buffer'.
src/bin/sha1sum.ts(408,3): error TS2304: Cannot find name 'process'.
src/bin/sha1sum.ts(417,13): error TS2304: Cannot find name 'process'.
src/bin/sha1sum.ts(435,36): error TS2304: Cannot find name 'process'.
src/bin/sha1sum.ts(439,34): error TS2304: Cannot find name 'process'.
src/bin/sha1sum.ts(450,5): error TS2304: Cannot find name 'process'.
src/bin/sha1sum.ts(457,34): error TS2304: Cannot find name 'process'.
src/bin/socket-example.ts(3,23): error TS2307: Cannot find module 'child_process'.
src/bin/socket-example.ts(4,33): error TS2307: Cannot find module 'net'.
src/bin/socket-example.ts(12,3): error TS2304: Cannot find name 'process'.
src/bin/socket-example.ts(15,12): error TS2304: Cannot find name 'process'.
src/bin/socket-example.ts(21,11): error TS2304: Cannot find name 'process'.
src/bin/socket-example.ts(27,4): error TS2304: Cannot find name 'process'.
src/bin/socket-example.ts(30,4): error TS2304: Cannot find name 'process'.
src/bin/socket-example.ts(33,12): error TS2304: Cannot find name 'process'.
src/bin/sort.ts(3,21): error TS2307: Cannot find module 'fs'.
src/bin/sort.ts(4,27): error TS2307: Cannot find module 'readline'.
src/bin/sort.ts(18,23): error TS2503: Cannot find namespace 'NodeJS'.
src/bin/sort.ts(18,56): error TS2503: Cannot find namespace 'NodeJS'.
src/bin/sort.ts(24,4): error TS2304: Cannot find name 'process'.
src/bin/sort.ts(58,13): error TS2304: Cannot find name 'process'.
src/bin/sort.ts(70,24): error TS2304: Cannot find name 'process'.
src/bin/sort.ts(70,40): error TS2304: Cannot find name 'process'.
src/bin/sort.ts(72,14): error TS2503: Cannot find namespace 'NodeJS'.
src/bin/sort.ts(76,21): error TS7006: Parameter 'path' implicitly has an 'any' type.
src/bin/sort.ts(76,27): error TS7006: Parameter 'i' implicitly has an 'any' type.
src/bin/sort.ts(78,16): error TS2304: Cannot find name 'process'.
src/bin/sort.ts(82,33): error TS2304: Cannot find name 'process'.
src/bin/sort.ts(95,6): error TS2304: Cannot find name 'process'.
src/bin/sort.ts(102,33): error TS2304: Cannot find name 'process'.
src/bin/stat.ts(3,21): error TS2307: Cannot find module 'fs'.
src/bin/stat.ts(21,41): error TS2503: Cannot find namespace 'NodeJS'.
src/bin/stat.ts(25,3): error TS2304: Cannot find name 'process'.
src/bin/stat.ts(41,4): error TS2304: Cannot find name 'process'.
src/bin/stat.ts(55,13): error TS2304: Cannot find name 'process'.
src/bin/stat.ts(61,3): error TS2304: Cannot find name 'process'.
src/bin/stat.ts(62,4): error TS2304: Cannot find name 'process'.
src/bin/stat.ts(67,28): error TS2304: Cannot find name 'process'.
src/bin/tail.ts(3,21): error TS2307: Cannot find module 'fs'.
src/bin/tail.ts(4,27): error TS2307: Cannot find module 'readline'.
src/bin/tail.ts(19,23): error TS2503: Cannot find namespace 'NodeJS'.
src/bin/tail.ts(19,56): error TS2503: Cannot find namespace 'NodeJS'.
src/bin/tail.ts(22,3): error TS2304: Cannot find name 'process'.
src/bin/tail.ts(60,6): error TS2304: Cannot find name 'process'.
src/bin/tail.ts(70,13): error TS2304: Cannot find name 'process'.
src/bin/tail.ts(86,24): error TS2304: Cannot find name 'process'.
src/bin/tail.ts(86,40): error TS2304: Cannot find name 'process'.
src/bin/tail.ts(88,14): error TS2503: Cannot find namespace 'NodeJS'.
src/bin/tail.ts(92,21): error TS7006: Parameter 'path' implicitly has an 'any' type.
src/bin/tail.ts(92,27): error TS7006: Parameter 'i' implicitly has an 'any' type.
src/bin/tail.ts(94,16): error TS2304: Cannot find name 'process'.
src/bin/tail.ts(98,33): error TS2304: Cannot find name 'process'.
src/bin/tail.ts(111,6): error TS2304: Cannot find name 'process'.
src/bin/tail.ts(118,33): error TS2304: Cannot find name 'process'.
src/bin/tee.ts(3,21): error TS2307: Cannot find module 'fs'.
src/bin/tee.ts(17,23): error TS2503: Cannot find namespace 'NodeJS'.
src/bin/tee.ts(17,55): error TS2503: Cannot find namespace 'NodeJS'.
src/bin/tee.ts(33,6): error TS2304: Cannot find name 'process'.
src/bin/tee.ts(42,13): error TS2304: Cannot find name 'process'.
src/bin/tee.ts(53,22): error TS2304: Cannot find name 'process'.
src/bin/tee.ts(53,38): error TS2304: Cannot find name 'process'.
src/bin/tee.ts(55,14): error TS2503: Cannot find namespace 'NodeJS'.
src/bin/tee.ts(56,14): error TS2304: Cannot find name 'process'.
src/bin/tee.ts(60,21): error TS7006: Parameter 'path' implicitly has an 'any' type.
src/bin/tee.ts(60,27): error TS7006: Parameter 'i' implicitly has an 'any' type.
src/bin/tee.ts(71,6): error TS2304: Cannot find name 'process'.
src/bin/tee.ts(78,25): error TS2304: Cannot find name 'process'.
src/bin/touch.ts(3,21): error TS2307: Cannot find module 'fs'.
src/bin/touch.ts(9,13): error TS2304: Cannot find name 'process'.
src/bin/touch.ts(24,4): error TS2304: Cannot find name 'process'.
src/bin/touch.ts(29,3): error TS2304: Cannot find name 'process'.
src/bin/touch.ts(30,4): error TS2304: Cannot find name 'process'.
src/bin/touch.ts(48,8): error TS2304: Cannot find name 'process'.
src/bin/touch.ts(59,8): error TS2304: Cannot find name 'process'.
src/bin/wc.ts(3,21): error TS2307: Cannot find module 'fs'.
src/bin/wc.ts(17,21): error TS2503: Cannot find namespace 'NodeJS'.
src/bin/wc.ts(17,54): error TS2503: Cannot find namespace 'NodeJS'.
src/bin/wc.ts(21,3): error TS2304: Cannot find name 'process'.
src/bin/wc.ts(75,13): error TS2304: Cannot find name 'process'.
src/bin/wc.ts(100,6): error TS2304: Cannot find name 'process'.
src/bin/wc.ts(101,7): error TS2304: Cannot find name 'process'.
src/bin/wc.ts(112,22): error TS2304: Cannot find name 'process'.
src/bin/wc.ts(112,38): error TS2304: Cannot find name 'process'.
src/bin/wc.ts(114,14): error TS2503: Cannot find namespace 'NodeJS'.
src/bin/wc.ts(118,21): error TS7006: Parameter 'path' implicitly has an 'any' type.
src/bin/wc.ts(118,27): error TS7006: Parameter 'i' implicitly has an 'any' type.
src/bin/wc.ts(120,16): error TS2304: Cannot find name 'process'.
src/bin/wc.ts(124,31): error TS2304: Cannot find name 'process'.
src/bin/wc.ts(137,6): error TS2304: Cannot find name 'process'.
src/bin/wc.ts(144,31): error TS2304: Cannot find name 'process'.
src/bin/xargs.ts(17,21): error TS2307: Cannot find module 'fs'.
src/bin/xargs.ts(18,32): error TS2307: Cannot find module 'child_process'.
src/bin/xargs.ts(19,22): error TS2307: Cannot find module 'util'.
src/bin/xargs.ts(69,2): error TS2304: Cannot find name 'process'.
src/bin/xargs.ts(69,34): error TS2304: Cannot find name 'Buffer'.
src/bin/xargs.ts(90,2): error TS2304: Cannot find name 'process'.
src/bin/xargs.ts(92,3): error TS2304: Cannot find name 'process'.
src/bin/xargs.ts(106,3): error TS2304: Cannot find name 'process'.
src/bin/xargs.ts(132,4): error TS2304: Cannot find name 'process'.
src/bin/xargs.ts(133,4): error TS2304: Cannot find name 'process'.
src/bin/xargs.ts(138,4): error TS2304: Cannot find name 'process'.
src/bin/xargs.ts(140,5): error TS2304: Cannot find name 'process'.
src/bin/xargs.ts(177,3): error TS2304: Cannot find name 'process'.
src/bin/xargs.ts(178,3): error TS2304: Cannot find name 'process'.
src/bin/xargs.ts(184,3): error TS2304: Cannot find name 'process'.
src/bin/xargs.ts(190,3): error TS2304: Cannot find name 'process'.
src/bin/xargs.ts(191,4): error TS2304: Cannot find name 'process'.
src/bin/xargs.ts(198,4): error TS2304: Cannot find name 'process'.
src/bin/xargs.ts(199,5): error TS2304: Cannot find name 'process'.
src/bin/xargs.ts(214,13): error TS2304: Cannot find name 'process'.
src/bin/xargs.ts(277,6): error TS2304: Cannot find name 'process'.
[15:26:47] TypeScript: 282 semantic errors
[15:26:47] TypeScript: emit succeeded (with errors)
[15:26:47] Finished 'build-kernel' after 10 s
[15:26:47] Starting 'dist-kernel'...
/root/browsix/node_modules/@types/chai/index.d.ts(124,9): error TS8020: JSDoc types can only be used inside documentation comments.
/root/browsix/node_modules/@types/chai/index.d.ts(125,9): error TS8020: JSDoc types can only be used inside documentation comments.
/root/browsix/node_modules/@types/chai/index.d.ts(129,16): error TS2370: A rest parameter must be of an array type.
src/browser-node/binding/process_wrap.ts(47,15): error TS2552: Cannot find name 'process'. Did you mean 'Process'?
src/browser-node/binding/process_wrap.ts(65,10): error TS2552: Cannot find name 'process'. Did you mean 'Process'?
src/browser-node/binding/tcp_wrap.ts(187,12): error TS2304: Cannot find name 'Buffer'.
src/browser-node/binding/timer_wrap.ts(9,24): error TS2304: Cannot find name 'process'.
src/browser-node/browser-node.ts(22,36): error TS2307: Cannot find module './binding/http_parser'.
src/browser-node/browser-node.ts(133,21): error TS2307: Cannot find module './fs'.
src/browser-node/browser-node.ts(134,25): error TS2307: Cannot find module './buffer'.
src/browser-node/browser-node.ts(170,10): error TS2552: Cannot find name 'require'. Did you mean '_require'?
src/browser-node/browser-node.ts(172,10): error TS2552: Cannot find name 'require'. Did you mean '_require'?
src/browser-node/browser-node.ts(174,10): error TS2552: Cannot find name 'require'. Did you mean '_require'?
src/browser-node/browser-node.ts(176,10): error TS2552: Cannot find name 'require'. Did you mean '_require'?
src/browser-node/browser-node.ts(178,10): error TS2552: Cannot find name 'require'. Did you mean '_require'?
src/browser-node/browser-node.ts(180,10): error TS2304: Cannot find name 'require'.
src/browser-node/ipc.ts(13,24): error TS2304: Cannot find name 'process'.
[15:26:50] TypeScript: 17 semantic errors
[15:26:50] TypeScript: emit succeeded (with errors)
[15:26:52] Finished 'build-bin' after 15 s
[15:26:52] Finished 'build-browser-node' after 15 s
[15:26:52] Starting 'dist-browser-node'...
[15:26:52] Starting 'build-syscall-api'...
/root/browsix/node_modules/@types/chai/index.d.ts(124,9): error TS8020: JSDoc types can only be used inside documentation comments.
/root/browsix/node_modules/@types/chai/index.d.ts(125,9): error TS8020: JSDoc types can only be used inside documentation comments.
/root/browsix/node_modules/@types/chai/index.d.ts(129,16): error TS2370: A rest parameter must be of an array type.
[15:26:54] TypeScript: 3 semantic errors
[15:26:54] TypeScript: emit succeeded (with errors)
[15:26:54] Finished 'build-syscall-api' after 1.66 s
[15:26:54] Starting 'dist-syscall-api'...
[15:26:54] Finished 'dist-syscall-api' after 757 ms
[15:26:54] Finished 'dist-kernel' after 7.01 s
[15:26:54] Finished 'dist-browser-node' after 2.6 s
[15:26:54] Starting 'build-fs-pre'...
[15:26:54] Finished 'build-fs-pre' after 50 ms
[15:26:54] Starting 'build-fs'...
[15:26:55] Finished 'build-fs' after 13 ms
[15:26:55] Starting 'index-fs'...
$ ./xhrfs-index fs
{"bin":{"sh":null},"boot":{"kernel.js":null},"index.json":null,"usr":{"bin":{"cat":null,"cp":null,"curl":null,"echo":null,"exec":null,"grep":null,"head":null,"hello":null,"hello-socket":null,"http-example":null,"ld":null,"ls":null,"mkdir":null,"node":null,"pipeline-example":null,"rm":null,"rmdir":null,"sh":null,"sha1sum":null,"socket-example":null,"sort":null,"stat":null,"tail":null,"tee":null,"touch":null,"wc":null,"xargs":null}}}
[15:26:55] Finished 'index-fs' after 75 ms
[15:26:55] Starting 'build-test'...
/root/browsix/node_modules/@types/chai/index.d.ts(124,9): error TS8020: JSDoc types can only be used inside documentation comments.
/root/browsix/node_modules/@types/chai/index.d.ts(125,9): error TS8020: JSDoc types can only be used inside documentation comments.
/root/browsix/node_modules/@types/chai/index.d.ts(129,16): error TS2370: A rest parameter must be of an array type.
test/test-all.ts(1,1): error TS2304: Cannot find name 'require'.
test/test-all.ts(2,1): error TS2304: Cannot find name 'require'.
test/test-all.ts(3,1): error TS2304: Cannot find name 'require'.
test/test-all.ts(4,1): error TS2304: Cannot find name 'require'.
test/test-all.ts(5,1): error TS2304: Cannot find name 'require'.
test/test-all.ts(6,1): error TS2304: Cannot find name 'require'.
test/test-all.ts(7,1): error TS2304: Cannot find name 'require'.
test/test-all.ts(8,1): error TS2304: Cannot find name 'require'.
test/test-all.ts(9,1): error TS2304: Cannot find name 'require'.
test/test-all.ts(10,1): error TS2304: Cannot find name 'require'.
test/test-all.ts(11,1): error TS2304: Cannot find name 'require'.
test/test-all.ts(12,1): error TS2304: Cannot find name 'require'.
test/test-all.ts(13,1): error TS2304: Cannot find name 'require'.
test/test-all.ts(14,1): error TS2304: Cannot find name 'require'.
test/test-all.ts(15,1): error TS2304: Cannot find name 'require'.
test/test-all.ts(16,1): error TS2304: Cannot find name 'require'.
test/test-all.ts(17,1): error TS2304: Cannot find name 'require'.
test/test-all.ts(18,1): error TS2304: Cannot find name 'require'.
test/test-cat.ts(4,30): error TS7016: Could not find a declaration file for module '../lib/kernel/kernel'. '/root/browsix/lib/kernel/kernel.js' implicitly has an 'any' type.
test/test-cp.ts(4,30): error TS7016: Could not find a declaration file for module '../lib/kernel/kernel'. '/root/browsix/lib/kernel/kernel.js' implicitly has an 'any' type.
test/test-cp.ts(5,21): error TS2307: Cannot find module 'assert'.
test/test-echo.ts(4,30): error TS7016: Could not find a declaration file for module '../lib/kernel/kernel'. '/root/browsix/lib/kernel/kernel.js' implicitly has an 'any' type.
test/test-exec.ts(4,30): error TS7016: Could not find a declaration file for module '../lib/kernel/kernel'. '/root/browsix/lib/kernel/kernel.js' implicitly has an 'any' type.
test/test-grep.ts(4,30): error TS7016: Could not find a declaration file for module '../lib/kernel/kernel'. '/root/browsix/lib/kernel/kernel.js' implicitly has an 'any' type.
test/test-head.ts(4,30): error TS7016: Could not find a declaration file for module '../lib/kernel/kernel'. '/root/browsix/lib/kernel/kernel.js' implicitly has an 'any' type.
test/test-ls.ts(4,30): error TS7016: Could not find a declaration file for module '../lib/kernel/kernel'. '/root/browsix/lib/kernel/kernel.js' implicitly has an 'any' type.
test/test-mkdir.ts(4,30): error TS7016: Could not find a declaration file for module '../lib/kernel/kernel'. '/root/browsix/lib/kernel/kernel.js' implicitly has an 'any' type.
test/test-nice.ts(4,30): error TS7016: Could not find a declaration file for module '../lib/kernel/kernel'. '/root/browsix/lib/kernel/kernel.js' implicitly has an 'any' type.
test/test-pipeline-example.ts(4,30): error TS7016: Could not find a declaration file for module '../lib/kernel/kernel'. '/root/browsix/lib/kernel/kernel.js' implicitly has an 'any' type.
test/test-rm.ts(4,30): error TS7016: Could not find a declaration file for module '../lib/kernel/kernel'. '/root/browsix/lib/kernel/kernel.js' implicitly has an 'any' type.
test/test-rmdir.ts(4,30): error TS7016: Could not find a declaration file for module '../lib/kernel/kernel'. '/root/browsix/lib/kernel/kernel.js' implicitly has an 'any' type.
test/test-sh.ts(4,30): error TS7016: Could not find a declaration file for module '../lib/kernel/kernel'. '/root/browsix/lib/kernel/kernel.js' implicitly has an 'any' type.
test/test-sort.ts(4,30): error TS7016: Could not find a declaration file for module '../lib/kernel/kernel'. '/root/browsix/lib/kernel/kernel.js' implicitly has an 'any' type.
test/test-stat.ts(4,30): error TS7016: Could not find a declaration file for module '../lib/kernel/kernel'. '/root/browsix/lib/kernel/kernel.js' implicitly has an 'any' type.
test/test-tail.ts(4,30): error TS7016: Could not find a declaration file for module '../lib/kernel/kernel'. '/root/browsix/lib/kernel/kernel.js' implicitly has an 'any' type.
test/test-tee.ts(4,30): error TS7016: Could not find a declaration file for module '../lib/kernel/kernel'. '/root/browsix/lib/kernel/kernel.js' implicitly has an 'any' type.
test/test-touch.ts(4,30): error TS7016: Could not find a declaration file for module '../lib/kernel/kernel'. '/root/browsix/lib/kernel/kernel.js' implicitly has an 'any' type.
test/test-wc.ts(4,30): error TS7016: Could not find a declaration file for module '../lib/kernel/kernel'. '/root/browsix/lib/kernel/kernel.js' implicitly has an 'any' type.
test/test-xargs.ts(4,30): error TS7016: Could not find a declaration file for module '../lib/kernel/kernel'. '/root/browsix/lib/kernel/kernel.js' implicitly has an 'any' type.
test/test-xhrfs.ts(4,30): error TS7016: Could not find a declaration file for module '../lib/kernel/kernel'. '/root/browsix/lib/kernel/kernel.js' implicitly has an 'any' type.
[15:26:56] TypeScript: 43 semantic errors
[15:26:56] TypeScript: emit succeeded (with errors)
[15:26:56] Finished 'build-test' after 959 ms
[15:26:56] Starting 'dist-test'...
[15:26:56] Finished 'dist-test' after 652 ms
[15:26:56] Starting 'default'...
10 06 2020 15:26:56.718:ERROR [plugin]: Error during loading "/root/browsix/node_modules/karma-firefox-launcher" plugin:
  Unexpected token {
10 06 2020 15:26:56.793:INFO [karma]: Karma v1.7.1 server started at http://0.0.0.0:9876/
10 06 2020 15:26:56.794:INFO [launcher]: Launching browser Firefox with unlimited concurrency
10 06 2020 15:26:56.795:ERROR [karma]: Found 1 load error
[15:26:56] 'default' errored after 95 ms
[15:26:56] Error: 1
    at formatError (/root/browsix/node_modules/gulp/bin/gulp.js:169:10)
    at Gulp.<anonymous> (/root/browsix/node_modules/gulp/bin/gulp.js:195:15)
    at emitOne (events.js:77:13)
    at Gulp.emit (events.js:169:7)
    at Gulp.Orchestrator._emitTaskDone (/root/browsix/node_modules/gulp/node_modules/orchestrator/index.js:264:8)
    at /root/browsix/node_modules/gulp/node_modules/orchestrator/index.js:275:23
    at finish (/root/browsix/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8)
    at cb (/root/browsix/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3)
    at removeAllListeners (/root/browsix/node_modules/karma/lib/server.js:380:7)
    at Server.<anonymous> (/root/browsix/node_modules/karma/lib/server.js:391:9)
    at Server.g (events.js:260:16)
    at emitNone (events.js:72:20)
    at Server.emit (events.js:166:7)
    at emitCloseNT (net.js:1524:8)
    at nextTickCallbackWith1Arg (node.js:430:9)
    at process._tickDomainCallback (node.js:393:17)
make: *** [test-once] Error 1

My big concern here is that it seems like some of these issues stem from no one having built this project in a long time. I would love to become involved in this project and learn how the things tick, but right now I am definitely not well-versed with node.

Is there anyway the build environment can be more standardized or that this project can be reproducibly built? Is there anyway that I can help?

Thank you

@b04505009
Copy link

Hi, did you find a solution? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants