Git Product home page Git Product logo

Comments (17)

cosmo-kramer avatar cosmo-kramer commented on August 16, 2024

npm version:

{ http_parser: '1.0',
node: '0.10.25',
v8: '3.14.5.9',
ares: '1.10.0',
uv: '0.10.23',
zlib: '1.2.8',
modules: '11',
openssl: '1.0.1f',
npm: '1.4.21' }

uname -a:

Linux abhishek-Inspiron-3542 4.2.0-27-generic #32-Ubuntu SMP Fri Jan 22 04:49:08 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

sudo npm install

[sudo] password for abhishek:
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No README data
npm WARN deprecated [email protected]: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.
npm WARN deprecated [email protected]: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.
npm WARN deprecated [email protected]: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.
npm WARN deprecated [email protected]: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.
npm WARN engine [email protected]: wanted: {"node":">=0.10.0","npm":">=2.1.5"} (current: {"node":"0.10.25","npm":"1.4.21"})
npm WARN engine [email protected]: wanted: {"node":">=0.12.0"} (current: {"node":"0.10.25","npm":"1.4.21"})
/

[email protected] postinstall /home/abhishek/browsix/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin
node lib/install.js

module.js:340
throw err;
^
Error: Cannot find module 'clone'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/home/abhishek/browsix/node_modules/gulp-util/node_modules/vinyl/index.js:2:13)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

[email protected] postinstall /home/abhishek/browsix/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin
node lib/install.js

module.js:340
throw err;
^
Error: Cannot find module 'clone'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/home/abhishek/browsix/node_modules/gulp-util/node_modules/vinyl/index.js:2:13)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
npm WARN optional dep failed, continuing [email protected]
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

[email protected] postinstall /home/abhishek/browsix/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle
node lib/install.js

module.js:340
throw err;
^
Error: Cannot find module 'clone'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/home/abhishek/browsix/node_modules/gulp-util/node_modules/vinyl/index.js:2:13)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
npm WARN optional dep failed, continuing [email protected]
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm WARN optional dep failed, continuing [email protected]
npm WARN cannot run in wd [email protected] gulp build:dist (wd=/home/abhishek/browsix)
[email protected] node_modules/gulp-run
├── [email protected]
└── [email protected] ([email protected], [email protected])

[email protected] node_modules/gulp-useref
├── [email protected] ([email protected])
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])

[email protected] node_modules/gulp
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])

[email protected] node_modules/gulp-load-plugins
├── [email protected]
├── [email protected] ([email protected])
└── [email protected] ([email protected], [email protected], [email protected])

[email protected] node_modules/gulp-cache
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected])

[email protected] node_modules/gulp-copy
├── [email protected]
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])

[email protected] node_modules/gulp-cssmin
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])

[email protected] node_modules/gulp-tslint
├── [email protected]
├── [email protected]
└── [email protected] ([email protected], [email protected])

[email protected] node_modules/gulp-typescript
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected]

[email protected] node_modules/gulp-imagemin
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])

from browsix.

bpowers avatar bpowers commented on August 16, 2024

Hi @CoderAbhishek,

Two things: first, you shouldn't run npm install through sudo -- this will cause issues with permissions. I suggest you delete your node_modules directory and try a fresh npm install without sudo.

With that said - the output from npm install above looks basically correct. There are some optional dependencies that aren't being built, but that is fine. I would think that make should work for you at this point. I've made a few small changes - can you pull and try another build?

Thanks!

from browsix.

jvilk avatar jvilk commented on August 16, 2024

Also, Node v0.10 is super old. I know that some Linux distributions are still stuck on it (and v0.12), but v4 is the way to go these days as it resolves longstanding Buffer/ArrayBuffer incompatibilities. But maybe @bpowers tests on v0.10.

from browsix.

bpowers avatar bpowers commented on August 16, 2024

I don't test on 0.10, and I've actually updated the README with instructions on how to install newer versions: https://github.com/plasma-umass/browsix#building--testing

from browsix.

jvilk avatar jvilk commented on August 16, 2024

The NodeJS website has mediocre instructions for Linux... they give you a tar file full of binaries. NodeSource is the best resource for packages for the most common linux distros.

from browsix.

bpowers avatar bpowers commented on August 16, 2024

The part of the node site I linked to details getting packages from NodeSource: https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions

from browsix.

jvilk avatar jvilk commented on August 16, 2024

👍

from browsix.

cosmo-kramer avatar cosmo-kramer commented on August 16, 2024

@bpowers I installed node v4.3.1

still "make test-once serve" gives following error:

[email protected] postinstall /home/abhishek/browsix/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin
node lib/install.js

⚠ tunneling socket could not be established, cause=Parse Error
⚠ optipng pre-build test failed
ℹ compiling from source
✖ RequestError: tunneling socket could not be established, cause=Parse Error
at ClientRequest. (/home/abhishek/browsix/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin/node_modules/bin-build/node_modules/download/node_modules/got/index.js:68:21)
at ClientRequest.g (events.js:260:16)
at emitOne (events.js:77:13)
at ClientRequest.emit (events.js:169:7)
at ClientRequest.onError (/home/abhishek/browsix/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin/node_modules/bin-build/node_modules/download/node_modules/caw/node_modules/tunnel-agent/index.js:178:21)
at ClientRequest.g (events.js:260:16)
at emitOne (events.js:77:13)
at ClientRequest.emit (events.js:169:7)
at Socket.socketOnData (_http_client.js:307:9)
at emitOne (events.js:77:13)
npm WARN peerDependencies The peer dependency typescript@>=1.7.3 included from tslint will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.

[email protected] postinstall /home/abhishek/browsix/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin
node lib/install.js

⚠ tunneling socket could not be established, cause=Parse Error
⚠ jpegtran pre-build test failed
ℹ compiling from source
✖ RequestError: tunneling socket could not be established, cause=Parse Error
at ClientRequest. (/home/abhishek/browsix/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin/node_modules/bin-build/node_modules/download/node_modules/got/index.js:68:21)
at ClientRequest.g (events.js:260:16)
at emitOne (events.js:77:13)
at ClientRequest.emit (events.js:169:7)
at ClientRequest.onError (/home/abhishek/browsix/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin/node_modules/bin-build/node_modules/download/node_modules/caw/node_modules/tunnel-agent/index.js:178:21)
at ClientRequest.g (events.js:260:16)
at emitOne (events.js:77:13)
at ClientRequest.emit (events.js:169:7)
at Socket.socketOnData (_http_client.js:307:9)
at emitOne (events.js:77:13)

[email protected] postinstall /home/abhishek/browsix/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle
node lib/install.js

⚠ tunneling socket could not be established, cause=Parse Error
⚠ gifsicle pre-build test failed
ℹ compiling from source
✖ RequestError: tunneling socket could not be established, cause=Parse Error
at ClientRequest. (/home/abhishek/browsix/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle/node_modules/bin-build/node_modules/download/node_modules/got/index.js:68:21)
at ClientRequest.g (events.js:260:16)
at emitOne (events.js:77:13)
at ClientRequest.emit (events.js:169:7)
at ClientRequest.onError (/home/abhishek/browsix/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle/node_modules/bin-build/node_modules/download/node_modules/caw/node_modules/tunnel-agent/index.js:178:21)
at ClientRequest.g (events.js:260:16)
at emitOne (events.js:77:13)
at ClientRequest.emit (events.js:169:7)
at Socket.socketOnData (_http_client.js:307:9)
at emitOne (events.js:77:13)
npm ERR! Linux 4.2.0-27-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v4.3.1
npm ERR! npm v2.14.12
npm ERR! path /home/abhishek/.npm/meow/3.3.0
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall mkdir

npm ERR! Error: EACCES: permission denied, mkdir '/home/abhishek/.npm/meow/3.3.0'
npm ERR! at Error (native)
npm ERR! { [Error: EACCES: permission denied, mkdir '/home/abhishek/.npm/meow/3.3.0']
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'mkdir',
npm ERR! path: '/home/abhishek/.npm/meow/3.3.0',
npm ERR! parent: 'browser-sync' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! Please include the following file with any support request:
npm ERR! /home/abhishek/browsix/npm-debug.log
Makefile:58: recipe for target 'node_modules' failed
make: *** [node_modules] Error 243

from browsix.

bpowers avatar bpowers commented on August 16, 2024

@CoderAbhishek This is due to having used sudo npm install in the past - you can see that npm is having issues accessing things in the ~/.npm directory.

This command should fix your permissions:

if [ ! -z "$USER" ]; then sudo chown -R $USER ~/.npm; fi

After that, try the make command again. I also recommend trying to understand what that command does.

from browsix.

cosmo-kramer avatar cosmo-kramer commented on August 16, 2024

@bpowers I tried above instructions can you please explain me below mentioned error:

ℹ compiling from source
✖ RequestError: tunneling socket could not be established, cause=Parse Error
at ClientRequest. (/home/abhishek/browsix/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin/node_modules/bin-build/node_modules/download/node_modules/got/index.js:68:21)
at ClientRequest.g (events.js:260:16)
at emitOne (events.js:77:13)
at ClientRequest.emit (events.js:169:7)
at ClientRequest.onError (/home/abhishek/browsix/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin/node_modules/bin-build/node_modules/download/node_modules/caw/node_modules/tunnel-agent/index.js:178:21)
at ClientRequest.g (events.js:260:16)
at emitOne (events.js:77:13)
at ClientRequest.emit (events.js:169:7)
at Socket.socketOnData (_http_client.js:307:9)
at emitOne (events.js:77:13)

[email protected] postinstall /home/abhishek/browsix/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin
node lib/install.js

⚠ tunneling socket could not be established, cause=Parse Error
⚠ jpegtran pre-build test failed
ℹ compiling from source
✖ RequestError: tunneling socket could not be established, cause=Parse Error
at ClientRequest. (/home/abhishek/browsix/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin/node_modules/bin-build/node_modules/download/node_modules/got/index.js:68:21)
at ClientRequest.g (events.js:260:16)
at emitOne (events.js:77:13)
at ClientRequest.emit (events.js:169:7)
at ClientRequest.onError (/home/abhishek/browsix/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin/node_modules/bin-build/node_modules/download/node_modules/caw/node_modules/tunnel-agent/index.js:178:21)
at ClientRequest.g (events.js:260:16)
at emitOne (events.js:77:13)
at ClientRequest.emit (events.js:169:7)
at Socket.socketOnData (_http_client.js:307:9)
at emitOne (events.js:77:13)

[email protected] prepublish /home/abhishek/browsix
gulp build:dist

Warning: gulp-run is deprecated
[20:09:43] Using gulpfile ~/browsix/gulpfile.js
[20:09:43] Starting 'app:images'...
[20:09:45] Starting 'app:fonts'...
[20:09:45] Starting 'copy-node-kernel'...
[20:09:45] Starting 'lint-kernel'...
[20:09:45] Starting 'copy-node'...
[20:09:45] Starting 'lint-browser-node'...
[20:09:45] Starting 'lint-bin'...
[20:09:45] Starting 'lint-syscall-api'...
[20:09:45] Starting 'app:styles'...
[20:09:48] Finished 'app:fonts' after 2.71 s
[20:09:48] Finished 'copy-node-kernel' after 2.78 s
[20:09:50] Finished 'lint-syscall-api' after 4.77 s
Unhandled rejection Error: spawn /home/abhishek/browsix/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin/vendor/optipng ENOENT
at exports._errnoException (util.js:870:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
at onErrorNT (internal/child_process.js:344:16)
at nextTickCallbackWith2Args (node.js:437:9)
at process._tickDomainCallback (node.js:392:17)

[20:09:51] styles all files 143 B
[20:09:51] Finished 'app:styles' after 6.39 s
[20:09:52] Finished 'lint-kernel' after 6.73 s
[20:09:52] Starting 'build-kernel'...
src/kernel/kernel.ts(16,28): error TS2307: Cannot find module './http_parser'.
src/kernel/kernel.ts(18,28): error TS2307: Cannot find module './vendor/BrowserFS/src/core/browserfs'.
src/kernel/kernel.ts(19,20): error TS2307: Cannot find module './vendor/BrowserFS/src/core/node_fs'.
[20:09:54] TypeScript: 3 semantic errors
[20:09:54] TypeScript: emit succeeded (with errors)
[20:09:55] Finished 'build-kernel' after 2.79 s
[20:09:55] Starting 'dist-kernel'...
events.js:141
throw er; // Unhandled 'error' event
^

Error: Cannot find module './vendor/BrowserFS/src/core/browserfs' from '/home/abhishek/browsix/lib/kernel'
at /home/abhishek/browsix/node_modules/browserify/node_modules/resolve/lib/async.js:55:21
at load (/home/abhishek/browsix/node_modules/browserify/node_modules/resolve/lib/async.js:69:43)
at onex (/home/abhishek/browsix/node_modules/browserify/node_modules/resolve/lib/async.js:92:31)
at /home/abhishek/browsix/node_modules/browserify/node_modules/resolve/lib/async.js:22:47
at FSReqWrap.oncomplete (fs.js:82:15)

npm ERR! Linux 4.2.0-27-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v4.3.1
npm ERR! npm v2.14.12
npm ERR! code ELIFECYCLE
npm ERR! [email protected] prepublish: gulp build:dist
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] prepublish script 'gulp build:dist'.
npm ERR! This is most likely a problem with the browsix package,
npm ERR! not with npm itself.

npm ERR! Tell the author that this fails on your system:
npm ERR! gulp build:dist
npm ERR! You can get their info via:
npm ERR! npm owner ls browsix
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/abhishek/browsix/npm-debug.log
Makefile:58: recipe for target 'node_modules' failed
make: *** [node_modules] Error 1

from browsix.

bpowers avatar bpowers commented on August 16, 2024

Hi @CoderAbhishek,

When looking at node or npm errors, it helps to start at the bottom. In this case the bottom most error is:

Error: Cannot find module './vendor/BrowserFS/src/core/browserfs' from '/home/abhishek/browsix/lib/kernel'
at /home/abhishek/browsix/node_modules/browserify/node_modules/resolve/lib/async.js:55:21
at load (/home/abhishek/browsix/node_modules/browserify/node_modules/resolve/lib/async.js:69:43)
at onex (/home/abhishek/browsix/node_modules/browserify/node_modules/resolve/lib/async.js:92:31)
at /home/abhishek/browsix/node_modules/browserify/node_modules/resolve/lib/async.js:22:47
at FSReqWrap.oncomplete (fs.js:82:15)

Which means that our one git submodule is missing. If you re-ran make a second time, it would probably work, but I've also updated the Makefile to fix this issue.

Please pull the latest changes and try:
make distclean test-once shell

Thanks for sticking with this!

from browsix.

cosmo-kramer avatar cosmo-kramer commented on August 16, 2024

seems something broke after change:

make distclean test-once shell or make test-once serve

make: *** No rule to make target 'src/kernel/vendor/BrowserFS', needed by 'src/kernel/vendor/BrowserFS/dist/browserfs.js'. Stop.

I went two commits back and it was running fine

from browsix.

bpowers avatar bpowers commented on August 16, 2024

@CoderAbhishek - I don't think that problem could have been caused by the Makefile changes -- src/kernel/vendor/BrowserFS is created by git and is there after a clean checkout. Maybe you had deleted it or moved it while debuggin? I suspect that if you had done a git reset --hard without changing the commit of your current branch, it also would have succeeded.

Have you gotten the tests and shell running locally? Could you try once more to pull the latest and build? I would like to confirm that recent changes are either working or not working for you.

Thanks!

from browsix.

cosmo-kramer avatar cosmo-kramer commented on August 16, 2024

@bpowers make test-once serve gives following error,please look into:

RR! registry error parsing json
npm ERR! registry error parsing json
.
.
. //lot of repetitions
.
npm ERR! registry error parsing json
npm ERR! Linux 4.2.0-30-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v4.3.1
npm ERR! npm v2.14.12

npm ERR! Unexpected token <
npm ERR! <title>ERROR: The requested URL could not be retrieved</title> <style type="text/css"></style>

ERROR

The requested URL could not be retrieved


The following error was encountered while trying to retrieve the URL: http://127.0.0.1:3128/chai

Access Denied.

Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.

Your cache administrator is [email protected].




npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request:
npm ERR! /home/abhishek/browsix/npm-debug.log
Makefile:58: recipe for target 'node_modules' failed

Thanks

from browsix.

bpowers avatar bpowers commented on August 16, 2024

@CoderAbhishek -- I believe this is an issue with your internet connection, please take a more detailed look at the error. Specifically:

The following error was encountered while trying to retrieve the URL: http://127.0.0.1:3128/chai

Access Denied.
Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.

Your cache administrator is [email protected].

from browsix.

cosmo-kramer avatar cosmo-kramer commented on August 16, 2024

Thanks for your reply,I'm behind a http proxy,now I've configured it for npm , make test-once serve ran but with some error as shown below,but it did not launch a firefox or chrome window finally.It opened in between and after running tests automatically closed.

TEST
Warning: gulp-run is deprecated
[17:26:05] Using gulpfile ~/browsix/gulpfile.js
[17:26:05] Starting 'copy-node-kernel'...
[17:26:05] Starting 'lint-kernel'...
[17:26:06] Starting 'copy-node'...
[17:26:06] Starting 'lint-browser-node'...
[17:26:06] Starting 'lint-bin'...
[17:26:06] Starting 'lint-syscall-api'...
[17:26:06] Finished 'copy-node-kernel' after 123 ms
[17:26:08] Finished 'lint-syscall-api' after 2.31 s
[17:26:10] Finished 'lint-kernel' after 4.15 s
[17:26:10] Starting 'build-kernel'...
[17:26:11] Finished 'lint-browser-node' after 5.39 s
[17:26:12] Finished 'lint-bin' after 6.16 s
[17:26:12] Starting 'build-bin'...
[17:26:12] Finished 'copy-node' after 6.39 s
[17:26:12] Starting 'build-browser-node'...
src/kernel/kernel.ts(17,28): error TS2307: Cannot find module './http_parser'.
[17:26:16] TypeScript: 1 semantic error
[17:26:16] TypeScript: emit succeeded (with errors)
src/browser-node/browser-node.ts(25,36): error TS2307: Cannot find module './binding/http_parser'.
src/browser-node/browser-node.ts(136,21): error TS2307: Cannot find module './fs'.
src/browser-node/browser-node.ts(137,25): error TS2307: Cannot find module './buffer'.
[17:26:19] TypeScript: 3 semantic errors
[17:26:19] TypeScript: emit succeeded (with errors)
[17:26:19] Finished 'build-browser-node' after 6.94 s
[17:26:19] Starting 'dist-browser-node'...
[17:26:19] Starting 'build-syscall-api'...
[17:26:20] Finished 'build-syscall-api' after 1.05 s
[17:26:20] Starting 'dist-syscall-api'...
[17:26:20] Finished 'build-bin' after 8.23 s
[17:26:22] Finished 'build-kernel' after 12 s
[17:26:22] Starting 'dist-kernel'...
[17:26:22] Finished 'dist-browser-node' after 3.04 s
[17:26:22] Finished 'dist-syscall-api' after 2.08 s
[17:26:22] Finished 'dist-kernel' after 752 ms
[17:26:22] Starting 'build-fs'...
[17:26:22] Finished 'build-fs' after 45 ms
[17:26:22] Starting 'index-fs'...
$ ./xhrfs-index fs
{"boot":{"kernel.js":null},"index.json":null,"usr":{"bin":{"cat":null,"curl":null,"cpu-intensive-program":null,"echo":null,"exec":null,"grep":null,"head":null,"hello":null,"hello-socket":null,"http-example":null,"mkdir":null,"nice":null,"ls":null,"node":null,"pipeline-example":null,"priority-test":null,"rm":null,"rmdir":null,"sh":null,"sha1sum":null,"socket-example":null,"sort":null,"stat":null,"tail":null,"tee":null,"touch":null,"wc":null}}}
[17:26:23] Finished 'index-fs' after 107 ms
[17:26:23] Starting 'build-test'...
test/test-cat.ts(7,30): error TS2307: Cannot find module '../lib/kernel/kernel'.
test/test-echo.ts(7,30): error TS2307: Cannot find module '../lib/kernel/kernel'.
test/test-exec.ts(7,30): error TS2307: Cannot find module '../lib/kernel/kernel'.
test/test-grep.ts(7,30): error TS2307: Cannot find module '../lib/kernel/kernel'.
test/test-head.ts(7,30): error TS2307: Cannot find module '../lib/kernel/kernel'.
test/test-ls.ts(7,30): error TS2307: Cannot find module '../lib/kernel/kernel'.
test/test-mkdir.ts(7,30): error TS2307: Cannot find module '../lib/kernel/kernel'.
test/test-nice.ts(7,30): error TS2307: Cannot find module '../lib/kernel/kernel'.
test/test-pipeline-example.ts(7,30): error TS2307: Cannot find module '../lib/kernel/kernel'.
test/test-rm.ts(7,30): error TS2307: Cannot find module '../lib/kernel/kernel'.
test/test-rmdir.ts(7,30): error TS2307: Cannot find module '../lib/kernel/kernel'.
test/test-scheduler.ts(7,30): error TS2307: Cannot find module '../lib/kernel/kernel'.
test/test-sh.ts(7,30): error TS2307: Cannot find module '../lib/kernel/kernel'.
test/test-sort.ts(7,30): error TS2307: Cannot find module '../lib/kernel/kernel'.
test/test-stat.ts(7,30): error TS2307: Cannot find module '../lib/kernel/kernel'.
test/test-tail.ts(7,30): error TS2307: Cannot find module '../lib/kernel/kernel'.
test/test-tee.ts(7,30): error TS2307: Cannot find module '../lib/kernel/kernel'.
test/test-touch.ts(7,30): error TS2307: Cannot find module '../lib/kernel/kernel'.
test/test-wc.ts(7,30): error TS2307: Cannot find module '../lib/kernel/kernel'.
test/test-xhrfs.ts(7,30): error TS2307: Cannot find module '../lib/kernel/kernel'.
[17:26:24] TypeScript: 20 semantic errors
[17:26:24] TypeScript: emit succeeded (with errors)
[17:26:24] Finished 'build-test' after 1.08 s
[17:26:24] Starting 'dist-test'...
[17:26:24] Finished 'dist-test' after 871 ms
[17:26:24] Starting 'default'...
27 02 2016 17:26:25.079:INFO [karma]: Karma v0.13.21 server started at http://localhost:9876/
27 02 2016 17:26:25.087:INFO [launcher]: Starting browser Firefox
27 02 2016 17:26:29.983:INFO [Firefox 44.0.0 (Ubuntu 0.0.0)]: Connected on socket /#5WK9sy7oC4_IjdyOAAAA with id 33932894
Firefox 44.0.0 (Ubuntu 0.0.0) LOG: 'using postMessage for setImmediate'

Firefox 44.0.0 (Ubuntu 0.0.0): Executed 48 of 48 SUCCESS (11.992 secs / 11.879 secs)
[17:26:42] Finished 'default' after 17 s
i SERVE
Warning: gulp-run is deprecated
f[17:26:55] Using gulpfile ~/browsix/gulpfile.js
[17:26:55] Starting 'copy-node-kernel'...
[17:26:55] Starting 'lint-kernel'...
[17:26:55] Starting 'copy-node'...
[17:26:56] Starting 'lint-browser-node'...
[17:26:56] Starting 'lint-bin'...
[17:26:56] Starting 'lint-syscall-api'...
[17:26:56] Starting 'app:styles'...
[17:26:59] Starting 'app:images'...
[17:27:02] Finished 'copy-node-kernel' after 6.16 s
[17:27:04] Finished 'lint-syscall-api' after 8.37 s
Unhandled rejection Error: spawn /home/abhishek/browsix/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin/vendor/optipng ENOENT
at exports._errnoException (util.js:870:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
at onErrorNT (internal/child_process.js:344:16)
at nextTickCallbackWith2Args (node.js:437:9)
at process._tickDomainCallback (node.js:392:17)

[17:27:06] Finished 'lint-kernel' after 11 s
[17:27:06] Starting 'build-kernel'...
[17:27:06] styles all files 143 B
[17:27:06] Finished 'app:styles' after 11 s
[17:27:07] Finished 'lint-browser-node' after 12 s
[17:27:09] Finished 'lint-bin' after 13 s
[17:27:09] Starting 'build-bin'...
src/kernel/kernel.ts(17,28): error TS2307: Cannot find module './http_parser'.
[17:27:12] TypeScript: 1 semantic error
[17:27:12] TypeScript: emit succeeded (with errors)
[17:27:12] Finished 'copy-node' after 16 s
[17:27:12] Starting 'build-browser-node'...
src/browser-node/browser-node.ts(25,36): error TS2307: Cannot find module './binding/http_parser'.
src/browser-node/browser-node.ts(136,21): error TS2307: Cannot find module './fs'.
src/browser-node/browser-node.ts(137,25): error TS2307: Cannot find module './buffer'.
[17:27:15] TypeScript: 3 semantic errors
[17:27:15] TypeScript: emit succeeded (with errors)
[17:27:15] Finished 'build-browser-node' after 2.73 s
[17:27:15] Starting 'dist-browser-node'...
[17:27:15] Starting 'build-syscall-api'...
[17:27:16] Finished 'build-syscall-api' after 836 ms
[17:27:16] Starting 'dist-syscall-api'...
[17:27:17] Finished 'build-bin' after 8.66 s
[17:27:17] Finished 'build-kernel' after 11 s
[17:27:17] Starting 'dist-kernel'...
[17:27:17] Finished 'dist-browser-node' after 2.72 s
[17:27:18] Finished 'dist-syscall-api' after 2.05 s
[17:27:18] Finished 'dist-kernel' after 707 ms
[17:27:18] Starting 'build-fs'...
[17:27:18] Finished 'build-fs' after 36 ms
[17:27:18] Starting 'index-fs'...
$ ./xhrfs-index fs
{"boot":{"kernel.js":null},"index.json":null,"usr":{"bin":{"cat":null,"cpu-intensive-program":null,"echo":null,"curl":null,"exec":null,"grep":null,"head":null,"hello":null,"hello-socket":null,"http-example":null,"ls":null,"mkdir":null,"nice":null,"node":null,"pipeline-example":null,"priority-test":null,"rm":null,"rmdir":null,"sh":null,"sha1sum":null,"socket-example":null,"sort":null,"stat":null,"tail":null,"tee":null,"touch":null,"wc":null}}}
[17:27:18] Finished 'index-fs' after 124 ms
[17:27:18] Starting 'app:build'...
[17:27:18] Starting 'app:copy'...
[17:27:19] Finished 'app:build' after 1.07 s
[17:27:28] copy all files 23.89 MB
[17:27:28] Finished 'app:copy' after 9.56 s
[17:27:28] Starting 'app:elements'...
[17:27:28] Finished 'app:elements' after 6.17 ms

from browsix.

bpowers avatar bpowers commented on August 16, 2024

that looks good! The unit tests ran and passed. going to close this issue for now as it dealt specificly with build problems

from browsix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.