Giter VIP home page Giter VIP logo

speedy.js's Introduction

Speedy.js

npm version Build Status Code Climate

Speedy.js is a compiler for a well considered, performance pitfalls free subset of JavaScript targeting WebAssembly. Because WebAssembly is statically-typed, the project uses TypeScript as type-checker and to resolve the types of the program symbols.

The project is very experimental and still far away from being production ready.

Getting Started

Setup LLVM

First, you need an LLVM installation that includes the experimental WebAssembly target. You can test if your LLVM installation includes the WebAssembly backend by running

llvm-config --targets-built

If the output contains the word WebAssembly you are good to go (continue with Install Cross Compiler). If not, then you have to build LLVM from source by following these instructions.

After LLVM has been built and is installed, set the path to the llvm-config executable (it is located in the installation directory) using npm config set or an .npmrc file in your project:

npm config set LLVM_CONFIG /llvm/install/dir/llvm-config

or when using the .npmrc file:

LLVM_CONFIG = "/llvm/install/dir/llvm-config"

Install Cross Compiler

Now the compiler can be installed using npm install (or yarn or whatever). Also install the custom TypeScript version that has support for the int base type.

npm install --save-dev speedyjs-compiler MichaReiser/TypeScript#2.3.3-with-int

Prebuilt VM

For those just interested in playing around the prebuilt Ubuntu Ubuntu VM (user: speedyjs, password: welcome) might be interesting. It contians the Speedy.js Playground project in the user's home directory.

Compile your first Script

You have to mark Speedy.js functions with the use speedyjs directive. Furthermore, you have to declare Speedy.js functions that are called from a pure JavaScript function as async (see fib).

fib.ts:

async function fib(value: int): Promise<int> {
    "use speedyjs";

    return fibSync(value);
}

function fibSync(value: int): int {
    "use speedyjs";

    if (value <= 2) {
        return 1;
    }

    return fibSync(value - 2) + fibSync(value - 1);
}

async function main() {
    console.log(await fib(40));
}

The compiler will compile the fib and fibSync function to WebAssembly whereas the main function remains in pure JS.

The script can be compiled using:

$(npm bin)/speedyjs fib.ts

which outputs the fib.js file.

To compile all files in the current directory omit any file names or pass multiple file names to the CLI. More details about how to use the CLI are documented in the wiki.

WebPack Loader

The package loader contains a WebPack loader for Speedy.js. Consult the README of the loader package for more details.

Benchmark

Benchmark

Setup the Development Environment

Clone the git repository:

git clone --recursive https://github.com/MichaReiser/speedy.js.git

Ensure that LLVM is set up (see Getting Started).

Run the install and bootstrap scripts in the just cloned directory:

npm install
npm run bootstrap

speedy.js's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

speedy.js's Issues

Create Test VM

Setup VM that can be used to experiment with the project

Source not compatible with windows file system

Cannot checkout the source in windows machine due to special characters in the file name.

image

Cloning into 'speedy.js'...
remote: Counting objects: 1253, done.
remote: Compressing objects: 100% (146/146), done.
remote: Total 1253 (delta 67), reused 0 (delta 0), pack-reused 1107
Receiving objects: 100% (1253/1253), 468.16 KiB | 139.00 KiB/s, done.
Resolving deltas: 100% (751/751), done.
error: unable to create file packages/compiler/__tests__/code-generation/cases/binary-expression/**.ts: Invalid argument
error: unable to create file packages/compiler/__tests__/code-generation/cases/binary-expression/*.ts: Invalid argument
error: unable to create file packages/compiler/__tests__/code-generation/cases/binary-expression/<.ts: Invalid argument
error: unable to create file packages/compiler/__tests__/code-generation/cases/binary-expression/<=.ts: Invalid argument
error: unable to create file packages/compiler/__tests__/code-generation/cases/binary-expression/>.ts: Invalid argument
error: unable to create file packages/compiler/__tests__/code-generation/cases/binary-expression/>=.ts: Invalid argument
error: unable to create file packages/compiler/__tests__/code-generation/cases/binary-expression/|.ts: Invalid argument
error: unable to create file packages/compiler/__tests__/code-generation/cases/binary-expression/||.ts: Invalid argument
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry the checkout with 'git checkout -f HEAD'

Build broken

The build is currently fails with the following output:

[0m�[37;40mlerna�[0m �[0m�[31;40mERR!�[0m �[0m�[35mexecute�[0m INFO:root: - ok

�[0m�[37;40mlerna�[0m �[0m�[31;40mERR!�[0m �[0m�[35mexecute�[0m INFO:root:generating system library: wasm_compiler_rt.a... (this will be cached in "/home/travis/build/MichaReiser/speedy.js/packages/runtime/.emscripten_cache/wasm/wasm_compiler_rt.a" for subsequent builds)

�[0m�[37;40mlerna�[0m �[0m�[31;40mERR!�[0m �[0m�[35mexecute�[0m INFO:root: - ok

�[0m�[37;40mlerna�[0m �[0m�[31;40mERR!�[0m �[0m�[35mexecute�[0m CMake Error at tools/emscripten/cmake/Modules/Platform/Emscripten.cmake:111 (message):

�[0m�[37;40mlerna�[0m �[0m�[31;40mERR!�[0m �[0m�[35mexecute�[0m   System LLVM compiler cannot be used to build with Emscripten! Check

�[0m�[37;40mlerna�[0m �[0m�[31;40mERR!�[0m �[0m�[35mexecute�[0m   Emscripten's LLVM toolchain location in .emscripten configuration file, and

�[0m�[37;40mlerna�[0m �[0m�[31;40mERR!�[0m �[0m�[35mexecute�[0m   make sure to point CMAKE_C_COMPILER to where emcc is located.  (was

�[0m�[37;40mlerna�[0m �[0m�[31;40mERR!�[0m �[0m�[35mexecute�[0m   pointing to

�[0m�[37;40mlerna�[0m �[0m�[31;40mERR!�[0m �[0m�[35mexecute�[0m   "/home/travis/build/MichaReiser/speedy.js/packages/runtime/tools/emscripten/emcc")

�[0m�[37;40mlerna�[0m �[0m�[31;40mERR!�[0m �[0m�[35mexecute�[0m Call Stack (most recent call first):

�[0m�[37;40mlerna�[0m �[0m�[31;40mERR!�[0m �[0m�[35mexecute�[0m   /usr/local/share/cmake-3.7/Modules/CMakeDetermineSystem.cmake:88 (include)

�[0m�[37;40mlerna�[0m �[0m�[31;40mERR!�[0m �[0m�[35mexecute�[0m   CMakeLists.txt:2 (project)

Is an emscripten bug, see emscripten-core/emscripten#5203

Online playground for speedy.js

I created playground for typescript-like languages. Currently support only AssemblyScript but in near future TurboScript will be support as well. But all this languages support browser's offline mode. Another word - speedy.js which should server backend. So it will be great provide some public REST API from some free dedicated server that allowing speedy.js as well. Thoughts?

Possible to Use Without LLVM?

This looks like an extremely promising project. However, the dependency on a source build of LLVM makes it nigh impossible to use in a CI/CD pipeline. Is there any way to get the speedy.js compiler to output wast directly, without LLVM or is the only target ll bitcode?

npm install --save-dev speedyjs-compiler FAILED

failed when building llvm-node.

OS: Ubuntu 20.04.2 LTS

[100%] Linking CXX executable bin/wasm-opt
[100%] Built target wasm-opt


speedyjs-runtime configuration { BINARYEN: 'tools/binaryen', LLVM_CONFIG: '/usr/bin/llvm-config' }

> [email protected] install /home/xuxiong/dev/node_modules/llvm-node
> cmake-js compile

info TOOL Using Ninja generator, because ninja is available.
info CMD CONFIGURE
info RUN cmake "/home/xuxiong/dev/node_modules/llvm-node" --no-warn-unused-cli -G"Ninja" -DCMAKE_JS_VERSION="4.0.1" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_LIBRARY_OUTPUT_DIRECTORY="/home/xuxiong/dev/node_modules/llvm-node/build/Release" -DCMAKE_JS_INC="/home/xuxiong/.cmake-js/node-x64/v14.17.0/include/node;/home/xuxiong/dev/node_modules/nan" -DNODE_RUNTIME="node" -DNODE_RUNTIMEVERSION="14.17.0" -DNODE_ARCH="x64"
Not searching for unused variables given on the command line.
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found LLVM 10.0.0
-- Using LLVMConfig.cmake in: /usr/lib/llvm-10/cmake
-- Configuring done
-- Generating done
-- Build files have been written to: /home/xuxiong/dev/node_modules/llvm-node/build
info CMD BUILD
info RUN cmake --build "/home/xuxiong/dev/node_modules/llvm-node/build" --config Release
[5/42] Building CXX object CMakeFiles/llvm-node.dir/src/ir/struct-type.cc.o
FAILED: CMakeFiles/llvm-node.dir/src/ir/struct-type.cc.o
/usr/bin/c++  -Dllvm_node_EXPORTS -I/home/xuxiong/.cmake-js/node-x64/v14.17.0/include/node -I/home/xuxiong/dev/node_modules/nan -I.././node_modules/nan -I/usr/lib/llvm-10/include -O3 -DNDEBUG -fPIC   -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -MD -MT CMakeFiles/llvm-node.dir/src/ir/struct-type.cc.o -MF CMakeFiles/llvm-node.dir/src/ir/struct-type.cc.o.d -o CMakeFiles/llvm-node.dir/src/ir/struct-type.cc.o -c ../src/ir/struct-type.cc
../src/ir/struct-type.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE StructTypeWrapper::get(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/ir/struct-type.cc:58:36: error: no matching function for call to ‘v8::Array::Get(size_t&)’
   58 |         auto element = array->Get(i);
      |                                    ^
In file included from /home/xuxiong/.cmake-js/node-x64/v14.17.0/include/node/node.h:67,
                 from /home/xuxiong/dev/node_modules/nan/nan.h:56,
                 from ../src/ir/struct-type.h:8,
                 from ../src/ir/struct-type.cc:5:
/home/xuxiong/.cmake-js/node-x64/v14.17.0/include/node/v8.h:3717:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
 3717 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
      |                                           ^~~
/home/xuxiong/.cmake-js/node-x64/v14.17.0/include/node/v8.h:3717:43: note:   candidate expects 2 arguments, 1 provided
/home/xuxiong/.cmake-js/node-x64/v14.17.0/include/node/v8.h:3720:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
 3720 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
      |                                           ^~~
/home/xuxiong/.cmake-js/node-x64/v14.17.0/include/node/v8.h:3720:43: note:   candidate expects 2 arguments, 1 provided
../src/ir/struct-type.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE StructTypeWrapper::setBody(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/ir/struct-type.cc:143:36: error: no matching function for call to ‘v8::Array::Get(size_t&)’
  143 |         auto element = array->Get(i);
      |                                    ^
In file included from /home/xuxiong/.cmake-js/node-x64/v14.17.0/include/node/node.h:67,
                 from /home/xuxiong/dev/node_modules/nan/nan.h:56,
                 from ../src/ir/struct-type.h:8,
                 from ../src/ir/struct-type.cc:5:
/home/xuxiong/.cmake-js/node-x64/v14.17.0/include/node/v8.h:3717:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
 3717 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
      |                                           ^~~
/home/xuxiong/.cmake-js/node-x64/v14.17.0/include/node/v8.h:3717:43: note:   candidate expects 2 arguments, 1 provided
/home/xuxiong/.cmake-js/node-x64/v14.17.0/include/node/v8.h:3720:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
 3720 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
      |                                           ^~~
/home/xuxiong/.cmake-js/node-x64/v14.17.0/include/node/v8.h:3720:43: note:   candidate expects 2 arguments, 1 provided
[6/42] Building CXX object CMakeFiles/llvm-node.dir/src/ir/type.cc.o
FAILED: CMakeFiles/llvm-node.dir/src/ir/type.cc.o
/usr/bin/c++  -Dllvm_node_EXPORTS -I/home/xuxiong/.cmake-js/node-x64/v14.17.0/include/node -I/home/xuxiong/dev/node_modules/nan -I.././node_modules/nan -I/usr/lib/llvm-10/include -O3 -DNDEBUG -fPIC   -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -MD -MT CMakeFiles/llvm-node.dir/src/ir/type.cc.o -MF CMakeFiles/llvm-node.dir/src/ir/type.cc.o.d -o CMakeFiles/llvm-node.dir/src/ir/type.cc.o -c ../src/ir/type.cc
../src/ir/type.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE TypeWrapper::getPrimitiveSizeInBits(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/ir/type.cc:234:70: error: call of overloaded ‘New(llvm::TypeSize)’ is ambiguous
  234 |     info.GetReturnValue().Set(Nan::New(type->getPrimitiveSizeInBits()));
      |                                                                      ^
In file included from /home/xuxiong/dev/node_modules/nan/nan.h:290,
                 from ../src/ir/type.h:8,
                 from ../src/ir/type.cc:7:
/home/xuxiong/dev/node_modules/nan/nan_new.h:270:1: note: candidate: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t Nan::New(bool)’
  270 | New(bool value) {
      | ^~~
/home/xuxiong/dev/node_modules/nan/nan_new.h:276:1: note: candidate: ‘Nan::imp::IntegerFactory<v8::Int32>::return_t Nan::New(int32_t)’
  276 | New(int32_t value) {
      | ^~~
/home/xuxiong/dev/node_modules/nan/nan_new.h:282:1: note: candidate: ‘Nan::imp::FactoryBase<v8::Uint32>::return_t Nan::New(uint32_t)’
  282 | New(uint32_t value) {
      | ^~~
/home/xuxiong/dev/node_modules/nan/nan_new.h:288:1: note: candidate: ‘Nan::imp::FactoryBase<v8::Number>::return_t Nan::New(double)’
  288 | New(double value) {
      | ^~~
[9/42] Building CXX object CMakeFiles/llvm-node.dir/src/ir/function-type.cc.o

npm run bootstrap failed

I compiled LLVM locally and tried to start npm run bootstrap. but it failed.

OS : macOS Sierra (10.12.4)

NpmUtilities.execInDir        ("run prepublish", [], "./packages/runtime")
Error: Command failed: npm run prepublish
INFO:root:generating system asset: is_vanilla.txt... (this will be cached in "/Users/n.vinayakan/.emscripten_cache/is_vanilla.txt" for subsequent builds)
INFO:root: - ok
WARNING:root:LLVM version appears incorrect (seeing "5.0", expected "4.0")
INFO:root:(Emscripten: Running sanity checks)
INFO:root:generating system library: libcxx.a... (this will be cached in "/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten_cache/wasm/libcxx.a" for subsequent builds)
INFO:root: - ok
INFO:root:generating system library: libcxxabi.bc... (this will be cached in "/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten_cache/wasm/libcxxabi.bc" for subsequent builds)
INFO:root: - ok
INFO:root:generating system library: libc.bc... (this will be cached in "/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten_cache/wasm/libc.bc" for subsequent builds)
/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/system/lib/libc/musl/src/internal/floatscan.c:298:7: warning: absolute value function 'fabs' given an argument of type 'long double' but has parameter of type 'double' which may cause truncation of value [-Wabsolute-value]
                if (fabs(y) >= CONCAT(0x1p, LDBL_MANT_DIG)) {
                    ^
/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/system/lib/libc/musl/src/internal/floatscan.c:298:7: note: use function 'fabsl' instead
                if (fabs(y) >= CONCAT(0x1p, LDBL_MANT_DIG)) {
                    ^~~~
                    fabsl
1 warning generated.
INFO:root: - ok
INFO:root:generating system library: dlmalloc.bc... (this will be cached in "/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten_cache/wasm/dlmalloc.bc" for subsequent builds)
INFO:root: - ok
INFO:root:generating system library: wasm-libc.bc... (this will be cached in "/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten_cache/wasm/wasm-libc.bc" for subsequent builds)
INFO:root: - ok
INFO:root:generating system library: wasm_compiler_rt.a... (this will be cached in "/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten_cache/wasm/wasm_compiler_rt.a" for subsequent builds)
INFO:root: - ok
CMake Error at test/CMakeLists.txt:1 (add_subdirectory):
  The source directory

    /Users/n.vinayakan/workspace/speedy.js/packages/runtime/test/googletest

  does not contain a CMakeLists.txt file.



npm ERR! Darwin 16.5.0
npm ERR! argv "/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin/node" "/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin/npm" "run" "prepublish"
npm ERR! node v7.9.0
npm ERR! npm  v4.2.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] prepublish: `tsc && gulp build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] prepublish script 'tsc && gulp build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the speedyjs-runtime package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     tsc && gulp build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs speedyjs-runtime
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls speedyjs-runtime
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/n.vinayakan/.npm/_logs/2017-05-03T12_44_25_230Z-debug.log

    at ChildProcess.exithandler (child_process.js:205:12)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:194:7)
    at maybeClose (internal/child_process.js:899:16)
    at Socket.<anonymous> (internal/child_process.js:342:11)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:191:7)
    at Pipe._handle.close [as _onclose] (net.js:510:12)

> [email protected] prepublish /Users/n.vinayakan/workspace/speedy.js/packages/runtime
> tsc && gulp build

[14:41:39] Using gulpfile ~/workspace/speedy.js/packages/runtime/gulpfile.js
[14:41:39] Starting 'build'...
[14:41:39] Starting 'build:clean'...
[14:41:39] Finished 'build:clean' after 7.96 ms
[14:41:39] Starting 'build:libs'...
[14:44:24] Finished 'build:libs' after 2.73 min
[14:44:24] Starting 'build:runtime'...
[14:44:24] Starting 'build:runtime:configure'...
-- Configuring incomplete, errors occurred!
See also "/Users/n.vinayakan/workspace/speedy.js/packages/runtime/cmake-build-release/CMakeFiles/CMakeOutput.log".
[14:44:25] 'build:runtime:configure' errored after 427 ms
[14:44:25] Error: Command failed: cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
    at checkExecSyncError (child_process.js:481:13)
    at Object.execSync (child_process.js:521:13)
    at Gulp.<anonymous> (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/gulpfile.js:63:19)
    at module.exports (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/lib/runTask.js:34:7)
    at Gulp.Orchestrator._runTask (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:273:3)
    at Gulp.Orchestrator._runStep (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:214:10)
    at Gulp.Orchestrator.start (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:134:8)
    at runNextSet (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/run-sequence/index.js:86:16)
    at runSequence (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/run-sequence/index.js:97:2)
    at Gulp.<anonymous> (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/gulpfile.js:44:5)
[14:44:25] 'build' errored after 2.75 min
[14:44:25] Error in plugin 'run-sequence(build:runtime:configure)'
Message:
    Command failed: cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
Details:
    error: null
    cmd: cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
    file: /bin/sh
    args: /bin/sh,-c,cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
    options: [object Object]
    envPairs: EM_CONFIG=/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten,npm_config_save_dev=,npm_config_legacy_bundling=,npm_config_dry_run=,npm_config_only=,npm_config_browser=,npm_config_viewer=man,MANPATH=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/share/man:/usr/local/share/man:/usr/share/man:/Library/Developer/CommandLineTools/usr/share/man,npm_config_also=,npm_config_rollback=true,TERM_PROGRAM=iTerm.app,npm_config_usage=,NODE=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin/node,npm_package_homepage=https://github.com/MichaReiser/speedy.js#readme,npm_package_devDependencies_typescript=^2.2.1,ANDROID_HOME=/usr/local/opt/android-sdk,NVM_CD_FLAGS=-q,npm_config_globalignorefile=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/etc/npmignore,SHELL=/bin/zsh,TERM=xterm-256color,npm_config_init_author_url=,npm_config_shell=/bin/zsh,npm_config_maxsockets=50,npm_config_parseable=,npm_config_shrinkwrap=true,npm_config_metrics_registry=https://registry.npmjs.org/,TMPDIR=/var/folders/83/1rwryfw959x7g_0c1nbb6gz40000gp/T/,npm_config_init_license=ISC,Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.vTcOKW3rPz/Render,npm_config_if_present=,TERM_PROGRAM_VERSION=3.0.15,npm_config_sign_git_tag=,npm_config_init_author_email=,npm_config_cache_max=Infinity,npm_config_long=,npm_config_local_address=,npm_config_cert=,npm_config_git_tag_version=true,TERM_SESSION_ID=w0t2p0:B93F7DF2-BF35-4E46-B7E9-D3BB485E5742,npm_config_registry=https://registry.npmjs.org/,npm_config_fetch_retries=2,npm_package_devDependencies_tmp=0.0.31,npm_package_repository_url=git+https://github.com/MichaReiser/speedy.js.git,ZSH=/Users/n.vinayakan/.oh-my-zsh,npm_config_versions=,npm_config_key=,npm_config_message=%s,npm_package_description=Runtime of SpeedyJS,USER=n.vinayakan,NVM_DIR=/Users/n.vinayakan/.nvm,npm_package_license=MIT,COMMAND_MODE=unix2003,npm_config_globalconfig=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/etc/npmrc,npm_config_always_auth=,npm_config_logs_max=10,USER_NAME=Nidin Vinayakan,npm_package_scripts_prepublish=tsc && gulp build,SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.hlUiJP16sE/Listeners,__CF_USER_TEXT_ENCODING=0x1F6:0x0:0x0,npm_execpath=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/lib/node_modules/npm/bin/npm-cli.js,npm_config_global_style=,npm_config_cache_lock_retries=10,npm_config_cafile=,PAGER=less,npm_package_author_name=Micha Reiser,npm_config_heading=npm,LSCOLORS=Gxfxcxdxbxegedabagacad,npm_config_searchlimit=20,npm_config_proprietary_attribs=true,npm_config_fetch_retry_mintimeout=10000,npm_config_json=,npm_config_access=,npm_config_argv={"remain":[],"cooked":["run","prepublish"],"original":["run","prepublish"]},PATH=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/lib/node_modules/npm/bin/node-gyp-bin:/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/.bin:/Users/n.vinayakan/.nvm/versions/node/v7.9.0/lib/node_modules/npm/bin/node-gyp-bin:/Users/n.vinayakan/workspace/speedy.js/node_modules/.bin:/usr/local/opt/php70/bin:/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin:/opt/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/n.vinayakan/lab/01-tools/bin:/Applications/Wine Staging.app/Contents/Resources/wine/bin:/Users/d437814/workspace/wasm_spec/interpreter:/Users/d437814/workspace/binaryen/bin:/Users/n.vinayakan/emsdk_portable:/Users/d437814/emsdk_portable/clang/e1.35.0_64bit:/Users/d437814/emsdk_portable/node/4.1.1_64bit/bin:/Users/d437814/emsdk_portable/emscripten/1.35.0:/usr/local/go/bin:/Users/d437814/workspace/wabt/out,npm_config_https_proxy=,npm_config_engine_strict=,npm_config_description=true,npm_config_userconfig=/Users/n.vinayakan/.npmrc,npm_config_init_module=/Users/n.vinayakan/.npm-init.js,NVM_NODEJS_ORG_MIRROR=https://nodejs.org/dist,PWD=/Users/n.vinayakan/workspace/speedy.js/packages/runtime,npm_config_user=502,npm_config_node_version=7.9.0,npm_package_bugs_url=https://github.com/MichaReiser/speedy.js/issues,JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home,npm_lifecycle_event=prepublish,npm_config_save=,npm_config_editor=vi,npm_package_repository_type=git,npm_package_name=speedyjs-runtime,npm_config_tag=latest,ITERM_PROFILE=Default,npm_config_global=,npm_config_progress=true,npm_package_scripts_preinstall=node ./scripts/install-dependencies.js,npm_config_searchstaleness=900,npm_config_optional=true,XPC_FLAGS=0x0,npm_config_force=,npm_config_bin_links=true,npm_config_searchopts=,npm_package_devDependencies_run_sequence=^1.2.2,npm_config_depth=Infinity,npm_package_main=index.js,npm_config_rebuild_bundle=true,npm_package_devDependencies_del=^2.2.2,npm_package_version=0.0.1,XPC_SERVICE_NAME=0,npm_config_unicode=true,COLORFGBG=12;8,HOME=/Users/n.vinayakan,SHLVL=5,npm_config_fetch_retry_maxtimeout=60000,npm_package_scripts_test=ls ./bin && gulp test && ls ./bin,npm_config_ca=,npm_config_tag_version_prefix=v,npm_config_strict_ssl=true,npm_config_scripts_prepend_node_path=warn-only,npm_config_save_prefix=^,npm_config_loglevel=warn,npm_config_save_exact=,npm_config_dev=,npm_config_group=20,npm_config_fetch_retry_factor=10,npm_package_devDependencies_gulp=^3.9.1,npm_config_version=,npm_config_cache_lock_stale=60000,npm_config_cache_min=10,npm_package_dependencies__types_node=^7.0.8,ITERM_SESSION_ID=w0t2p0:B93F7DF2-BF35-4E46-B7E9-D3BB485E5742,npm_config_searchexclude=,npm_config_cache=/Users/n.vinayakan/.npm,npm_package_typings=index.ts,LOGNAME=n.vinayakan,LESS=-R,npm_lifecycle_script=tsc && gulp build,npm_config_color=true,npm_config_proxy=,[email protected],LC_CTYPE=UTF-8,npm_config_save_optional=,NVM_BIN=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin,npm_config_ignore_scripts=,npm_config_user_agent=npm/4.2.0 node/v7.9.0 darwin x64,NVM_IOJS_ORG_MIRROR=https://iojs.org/dist,npm_config_cache_lock_wait=10000,npm_config_production=,npm_config_send_metrics=,npm_config_save_bundle=,npm_config_umask=0022,npm_config_init_version=1.0.0,npm_config_init_author_name=,npm_config_git=git,npm_config_scope=,SECURITYSESSIONID=186a8,npm_config_onload_script=,npm_config_unsafe_perm=true,npm_config_tmp=/var/folders/83/1rwryfw959x7g_0c1nbb6gz40000gp/T,npm_node_execpath=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin/node,npm_config_link=,npm_config_prefix=/Users/n.vinayakan/.nvm/versions/node/v7.9.0,npm_package_devDependencies_merge_stream=^1.0.1,_=/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/.bin/gulp,INIT_CWD=/Users/n.vinayakan/workspace/speedy.js/packages/runtime
    stderr: null
    stdout: null
    pid: 56287
    output: ,,
    signal: null
    status: 1
Stack:
Error: Command failed: cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
    at checkExecSyncError (child_process.js:481:13)
    at Object.execSync (child_process.js:521:13)
    at Gulp.<anonymous> (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/gulpfile.js:63:19)
    at module.exports (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/lib/runTask.js:34:7)
    at Gulp.Orchestrator._runTask (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:273:3)
    at Gulp.Orchestrator._runStep (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:214:10)
    at Gulp.Orchestrator.start (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:134:8)
    at runNextSet (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/run-sequence/index.js:86:16)
    at runSequence (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/run-sequence/index.js:97:2)
    at Gulp.<anonymous> (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/gulpfile.js:44:5)
[14:44:25] 'build:runtime' errored after 430 ms
[14:44:25] Error in plugin 'run-sequence(build)'
Message:
    Command failed: cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
Details:
    error: null
    cmd: cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
    file: /bin/sh
    args: /bin/sh,-c,cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
    options: [object Object]
    envPairs: EM_CONFIG=/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten,npm_config_save_dev=,npm_config_legacy_bundling=,npm_config_dry_run=,npm_config_only=,npm_config_browser=,npm_config_viewer=man,MANPATH=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/share/man:/usr/local/share/man:/usr/share/man:/Library/Developer/CommandLineTools/usr/share/man,npm_config_also=,npm_config_rollback=true,TERM_PROGRAM=iTerm.app,npm_config_usage=,NODE=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin/node,npm_package_homepage=https://github.com/MichaReiser/speedy.js#readme,npm_package_devDependencies_typescript=^2.2.1,ANDROID_HOME=/usr/local/opt/android-sdk,NVM_CD_FLAGS=-q,npm_config_globalignorefile=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/etc/npmignore,SHELL=/bin/zsh,TERM=xterm-256color,npm_config_init_author_url=,npm_config_shell=/bin/zsh,npm_config_maxsockets=50,npm_config_parseable=,npm_config_shrinkwrap=true,npm_config_metrics_registry=https://registry.npmjs.org/,TMPDIR=/var/folders/83/1rwryfw959x7g_0c1nbb6gz40000gp/T/,npm_config_init_license=ISC,Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.vTcOKW3rPz/Render,npm_config_if_present=,TERM_PROGRAM_VERSION=3.0.15,npm_config_sign_git_tag=,npm_config_init_author_email=,npm_config_cache_max=Infinity,npm_config_long=,npm_config_local_address=,npm_config_cert=,npm_config_git_tag_version=true,TERM_SESSION_ID=w0t2p0:B93F7DF2-BF35-4E46-B7E9-D3BB485E5742,npm_config_registry=https://registry.npmjs.org/,npm_config_fetch_retries=2,npm_package_devDependencies_tmp=0.0.31,npm_package_repository_url=git+https://github.com/MichaReiser/speedy.js.git,ZSH=/Users/n.vinayakan/.oh-my-zsh,npm_config_versions=,npm_config_key=,npm_config_message=%s,npm_package_description=Runtime of SpeedyJS,USER=n.vinayakan,NVM_DIR=/Users/n.vinayakan/.nvm,npm_package_license=MIT,COMMAND_MODE=unix2003,npm_config_globalconfig=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/etc/npmrc,npm_config_always_auth=,npm_config_logs_max=10,USER_NAME=Nidin Vinayakan,npm_package_scripts_prepublish=tsc && gulp build,SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.hlUiJP16sE/Listeners,__CF_USER_TEXT_ENCODING=0x1F6:0x0:0x0,npm_execpath=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/lib/node_modules/npm/bin/npm-cli.js,npm_config_global_style=,npm_config_cache_lock_retries=10,npm_config_cafile=,PAGER=less,npm_package_author_name=Micha Reiser,npm_config_heading=npm,LSCOLORS=Gxfxcxdxbxegedabagacad,npm_config_searchlimit=20,npm_config_proprietary_attribs=true,npm_config_fetch_retry_mintimeout=10000,npm_config_json=,npm_config_access=,npm_config_argv={"remain":[],"cooked":["run","prepublish"],"original":["run","prepublish"]},PATH=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/lib/node_modules/npm/bin/node-gyp-bin:/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/.bin:/Users/n.vinayakan/.nvm/versions/node/v7.9.0/lib/node_modules/npm/bin/node-gyp-bin:/Users/n.vinayakan/workspace/speedy.js/node_modules/.bin:/usr/local/opt/php70/bin:/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin:/opt/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/n.vinayakan/lab/01-tools/bin:/Applications/Wine Staging.app/Contents/Resources/wine/bin:/Users/d437814/workspace/wasm_spec/interpreter:/Users/d437814/workspace/binaryen/bin:/Users/n.vinayakan/emsdk_portable:/Users/d437814/emsdk_portable/clang/e1.35.0_64bit:/Users/d437814/emsdk_portable/node/4.1.1_64bit/bin:/Users/d437814/emsdk_portable/emscripten/1.35.0:/usr/local/go/bin:/Users/d437814/workspace/wabt/out,npm_config_https_proxy=,npm_config_engine_strict=,npm_config_description=true,npm_config_userconfig=/Users/n.vinayakan/.npmrc,npm_config_init_module=/Users/n.vinayakan/.npm-init.js,NVM_NODEJS_ORG_MIRROR=https://nodejs.org/dist,PWD=/Users/n.vinayakan/workspace/speedy.js/packages/runtime,npm_config_user=502,npm_config_node_version=7.9.0,npm_package_bugs_url=https://github.com/MichaReiser/speedy.js/issues,JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home,npm_lifecycle_event=prepublish,npm_config_save=,npm_config_editor=vi,npm_package_repository_type=git,npm_package_name=speedyjs-runtime,npm_config_tag=latest,ITERM_PROFILE=Default,npm_config_global=,npm_config_progress=true,npm_package_scripts_preinstall=node ./scripts/install-dependencies.js,npm_config_searchstaleness=900,npm_config_optional=true,XPC_FLAGS=0x0,npm_config_force=,npm_config_bin_links=true,npm_config_searchopts=,npm_package_devDependencies_run_sequence=^1.2.2,npm_config_depth=Infinity,npm_package_main=index.js,npm_config_rebuild_bundle=true,npm_package_devDependencies_del=^2.2.2,npm_package_version=0.0.1,XPC_SERVICE_NAME=0,npm_config_unicode=true,COLORFGBG=12;8,HOME=/Users/n.vinayakan,SHLVL=5,npm_config_fetch_retry_maxtimeout=60000,npm_package_scripts_test=ls ./bin && gulp test && ls ./bin,npm_config_ca=,npm_config_tag_version_prefix=v,npm_config_strict_ssl=true,npm_config_scripts_prepend_node_path=warn-only,npm_config_save_prefix=^,npm_config_loglevel=warn,npm_config_save_exact=,npm_config_dev=,npm_config_group=20,npm_config_fetch_retry_factor=10,npm_package_devDependencies_gulp=^3.9.1,npm_config_version=,npm_config_cache_lock_stale=60000,npm_config_cache_min=10,npm_package_dependencies__types_node=^7.0.8,ITERM_SESSION_ID=w0t2p0:B93F7DF2-BF35-4E46-B7E9-D3BB485E5742,npm_config_searchexclude=,npm_config_cache=/Users/n.vinayakan/.npm,npm_package_typings=index.ts,LOGNAME=n.vinayakan,LESS=-R,npm_lifecycle_script=tsc && gulp build,npm_config_color=true,npm_config_proxy=,[email protected],LC_CTYPE=UTF-8,npm_config_save_optional=,NVM_BIN=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin,npm_config_ignore_scripts=,npm_config_user_agent=npm/4.2.0 node/v7.9.0 darwin x64,NVM_IOJS_ORG_MIRROR=https://iojs.org/dist,npm_config_cache_lock_wait=10000,npm_config_production=,npm_config_send_metrics=,npm_config_save_bundle=,npm_config_umask=0022,npm_config_init_version=1.0.0,npm_config_init_author_name=,npm_config_git=git,npm_config_scope=,SECURITYSESSIONID=186a8,npm_config_onload_script=,npm_config_unsafe_perm=true,npm_config_tmp=/var/folders/83/1rwryfw959x7g_0c1nbb6gz40000gp/T,npm_node_execpath=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin/node,npm_config_link=,npm_config_prefix=/Users/n.vinayakan/.nvm/versions/node/v7.9.0,npm_package_devDependencies_merge_stream=^1.0.1,_=/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/.bin/gulp,INIT_CWD=/Users/n.vinayakan/workspace/speedy.js/packages/runtime
    stderr: null
    stdout: null
    pid: 56287
    output: ,,
    signal: null
    status: 1
Stack:
Error: Command failed: cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
    at checkExecSyncError (child_process.js:481:13)
    at Object.execSync (child_process.js:521:13)
    at Gulp.<anonymous> (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/gulpfile.js:63:19)
    at module.exports (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/lib/runTask.js:34:7)
    at Gulp.Orchestrator._runTask (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:273:3)
    at Gulp.Orchestrator._runStep (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:214:10)
    at Gulp.Orchestrator.start (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:134:8)
    at runNextSet (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/run-sequence/index.js:86:16)
    at runSequence (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/run-sequence/index.js:97:2)
    at Gulp.<anonymous> (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/gulpfile.js:44:5)
[14:44:25] 'build:runtime' errored after 431 ms
[14:44:25] Error in plugin 'run-sequence(build:runtime:configure)'
Message:
    Command failed: cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
Details:
    error: null
    cmd: cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
    file: /bin/sh
    args: /bin/sh,-c,cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
    options: [object Object]
    envPairs: EM_CONFIG=/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten,npm_config_save_dev=,npm_config_legacy_bundling=,npm_config_dry_run=,npm_config_only=,npm_config_browser=,npm_config_viewer=man,MANPATH=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/share/man:/usr/local/share/man:/usr/share/man:/Library/Developer/CommandLineTools/usr/share/man,npm_config_also=,npm_config_rollback=true,TERM_PROGRAM=iTerm.app,npm_config_usage=,NODE=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin/node,npm_package_homepage=https://github.com/MichaReiser/speedy.js#readme,npm_package_devDependencies_typescript=^2.2.1,ANDROID_HOME=/usr/local/opt/android-sdk,NVM_CD_FLAGS=-q,npm_config_globalignorefile=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/etc/npmignore,SHELL=/bin/zsh,TERM=xterm-256color,npm_config_init_author_url=,npm_config_shell=/bin/zsh,npm_config_maxsockets=50,npm_config_parseable=,npm_config_shrinkwrap=true,npm_config_metrics_registry=https://registry.npmjs.org/,TMPDIR=/var/folders/83/1rwryfw959x7g_0c1nbb6gz40000gp/T/,npm_config_init_license=ISC,Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.vTcOKW3rPz/Render,npm_config_if_present=,TERM_PROGRAM_VERSION=3.0.15,npm_config_sign_git_tag=,npm_config_init_author_email=,npm_config_cache_max=Infinity,npm_config_long=,npm_config_local_address=,npm_config_cert=,npm_config_git_tag_version=true,TERM_SESSION_ID=w0t2p0:B93F7DF2-BF35-4E46-B7E9-D3BB485E5742,npm_config_registry=https://registry.npmjs.org/,npm_config_fetch_retries=2,npm_package_devDependencies_tmp=0.0.31,npm_package_repository_url=git+https://github.com/MichaReiser/speedy.js.git,ZSH=/Users/n.vinayakan/.oh-my-zsh,npm_config_versions=,npm_config_key=,npm_config_message=%s,npm_package_description=Runtime of SpeedyJS,USER=n.vinayakan,NVM_DIR=/Users/n.vinayakan/.nvm,npm_package_license=MIT,COMMAND_MODE=unix2003,npm_config_globalconfig=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/etc/npmrc,npm_config_always_auth=,npm_config_logs_max=10,USER_NAME=Nidin Vinayakan,npm_package_scripts_prepublish=tsc && gulp build,SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.hlUiJP16sE/Listeners,__CF_USER_TEXT_ENCODING=0x1F6:0x0:0x0,npm_execpath=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/lib/node_modules/npm/bin/npm-cli.js,npm_config_global_style=,npm_config_cache_lock_retries=10,npm_config_cafile=,PAGER=less,npm_package_author_name=Micha Reiser,npm_config_heading=npm,LSCOLORS=Gxfxcxdxbxegedabagacad,npm_config_searchlimit=20,npm_config_proprietary_attribs=true,npm_config_fetch_retry_mintimeout=10000,npm_config_json=,npm_config_access=,npm_config_argv={"remain":[],"cooked":["run","prepublish"],"original":["run","prepublish"]},PATH=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/lib/node_modules/npm/bin/node-gyp-bin:/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/.bin:/Users/n.vinayakan/.nvm/versions/node/v7.9.0/lib/node_modules/npm/bin/node-gyp-bin:/Users/n.vinayakan/workspace/speedy.js/node_modules/.bin:/usr/local/opt/php70/bin:/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin:/opt/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/n.vinayakan/lab/01-tools/bin:/Applications/Wine Staging.app/Contents/Resources/wine/bin:/Users/d437814/workspace/wasm_spec/interpreter:/Users/d437814/workspace/binaryen/bin:/Users/n.vinayakan/emsdk_portable:/Users/d437814/emsdk_portable/clang/e1.35.0_64bit:/Users/d437814/emsdk_portable/node/4.1.1_64bit/bin:/Users/d437814/emsdk_portable/emscripten/1.35.0:/usr/local/go/bin:/Users/d437814/workspace/wabt/out,npm_config_https_proxy=,npm_config_engine_strict=,npm_config_description=true,npm_config_userconfig=/Users/n.vinayakan/.npmrc,npm_config_init_module=/Users/n.vinayakan/.npm-init.js,NVM_NODEJS_ORG_MIRROR=https://nodejs.org/dist,PWD=/Users/n.vinayakan/workspace/speedy.js/packages/runtime,npm_config_user=502,npm_config_node_version=7.9.0,npm_package_bugs_url=https://github.com/MichaReiser/speedy.js/issues,JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home,npm_lifecycle_event=prepublish,npm_config_save=,npm_config_editor=vi,npm_package_repository_type=git,npm_package_name=speedyjs-runtime,npm_config_tag=latest,ITERM_PROFILE=Default,npm_config_global=,npm_config_progress=true,npm_package_scripts_preinstall=node ./scripts/install-dependencies.js,npm_config_searchstaleness=900,npm_config_optional=true,XPC_FLAGS=0x0,npm_config_force=,npm_config_bin_links=true,npm_config_searchopts=,npm_package_devDependencies_run_sequence=^1.2.2,npm_config_depth=Infinity,npm_package_main=index.js,npm_config_rebuild_bundle=true,npm_package_devDependencies_del=^2.2.2,npm_package_version=0.0.1,XPC_SERVICE_NAME=0,npm_config_unicode=true,COLORFGBG=12;8,HOME=/Users/n.vinayakan,SHLVL=5,npm_config_fetch_retry_maxtimeout=60000,npm_package_scripts_test=ls ./bin && gulp test && ls ./bin,npm_config_ca=,npm_config_tag_version_prefix=v,npm_config_strict_ssl=true,npm_config_scripts_prepend_node_path=warn-only,npm_config_save_prefix=^,npm_config_loglevel=warn,npm_config_save_exact=,npm_config_dev=,npm_config_group=20,npm_config_fetch_retry_factor=10,npm_package_devDependencies_gulp=^3.9.1,npm_config_version=,npm_config_cache_lock_stale=60000,npm_config_cache_min=10,npm_package_dependencies__types_node=^7.0.8,ITERM_SESSION_ID=w0t2p0:B93F7DF2-BF35-4E46-B7E9-D3BB485E5742,npm_config_searchexclude=,npm_config_cache=/Users/n.vinayakan/.npm,npm_package_typings=index.ts,LOGNAME=n.vinayakan,LESS=-R,npm_lifecycle_script=tsc && gulp build,npm_config_color=true,npm_config_proxy=,[email protected],LC_CTYPE=UTF-8,npm_config_save_optional=,NVM_BIN=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin,npm_config_ignore_scripts=,npm_config_user_agent=npm/4.2.0 node/v7.9.0 darwin x64,NVM_IOJS_ORG_MIRROR=https://iojs.org/dist,npm_config_cache_lock_wait=10000,npm_config_production=,npm_config_send_metrics=,npm_config_save_bundle=,npm_config_umask=0022,npm_config_init_version=1.0.0,npm_config_init_author_name=,npm_config_git=git,npm_config_scope=,SECURITYSESSIONID=186a8,npm_config_onload_script=,npm_config_unsafe_perm=true,npm_config_tmp=/var/folders/83/1rwryfw959x7g_0c1nbb6gz40000gp/T,npm_node_execpath=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin/node,npm_config_link=,npm_config_prefix=/Users/n.vinayakan/.nvm/versions/node/v7.9.0,npm_package_devDependencies_merge_stream=^1.0.1,_=/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/.bin/gulp,INIT_CWD=/Users/n.vinayakan/workspace/speedy.js/packages/runtime
    stderr: null
    stdout: null
    pid: 56287
    output: ,,
    signal: null
    status: 1
Stack:
Error: Command failed: cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
    at checkExecSyncError (child_process.js:481:13)
    at Object.execSync (child_process.js:521:13)
    at Gulp.<anonymous> (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/gulpfile.js:63:19)
    at module.exports (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/lib/runTask.js:34:7)
    at Gulp.Orchestrator._runTask (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:273:3)
    at Gulp.Orchestrator._runStep (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:214:10)
    at Gulp.Orchestrator.start (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:134:8)
    at runNextSet (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/run-sequence/index.js:86:16)
    at runSequence (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/run-sequence/index.js:97:2)
    at Gulp.<anonymous> (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/gulpfile.js:44:5)

NpmUtilities.runScriptInDir   ("prepublish", [], "./packages/runtime")
Error: Command failed: npm run prepublish
INFO:root:generating system asset: is_vanilla.txt... (this will be cached in "/Users/n.vinayakan/.emscripten_cache/is_vanilla.txt" for subsequent builds)
INFO:root: - ok
WARNING:root:LLVM version appears incorrect (seeing "5.0", expected "4.0")
INFO:root:(Emscripten: Running sanity checks)
INFO:root:generating system library: libcxx.a... (this will be cached in "/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten_cache/wasm/libcxx.a" for subsequent builds)
INFO:root: - ok
INFO:root:generating system library: libcxxabi.bc... (this will be cached in "/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten_cache/wasm/libcxxabi.bc" for subsequent builds)
INFO:root: - ok
INFO:root:generating system library: libc.bc... (this will be cached in "/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten_cache/wasm/libc.bc" for subsequent builds)
/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/system/lib/libc/musl/src/internal/floatscan.c:298:7: warning: absolute value function 'fabs' given an argument of type 'long double' but has parameter of type 'double' which may cause truncation of value [-Wabsolute-value]
                if (fabs(y) >= CONCAT(0x1p, LDBL_MANT_DIG)) {
                    ^
/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/system/lib/libc/musl/src/internal/floatscan.c:298:7: note: use function 'fabsl' instead
                if (fabs(y) >= CONCAT(0x1p, LDBL_MANT_DIG)) {
                    ^~~~
                    fabsl
1 warning generated.
INFO:root: - ok
INFO:root:generating system library: dlmalloc.bc... (this will be cached in "/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten_cache/wasm/dlmalloc.bc" for subsequent builds)
INFO:root: - ok
INFO:root:generating system library: wasm-libc.bc... (this will be cached in "/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten_cache/wasm/wasm-libc.bc" for subsequent builds)
INFO:root: - ok
INFO:root:generating system library: wasm_compiler_rt.a... (this will be cached in "/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten_cache/wasm/wasm_compiler_rt.a" for subsequent builds)
INFO:root: - ok
CMake Error at test/CMakeLists.txt:1 (add_subdirectory):
  The source directory

    /Users/n.vinayakan/workspace/speedy.js/packages/runtime/test/googletest

  does not contain a CMakeLists.txt file.



npm ERR! Darwin 16.5.0
npm ERR! argv "/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin/node" "/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin/npm" "run" "prepublish"
npm ERR! node v7.9.0
npm ERR! npm  v4.2.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] prepublish: `tsc && gulp build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] prepublish script 'tsc && gulp build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the speedyjs-runtime package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     tsc && gulp build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs speedyjs-runtime
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls speedyjs-runtime
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/n.vinayakan/.npm/_logs/2017-05-03T12_44_25_230Z-debug.log

    at ChildProcess.exithandler (child_process.js:205:12)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:194:7)
    at maybeClose (internal/child_process.js:899:16)
    at Socket.<anonymous> (internal/child_process.js:342:11)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:191:7)
    at Pipe._handle.close [as _onclose] (net.js:510:12)

> [email protected] prepublish /Users/n.vinayakan/workspace/speedy.js/packages/runtime
> tsc && gulp build

[14:41:39] Using gulpfile ~/workspace/speedy.js/packages/runtime/gulpfile.js
[14:41:39] Starting 'build'...
[14:41:39] Starting 'build:clean'...
[14:41:39] Finished 'build:clean' after 7.96 ms
[14:41:39] Starting 'build:libs'...
[14:44:24] Finished 'build:libs' after 2.73 min
[14:44:24] Starting 'build:runtime'...
[14:44:24] Starting 'build:runtime:configure'...
-- Configuring incomplete, errors occurred!
See also "/Users/n.vinayakan/workspace/speedy.js/packages/runtime/cmake-build-release/CMakeFiles/CMakeOutput.log".
[14:44:25] 'build:runtime:configure' errored after 427 ms
[14:44:25] Error: Command failed: cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
    at checkExecSyncError (child_process.js:481:13)
    at Object.execSync (child_process.js:521:13)
    at Gulp.<anonymous> (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/gulpfile.js:63:19)
    at module.exports (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/lib/runTask.js:34:7)
    at Gulp.Orchestrator._runTask (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:273:3)
    at Gulp.Orchestrator._runStep (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:214:10)
    at Gulp.Orchestrator.start (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:134:8)
    at runNextSet (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/run-sequence/index.js:86:16)
    at runSequence (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/run-sequence/index.js:97:2)
    at Gulp.<anonymous> (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/gulpfile.js:44:5)
[14:44:25] 'build' errored after 2.75 min
[14:44:25] Error in plugin 'run-sequence(build:runtime:configure)'
Message:
    Command failed: cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
Details:
    error: null
    cmd: cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
    file: /bin/sh
    args: /bin/sh,-c,cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
    options: [object Object]
    envPairs: EM_CONFIG=/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten,npm_config_save_dev=,npm_config_legacy_bundling=,npm_config_dry_run=,npm_config_only=,npm_config_browser=,npm_config_viewer=man,MANPATH=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/share/man:/usr/local/share/man:/usr/share/man:/Library/Developer/CommandLineTools/usr/share/man,npm_config_also=,npm_config_rollback=true,TERM_PROGRAM=iTerm.app,npm_config_usage=,NODE=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin/node,npm_package_homepage=https://github.com/MichaReiser/speedy.js#readme,npm_package_devDependencies_typescript=^2.2.1,ANDROID_HOME=/usr/local/opt/android-sdk,NVM_CD_FLAGS=-q,npm_config_globalignorefile=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/etc/npmignore,SHELL=/bin/zsh,TERM=xterm-256color,npm_config_init_author_url=,npm_config_shell=/bin/zsh,npm_config_maxsockets=50,npm_config_parseable=,npm_config_shrinkwrap=true,npm_config_metrics_registry=https://registry.npmjs.org/,TMPDIR=/var/folders/83/1rwryfw959x7g_0c1nbb6gz40000gp/T/,npm_config_init_license=ISC,Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.vTcOKW3rPz/Render,npm_config_if_present=,TERM_PROGRAM_VERSION=3.0.15,npm_config_sign_git_tag=,npm_config_init_author_email=,npm_config_cache_max=Infinity,npm_config_long=,npm_config_local_address=,npm_config_cert=,npm_config_git_tag_version=true,TERM_SESSION_ID=w0t2p0:B93F7DF2-BF35-4E46-B7E9-D3BB485E5742,npm_config_registry=https://registry.npmjs.org/,npm_config_fetch_retries=2,npm_package_devDependencies_tmp=0.0.31,npm_package_repository_url=git+https://github.com/MichaReiser/speedy.js.git,ZSH=/Users/n.vinayakan/.oh-my-zsh,npm_config_versions=,npm_config_key=,npm_config_message=%s,npm_package_description=Runtime of SpeedyJS,USER=n.vinayakan,NVM_DIR=/Users/n.vinayakan/.nvm,npm_package_license=MIT,COMMAND_MODE=unix2003,npm_config_globalconfig=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/etc/npmrc,npm_config_always_auth=,npm_config_logs_max=10,USER_NAME=Nidin Vinayakan,npm_package_scripts_prepublish=tsc && gulp build,SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.hlUiJP16sE/Listeners,__CF_USER_TEXT_ENCODING=0x1F6:0x0:0x0,npm_execpath=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/lib/node_modules/npm/bin/npm-cli.js,npm_config_global_style=,npm_config_cache_lock_retries=10,npm_config_cafile=,PAGER=less,npm_package_author_name=Micha Reiser,npm_config_heading=npm,LSCOLORS=Gxfxcxdxbxegedabagacad,npm_config_searchlimit=20,npm_config_proprietary_attribs=true,npm_config_fetch_retry_mintimeout=10000,npm_config_json=,npm_config_access=,npm_config_argv={"remain":[],"cooked":["run","prepublish"],"original":["run","prepublish"]},PATH=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/lib/node_modules/npm/bin/node-gyp-bin:/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/.bin:/Users/n.vinayakan/.nvm/versions/node/v7.9.0/lib/node_modules/npm/bin/node-gyp-bin:/Users/n.vinayakan/workspace/speedy.js/node_modules/.bin:/usr/local/opt/php70/bin:/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin:/opt/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/n.vinayakan/lab/01-tools/bin:/Applications/Wine Staging.app/Contents/Resources/wine/bin:/Users/d437814/workspace/wasm_spec/interpreter:/Users/d437814/workspace/binaryen/bin:/Users/n.vinayakan/emsdk_portable:/Users/d437814/emsdk_portable/clang/e1.35.0_64bit:/Users/d437814/emsdk_portable/node/4.1.1_64bit/bin:/Users/d437814/emsdk_portable/emscripten/1.35.0:/usr/local/go/bin:/Users/d437814/workspace/wabt/out,npm_config_https_proxy=,npm_config_engine_strict=,npm_config_description=true,npm_config_userconfig=/Users/n.vinayakan/.npmrc,npm_config_init_module=/Users/n.vinayakan/.npm-init.js,NVM_NODEJS_ORG_MIRROR=https://nodejs.org/dist,PWD=/Users/n.vinayakan/workspace/speedy.js/packages/runtime,npm_config_user=502,npm_config_node_version=7.9.0,npm_package_bugs_url=https://github.com/MichaReiser/speedy.js/issues,JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home,npm_lifecycle_event=prepublish,npm_config_save=,npm_config_editor=vi,npm_package_repository_type=git,npm_package_name=speedyjs-runtime,npm_config_tag=latest,ITERM_PROFILE=Default,npm_config_global=,npm_config_progress=true,npm_package_scripts_preinstall=node ./scripts/install-dependencies.js,npm_config_searchstaleness=900,npm_config_optional=true,XPC_FLAGS=0x0,npm_config_force=,npm_config_bin_links=true,npm_config_searchopts=,npm_package_devDependencies_run_sequence=^1.2.2,npm_config_depth=Infinity,npm_package_main=index.js,npm_config_rebuild_bundle=true,npm_package_devDependencies_del=^2.2.2,npm_package_version=0.0.1,XPC_SERVICE_NAME=0,npm_config_unicode=true,COLORFGBG=12;8,HOME=/Users/n.vinayakan,SHLVL=5,npm_config_fetch_retry_maxtimeout=60000,npm_package_scripts_test=ls ./bin && gulp test && ls ./bin,npm_config_ca=,npm_config_tag_version_prefix=v,npm_config_strict_ssl=true,npm_config_scripts_prepend_node_path=warn-only,npm_config_save_prefix=^,npm_config_loglevel=warn,npm_config_save_exact=,npm_config_dev=,npm_config_group=20,npm_config_fetch_retry_factor=10,npm_package_devDependencies_gulp=^3.9.1,npm_config_version=,npm_config_cache_lock_stale=60000,npm_config_cache_min=10,npm_package_dependencies__types_node=^7.0.8,ITERM_SESSION_ID=w0t2p0:B93F7DF2-BF35-4E46-B7E9-D3BB485E5742,npm_config_searchexclude=,npm_config_cache=/Users/n.vinayakan/.npm,npm_package_typings=index.ts,LOGNAME=n.vinayakan,LESS=-R,npm_lifecycle_script=tsc && gulp build,npm_config_color=true,npm_config_proxy=,[email protected],LC_CTYPE=UTF-8,npm_config_save_optional=,NVM_BIN=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin,npm_config_ignore_scripts=,npm_config_user_agent=npm/4.2.0 node/v7.9.0 darwin x64,NVM_IOJS_ORG_MIRROR=https://iojs.org/dist,npm_config_cache_lock_wait=10000,npm_config_production=,npm_config_send_metrics=,npm_config_save_bundle=,npm_config_umask=0022,npm_config_init_version=1.0.0,npm_config_init_author_name=,npm_config_git=git,npm_config_scope=,SECURITYSESSIONID=186a8,npm_config_onload_script=,npm_config_unsafe_perm=true,npm_config_tmp=/var/folders/83/1rwryfw959x7g_0c1nbb6gz40000gp/T,npm_node_execpath=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin/node,npm_config_link=,npm_config_prefix=/Users/n.vinayakan/.nvm/versions/node/v7.9.0,npm_package_devDependencies_merge_stream=^1.0.1,_=/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/.bin/gulp,INIT_CWD=/Users/n.vinayakan/workspace/speedy.js/packages/runtime
    stderr: null
    stdout: null
    pid: 56287
    output: ,,
    signal: null
    status: 1
Stack:
Error: Command failed: cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
    at checkExecSyncError (child_process.js:481:13)
    at Object.execSync (child_process.js:521:13)
    at Gulp.<anonymous> (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/gulpfile.js:63:19)
    at module.exports (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/lib/runTask.js:34:7)
    at Gulp.Orchestrator._runTask (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:273:3)
    at Gulp.Orchestrator._runStep (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:214:10)
    at Gulp.Orchestrator.start (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:134:8)
    at runNextSet (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/run-sequence/index.js:86:16)
    at runSequence (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/run-sequence/index.js:97:2)
    at Gulp.<anonymous> (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/gulpfile.js:44:5)
[14:44:25] 'build:runtime' errored after 430 ms
[14:44:25] Error in plugin 'run-sequence(build)'
Message:
    Command failed: cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
Details:
    error: null
    cmd: cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
    file: /bin/sh
    args: /bin/sh,-c,cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
    options: [object Object]
    envPairs: EM_CONFIG=/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten,npm_config_save_dev=,npm_config_legacy_bundling=,npm_config_dry_run=,npm_config_only=,npm_config_browser=,npm_config_viewer=man,MANPATH=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/share/man:/usr/local/share/man:/usr/share/man:/Library/Developer/CommandLineTools/usr/share/man,npm_config_also=,npm_config_rollback=true,TERM_PROGRAM=iTerm.app,npm_config_usage=,NODE=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin/node,npm_package_homepage=https://github.com/MichaReiser/speedy.js#readme,npm_package_devDependencies_typescript=^2.2.1,ANDROID_HOME=/usr/local/opt/android-sdk,NVM_CD_FLAGS=-q,npm_config_globalignorefile=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/etc/npmignore,SHELL=/bin/zsh,TERM=xterm-256color,npm_config_init_author_url=,npm_config_shell=/bin/zsh,npm_config_maxsockets=50,npm_config_parseable=,npm_config_shrinkwrap=true,npm_config_metrics_registry=https://registry.npmjs.org/,TMPDIR=/var/folders/83/1rwryfw959x7g_0c1nbb6gz40000gp/T/,npm_config_init_license=ISC,Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.vTcOKW3rPz/Render,npm_config_if_present=,TERM_PROGRAM_VERSION=3.0.15,npm_config_sign_git_tag=,npm_config_init_author_email=,npm_config_cache_max=Infinity,npm_config_long=,npm_config_local_address=,npm_config_cert=,npm_config_git_tag_version=true,TERM_SESSION_ID=w0t2p0:B93F7DF2-BF35-4E46-B7E9-D3BB485E5742,npm_config_registry=https://registry.npmjs.org/,npm_config_fetch_retries=2,npm_package_devDependencies_tmp=0.0.31,npm_package_repository_url=git+https://github.com/MichaReiser/speedy.js.git,ZSH=/Users/n.vinayakan/.oh-my-zsh,npm_config_versions=,npm_config_key=,npm_config_message=%s,npm_package_description=Runtime of SpeedyJS,USER=n.vinayakan,NVM_DIR=/Users/n.vinayakan/.nvm,npm_package_license=MIT,COMMAND_MODE=unix2003,npm_config_globalconfig=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/etc/npmrc,npm_config_always_auth=,npm_config_logs_max=10,USER_NAME=Nidin Vinayakan,npm_package_scripts_prepublish=tsc && gulp build,SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.hlUiJP16sE/Listeners,__CF_USER_TEXT_ENCODING=0x1F6:0x0:0x0,npm_execpath=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/lib/node_modules/npm/bin/npm-cli.js,npm_config_global_style=,npm_config_cache_lock_retries=10,npm_config_cafile=,PAGER=less,npm_package_author_name=Micha Reiser,npm_config_heading=npm,LSCOLORS=Gxfxcxdxbxegedabagacad,npm_config_searchlimit=20,npm_config_proprietary_attribs=true,npm_config_fetch_retry_mintimeout=10000,npm_config_json=,npm_config_access=,npm_config_argv={"remain":[],"cooked":["run","prepublish"],"original":["run","prepublish"]},PATH=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/lib/node_modules/npm/bin/node-gyp-bin:/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/.bin:/Users/n.vinayakan/.nvm/versions/node/v7.9.0/lib/node_modules/npm/bin/node-gyp-bin:/Users/n.vinayakan/workspace/speedy.js/node_modules/.bin:/usr/local/opt/php70/bin:/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin:/opt/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/n.vinayakan/lab/01-tools/bin:/Applications/Wine Staging.app/Contents/Resources/wine/bin:/Users/d437814/workspace/wasm_spec/interpreter:/Users/d437814/workspace/binaryen/bin:/Users/n.vinayakan/emsdk_portable:/Users/d437814/emsdk_portable/clang/e1.35.0_64bit:/Users/d437814/emsdk_portable/node/4.1.1_64bit/bin:/Users/d437814/emsdk_portable/emscripten/1.35.0:/usr/local/go/bin:/Users/d437814/workspace/wabt/out,npm_config_https_proxy=,npm_config_engine_strict=,npm_config_description=true,npm_config_userconfig=/Users/n.vinayakan/.npmrc,npm_config_init_module=/Users/n.vinayakan/.npm-init.js,NVM_NODEJS_ORG_MIRROR=https://nodejs.org/dist,PWD=/Users/n.vinayakan/workspace/speedy.js/packages/runtime,npm_config_user=502,npm_config_node_version=7.9.0,npm_package_bugs_url=https://github.com/MichaReiser/speedy.js/issues,JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home,npm_lifecycle_event=prepublish,npm_config_save=,npm_config_editor=vi,npm_package_repository_type=git,npm_package_name=speedyjs-runtime,npm_config_tag=latest,ITERM_PROFILE=Default,npm_config_global=,npm_config_progress=true,npm_package_scripts_preinstall=node ./scripts/install-dependencies.js,npm_config_searchstaleness=900,npm_config_optional=true,XPC_FLAGS=0x0,npm_config_force=,npm_config_bin_links=true,npm_config_searchopts=,npm_package_devDependencies_run_sequence=^1.2.2,npm_config_depth=Infinity,npm_package_main=index.js,npm_config_rebuild_bundle=true,npm_package_devDependencies_del=^2.2.2,npm_package_version=0.0.1,XPC_SERVICE_NAME=0,npm_config_unicode=true,COLORFGBG=12;8,HOME=/Users/n.vinayakan,SHLVL=5,npm_config_fetch_retry_maxtimeout=60000,npm_package_scripts_test=ls ./bin && gulp test && ls ./bin,npm_config_ca=,npm_config_tag_version_prefix=v,npm_config_strict_ssl=true,npm_config_scripts_prepend_node_path=warn-only,npm_config_save_prefix=^,npm_config_loglevel=warn,npm_config_save_exact=,npm_config_dev=,npm_config_group=20,npm_config_fetch_retry_factor=10,npm_package_devDependencies_gulp=^3.9.1,npm_config_version=,npm_config_cache_lock_stale=60000,npm_config_cache_min=10,npm_package_dependencies__types_node=^7.0.8,ITERM_SESSION_ID=w0t2p0:B93F7DF2-BF35-4E46-B7E9-D3BB485E5742,npm_config_searchexclude=,npm_config_cache=/Users/n.vinayakan/.npm,npm_package_typings=index.ts,LOGNAME=n.vinayakan,LESS=-R,npm_lifecycle_script=tsc && gulp build,npm_config_color=true,npm_config_proxy=,[email protected],LC_CTYPE=UTF-8,npm_config_save_optional=,NVM_BIN=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin,npm_config_ignore_scripts=,npm_config_user_agent=npm/4.2.0 node/v7.9.0 darwin x64,NVM_IOJS_ORG_MIRROR=https://iojs.org/dist,npm_config_cache_lock_wait=10000,npm_config_production=,npm_config_send_metrics=,npm_config_save_bundle=,npm_config_umask=0022,npm_config_init_version=1.0.0,npm_config_init_author_name=,npm_config_git=git,npm_config_scope=,SECURITYSESSIONID=186a8,npm_config_onload_script=,npm_config_unsafe_perm=true,npm_config_tmp=/var/folders/83/1rwryfw959x7g_0c1nbb6gz40000gp/T,npm_node_execpath=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin/node,npm_config_link=,npm_config_prefix=/Users/n.vinayakan/.nvm/versions/node/v7.9.0,npm_package_devDependencies_merge_stream=^1.0.1,_=/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/.bin/gulp,INIT_CWD=/Users/n.vinayakan/workspace/speedy.js/packages/runtime
    stderr: null
    stdout: null
    pid: 56287
    output: ,,
    signal: null
    status: 1
Stack:
Error: Command failed: cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
    at checkExecSyncError (child_process.js:481:13)
    at Object.execSync (child_process.js:521:13)
    at Gulp.<anonymous> (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/gulpfile.js:63:19)
    at module.exports (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/lib/runTask.js:34:7)
    at Gulp.Orchestrator._runTask (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:273:3)
    at Gulp.Orchestrator._runStep (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:214:10)
    at Gulp.Orchestrator.start (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:134:8)
    at runNextSet (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/run-sequence/index.js:86:16)
    at runSequence (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/run-sequence/index.js:97:2)
    at Gulp.<anonymous> (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/gulpfile.js:44:5)
[14:44:25] 'build:runtime' errored after 431 ms
[14:44:25] Error in plugin 'run-sequence(build:runtime:configure)'
Message:
    Command failed: cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
Details:
    error: null
    cmd: cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
    file: /bin/sh
    args: /bin/sh,-c,cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
    options: [object Object]
    envPairs: EM_CONFIG=/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten,npm_config_save_dev=,npm_config_legacy_bundling=,npm_config_dry_run=,npm_config_only=,npm_config_browser=,npm_config_viewer=man,MANPATH=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/share/man:/usr/local/share/man:/usr/share/man:/Library/Developer/CommandLineTools/usr/share/man,npm_config_also=,npm_config_rollback=true,TERM_PROGRAM=iTerm.app,npm_config_usage=,NODE=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin/node,npm_package_homepage=https://github.com/MichaReiser/speedy.js#readme,npm_package_devDependencies_typescript=^2.2.1,ANDROID_HOME=/usr/local/opt/android-sdk,NVM_CD_FLAGS=-q,npm_config_globalignorefile=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/etc/npmignore,SHELL=/bin/zsh,TERM=xterm-256color,npm_config_init_author_url=,npm_config_shell=/bin/zsh,npm_config_maxsockets=50,npm_config_parseable=,npm_config_shrinkwrap=true,npm_config_metrics_registry=https://registry.npmjs.org/,TMPDIR=/var/folders/83/1rwryfw959x7g_0c1nbb6gz40000gp/T/,npm_config_init_license=ISC,Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.vTcOKW3rPz/Render,npm_config_if_present=,TERM_PROGRAM_VERSION=3.0.15,npm_config_sign_git_tag=,npm_config_init_author_email=,npm_config_cache_max=Infinity,npm_config_long=,npm_config_local_address=,npm_config_cert=,npm_config_git_tag_version=true,TERM_SESSION_ID=w0t2p0:B93F7DF2-BF35-4E46-B7E9-D3BB485E5742,npm_config_registry=https://registry.npmjs.org/,npm_config_fetch_retries=2,npm_package_devDependencies_tmp=0.0.31,npm_package_repository_url=git+https://github.com/MichaReiser/speedy.js.git,ZSH=/Users/n.vinayakan/.oh-my-zsh,npm_config_versions=,npm_config_key=,npm_config_message=%s,npm_package_description=Runtime of SpeedyJS,USER=n.vinayakan,NVM_DIR=/Users/n.vinayakan/.nvm,npm_package_license=MIT,COMMAND_MODE=unix2003,npm_config_globalconfig=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/etc/npmrc,npm_config_always_auth=,npm_config_logs_max=10,USER_NAME=Nidin Vinayakan,npm_package_scripts_prepublish=tsc && gulp build,SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.hlUiJP16sE/Listeners,__CF_USER_TEXT_ENCODING=0x1F6:0x0:0x0,npm_execpath=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/lib/node_modules/npm/bin/npm-cli.js,npm_config_global_style=,npm_config_cache_lock_retries=10,npm_config_cafile=,PAGER=less,npm_package_author_name=Micha Reiser,npm_config_heading=npm,LSCOLORS=Gxfxcxdxbxegedabagacad,npm_config_searchlimit=20,npm_config_proprietary_attribs=true,npm_config_fetch_retry_mintimeout=10000,npm_config_json=,npm_config_access=,npm_config_argv={"remain":[],"cooked":["run","prepublish"],"original":["run","prepublish"]},PATH=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/lib/node_modules/npm/bin/node-gyp-bin:/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/.bin:/Users/n.vinayakan/.nvm/versions/node/v7.9.0/lib/node_modules/npm/bin/node-gyp-bin:/Users/n.vinayakan/workspace/speedy.js/node_modules/.bin:/usr/local/opt/php70/bin:/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin:/opt/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/n.vinayakan/lab/01-tools/bin:/Applications/Wine Staging.app/Contents/Resources/wine/bin:/Users/d437814/workspace/wasm_spec/interpreter:/Users/d437814/workspace/binaryen/bin:/Users/n.vinayakan/emsdk_portable:/Users/d437814/emsdk_portable/clang/e1.35.0_64bit:/Users/d437814/emsdk_portable/node/4.1.1_64bit/bin:/Users/d437814/emsdk_portable/emscripten/1.35.0:/usr/local/go/bin:/Users/d437814/workspace/wabt/out,npm_config_https_proxy=,npm_config_engine_strict=,npm_config_description=true,npm_config_userconfig=/Users/n.vinayakan/.npmrc,npm_config_init_module=/Users/n.vinayakan/.npm-init.js,NVM_NODEJS_ORG_MIRROR=https://nodejs.org/dist,PWD=/Users/n.vinayakan/workspace/speedy.js/packages/runtime,npm_config_user=502,npm_config_node_version=7.9.0,npm_package_bugs_url=https://github.com/MichaReiser/speedy.js/issues,JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home,npm_lifecycle_event=prepublish,npm_config_save=,npm_config_editor=vi,npm_package_repository_type=git,npm_package_name=speedyjs-runtime,npm_config_tag=latest,ITERM_PROFILE=Default,npm_config_global=,npm_config_progress=true,npm_package_scripts_preinstall=node ./scripts/install-dependencies.js,npm_config_searchstaleness=900,npm_config_optional=true,XPC_FLAGS=0x0,npm_config_force=,npm_config_bin_links=true,npm_config_searchopts=,npm_package_devDependencies_run_sequence=^1.2.2,npm_config_depth=Infinity,npm_package_main=index.js,npm_config_rebuild_bundle=true,npm_package_devDependencies_del=^2.2.2,npm_package_version=0.0.1,XPC_SERVICE_NAME=0,npm_config_unicode=true,COLORFGBG=12;8,HOME=/Users/n.vinayakan,SHLVL=5,npm_config_fetch_retry_maxtimeout=60000,npm_package_scripts_test=ls ./bin && gulp test && ls ./bin,npm_config_ca=,npm_config_tag_version_prefix=v,npm_config_strict_ssl=true,npm_config_scripts_prepend_node_path=warn-only,npm_config_save_prefix=^,npm_config_loglevel=warn,npm_config_save_exact=,npm_config_dev=,npm_config_group=20,npm_config_fetch_retry_factor=10,npm_package_devDependencies_gulp=^3.9.1,npm_config_version=,npm_config_cache_lock_stale=60000,npm_config_cache_min=10,npm_package_dependencies__types_node=^7.0.8,ITERM_SESSION_ID=w0t2p0:B93F7DF2-BF35-4E46-B7E9-D3BB485E5742,npm_config_searchexclude=,npm_config_cache=/Users/n.vinayakan/.npm,npm_package_typings=index.ts,LOGNAME=n.vinayakan,LESS=-R,npm_lifecycle_script=tsc && gulp build,npm_config_color=true,npm_config_proxy=,[email protected],LC_CTYPE=UTF-8,npm_config_save_optional=,NVM_BIN=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin,npm_config_ignore_scripts=,npm_config_user_agent=npm/4.2.0 node/v7.9.0 darwin x64,NVM_IOJS_ORG_MIRROR=https://iojs.org/dist,npm_config_cache_lock_wait=10000,npm_config_production=,npm_config_send_metrics=,npm_config_save_bundle=,npm_config_umask=0022,npm_config_init_version=1.0.0,npm_config_init_author_name=,npm_config_git=git,npm_config_scope=,SECURITYSESSIONID=186a8,npm_config_onload_script=,npm_config_unsafe_perm=true,npm_config_tmp=/var/folders/83/1rwryfw959x7g_0c1nbb6gz40000gp/T,npm_node_execpath=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin/node,npm_config_link=,npm_config_prefix=/Users/n.vinayakan/.nvm/versions/node/v7.9.0,npm_package_devDependencies_merge_stream=^1.0.1,_=/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/.bin/gulp,INIT_CWD=/Users/n.vinayakan/workspace/speedy.js/packages/runtime
    stderr: null
    stdout: null
    pid: 56287
    output: ,,
    signal: null
    status: 1
Stack:
Error: Command failed: cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
    at checkExecSyncError (child_process.js:481:13)
    at Object.execSync (child_process.js:521:13)
    at Gulp.<anonymous> (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/gulpfile.js:63:19)
    at module.exports (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/lib/runTask.js:34:7)
    at Gulp.Orchestrator._runTask (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:273:3)
    at Gulp.Orchestrator._runStep (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:214:10)
    at Gulp.Orchestrator.start (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:134:8)
    at runNextSet (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/run-sequence/index.js:86:16)
    at runSequence (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/run-sequence/index.js:97:2)
    at Gulp.<anonymous> (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/gulpfile.js:44:5)

Errored while running BootstrapCommand.execute
Error: Command failed: npm run prepublish
INFO:root:generating system asset: is_vanilla.txt... (this will be cached in "/Users/n.vinayakan/.emscripten_cache/is_vanilla.txt" for subsequent builds)
INFO:root: - ok
WARNING:root:LLVM version appears incorrect (seeing "5.0", expected "4.0")
INFO:root:(Emscripten: Running sanity checks)
INFO:root:generating system library: libcxx.a... (this will be cached in "/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten_cache/wasm/libcxx.a" for subsequent builds)
INFO:root: - ok
INFO:root:generating system library: libcxxabi.bc... (this will be cached in "/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten_cache/wasm/libcxxabi.bc" for subsequent builds)
INFO:root: - ok
INFO:root:generating system library: libc.bc... (this will be cached in "/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten_cache/wasm/libc.bc" for subsequent builds)
/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/system/lib/libc/musl/src/internal/floatscan.c:298:7: warning: absolute value function 'fabs' given an argument of type 'long double' but has parameter of type 'double' which may cause truncation of value [-Wabsolute-value]
                if (fabs(y) >= CONCAT(0x1p, LDBL_MANT_DIG)) {
                    ^
/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/system/lib/libc/musl/src/internal/floatscan.c:298:7: note: use function 'fabsl' instead
                if (fabs(y) >= CONCAT(0x1p, LDBL_MANT_DIG)) {
                    ^~~~
                    fabsl
1 warning generated.
INFO:root: - ok
INFO:root:generating system library: dlmalloc.bc... (this will be cached in "/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten_cache/wasm/dlmalloc.bc" for subsequent builds)
INFO:root: - ok
INFO:root:generating system library: wasm-libc.bc... (this will be cached in "/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten_cache/wasm/wasm-libc.bc" for subsequent builds)
INFO:root: - ok
INFO:root:generating system library: wasm_compiler_rt.a... (this will be cached in "/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten_cache/wasm/wasm_compiler_rt.a" for subsequent builds)
INFO:root: - ok
CMake Error at test/CMakeLists.txt:1 (add_subdirectory):
  The source directory

    /Users/n.vinayakan/workspace/speedy.js/packages/runtime/test/googletest

  does not contain a CMakeLists.txt file.



npm ERR! Darwin 16.5.0
npm ERR! argv "/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin/node" "/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin/npm" "run" "prepublish"
npm ERR! node v7.9.0
npm ERR! npm  v4.2.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] prepublish: `tsc && gulp build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] prepublish script 'tsc && gulp build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the speedyjs-runtime package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     tsc && gulp build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs speedyjs-runtime
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls speedyjs-runtime
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/n.vinayakan/.npm/_logs/2017-05-03T12_44_25_230Z-debug.log

    at ChildProcess.exithandler (child_process.js:205:12)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:194:7)
    at maybeClose (internal/child_process.js:899:16)
    at Socket.<anonymous> (internal/child_process.js:342:11)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:191:7)
    at Pipe._handle.close [as _onclose] (net.js:510:12)
FileSystemUtilities.writeFileSync("./lerna-debug.log", "lerna(verbose) GitUtilities.isInitialized    ()\nlerna(verbose) GitUtilities.i...)
FileSystemUtilities.writeFileSync("./lerna-debug.log", "lerna(verbose) GitUtilities.isInitialized    ()\nlerna(verbose) GitUtilities.i...) =>

npm ERR! Darwin 16.5.0
npm ERR! argv "/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin/node" "/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin/npm" "run" "bootstrap"
npm ERR! node v7.9.0
npm ERR! npm  v4.2.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] bootstrap: `lerna bootstrap --stream --loglevel verbose`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] bootstrap script 'lerna bootstrap --stream --loglevel verbose'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the speedyjs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     lerna bootstrap --stream --loglevel verbose
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs speedyjs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls speedyjs
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/n.vinayakan/.npm/_logs/2017-05-03T12_44_25_346Z-debug.log
readline.js:990
            throw err;
            ^

Error: Command failed: npm run bootstrap
    at checkExecSyncError (child_process.js:481:13)
    at execSync (child_process.js:521:13)
    at /usr/local/lib/node_modules/ntl/index.js:40:4
    at Array.forEach (native)
    at module.exports.onPrompt [as completed] (/usr/local/lib/node_modules/ntl/index.js:39:10)
    at module.exports.PromptUI.onCompletion (/usr/local/lib/node_modules/ntl/node_modules/inquirer/lib/ui/prompt.js:57:10)
    at AnonymousObserver.Rx.AnonymousObserver.AnonymousObserver.completed (/usr/local/lib/node_modules/ntl/node_modules/rx-lite/rx.lite.js:1550:12)
    at AnonymousObserver.Rx.internals.AbstractObserver.AbstractObserver.onCompleted (/usr/local/lib/node_modules/ntl/node_modules/rx-lite/rx.lite.js:1489:14)
    at Subject.onCompleted (/usr/local/lib/node_modules/ntl/node_modules/rx-lite/rx.lite.js:5871:19)
    at Subject.tryCatcher (/usr/local/lib/node_modules/ntl/node_modules/rx-lite/rx.lite.js:63:31)

Any comparable project?

I know you are busy and this repo hasn’t has too many updates in a while. Do you know of any other projects that do a similar task as this one?

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.