You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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?
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.
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
The text was updated successfully, but these errors were encountered:
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 installedAttempting to run
docker/build.sh
fails, and I found it was necessary to patch the Dockerfile with the diff that follows.Here is why:
docker.io
package there, however, doesn't give adocker
that supports the use ofSHELL
in the Dockerfile. I figure my assumption must be wrong, and am curious what the build environment should have as a Docker version instead.RUN
commands withbash -c
to execute them because of the above issueroot
, which causesnpm
to be worried. Because of this I have to pass the--unsafe-perms
flag into one of thenpm install
commands. Was this issue not experienced previously?With this, the build fails as shown in the output below.
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
: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.This can be circumvented by just commenting those lines out, giving:
fixup.bash
:But this similarly fails with some syntax error, as shown below.
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
The text was updated successfully, but these errors were encountered: