Giter VIP home page Giter VIP logo

erlpack's Introduction

Erlpack

Erlpack is a fast encoder and decoder for the Erlang Term Format (version 131) for Python and JavaScript.

JavaScript

Things that can be packed:

  • Null
  • Booleans
  • Strings
  • Atoms
  • Unicode Strings
  • Floats
  • Integers
  • Longs
  • Longs over 64 bits
  • Objects
  • Arrays
  • Tuples
  • PIDs
  • Ports
  • Exports
  • References

How to pack:

let erlpack = require("erlpack");

packed = erlpack.pack({'a': true, 'list': ['of', 3, 'things', 'to', 'pack']});

How to unpack:

Note: Unpacking requires the binary data be a Uint8Array or Buffer. For those using electron/libchromium see the gotcha below.

let erlpack = require("erlpack");

let unpacked = null;
let packed = new Buffer('', 'binary');
try  {
    unpacked = erlpack.unpack(packed);
}
catch (e) {
    // got an exception parsing
}

Libchromium / Electron Gotcha

Some versions of libchromium replace the native data type backing TypedArrays with a custom data type called blink::WebArrayBuffer. To keep erlpack' dependencies simple this data type is not supported directly. If you're using Electron / Libchromium you need to convert the blink::WebArrayBuffer into a node::Buffer before passing to erlpack. You will need to add this code into your native package somewhere:

v8::Local<v8::Value> ConvertToNodeBuffer(const v8::Local<v8::Object>& blinkArray)
{
    if (node::Buffer::HasInstance(blinkArray)) {
        return blinkArray;
    }
    else if (blinkArray->IsArrayBufferView()) {
        auto byteArray = v8::ArrayBufferView::Cast(*blinkArray);
        return node::Buffer::Copy(v8::Isolate::GetCurrent(), (const char*)byteArray->Buffer()->GetContents().Data(), byteArray->ByteLength()).ToLocalChecked();
    }
    
    return v8::Local<v8::Primitive>(v8::Null(v8::Isolate::GetCurrent()));
}

Then in JavaScript something like:

let packed = NativeUtils.convertToNodeBuffer(new Uint8Array(binaryPayload));
// unpack now using erlpack.unpack(packed)

Python

Things that can be packed:

  • None
  • Booleans
  • Strings
  • Atoms
  • Unicode Strings
  • Floats
  • Integers
  • Longs
  • Longs over 64 bits
  • Dictionaries
  • Lists
  • Tuples
  • User Types (via an encode hook)
  • PIDs
  • Ports
  • Exports
  • References

How to pack:

from erlpack import pack

packed = pack(["thing", "to", "pack"])

How to unpack:

from erlpack import unpack

unpacked = unpack(packed)

How to pack an atom:

from erlpack import Atom, pack

packed = pack(Atom('hello'))

How to use an encode hook.

from erlpack import ErlangTermEncoder

def encode_hook(obj):
    if isinstance(obj, datetime.datetime):
        return obj.isoformat()

encoder = ErlangTermEncoder(encode_hook=encode_hook)
packed = encoder.pack(datetime.datetime(2015, 12, 25, 12, 23, 55))

How to make custom types packable.

from erlpack import pack, Atom

class User(object):
    def __init__(self, name, age):
        self.name = name
        self.age = age

    def __erlpack__(self):
        return {
            Atom('name'): self.name,
            Atom('age'): self.age
        }

u = User(name='Jake', age=23)
packed = pack(u)

Go (golang)

Discord has moved away from Go internally and so we do not maintain a version of erlpack in Go ourselves. However, all is not lost!, please check out: https://github.com/JakeMakesStuff/go-erlpack

Building

Python

Generating the new .cpp files can be accomplished by running python setup.py --use-cython build_ext --inplace.

cython must be installed for this to work.

Testing

  1. Install the development version of erlpack with python setup.py develop.
  2. Install pytest.
  3. Execute pytest py/tests.

erlpack's People

Contributors

abalabahaha avatar adill avatar birarda avatar fozzle avatar hazmi35 avatar jasoncitron avatar jdost avatar jhgg avatar jixwanwang avatar mezz avatar mrkirby153 avatar msciotti avatar night avatar samschlegel avatar theakio avatar trilleplay avatar vishnevskiy avatar ypisetsky avatar zorkian avatar

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  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

erlpack's Issues

Update nan to 2.17.0

Due to update of v8, you can't build erlpack on nodejs 19, because they removed v8::AccessorSignature, used by nan pre 2.17 version

Problems with installation

tried installing erlpack to fix my installation issues with npm but here's what happens:

> [email protected] install C:\Users\RAP\AppData\Roaming\npm\node_modules\erlpack
> node-gyp rebuild


C:\Users\RAP\AppData\Roaming\npm\node_modules\erlpack>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
  adler32.c
  compress.c
  crc32.c
  deflate.c
  gzclose.c
  gzlib.c
  gzread.c
  gzwrite.c
  infback.c
  inffast.c
  inflate.c
  inftrees.c
  trees.c
  uncompr.c
  zutil.c
  win_delay_load_hook.cc
  zlib.vcxproj -> C:\Users\RAP\AppData\Roaming\npm\node_modules\erlpack\build\Release\\zlib.lib
  erlpack.cc
  win_delay_load_hook.cc
C:\Users\RAP\.node-gyp\8.11.1\x64\node.lib : fatal error LNK1127: library is corrupt [C:\Users\RAP\AppData\Roaming\npm\node_modules\erlpack\
build\erlpack.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:258:23)
gyp ERR! stack     at emitTwo (events.js:126:13)
gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Windows_NT 10.0.15063
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\RAP\AppData\Roaming\npm\node_modules\erlpack
gyp ERR! node -v v8.11.1
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\RAP\AppData\Roaming\npm-cache\_logs\2018-04-29T02_31_51_064Z-debug.log

how can I fix this issue?

WebAssembly version

Are there any plans of making a WebAssembly version so this can be run in a browser easily?

is this usable from C?

I noticed the cpp/ folder contains some headers with what appears to be an implementation in C++. is this meant to be used natively by itself, and is it compatible with C90?

Bundled Zlib

That may sound dumb but why is zlib bundled on *nix systems and not the library installed on the system is used?

'node-gyp rebuild' has Problems with Python

My Infos:
Python: Newest(37)
Npm and Node: (Should be the newest)
C:\Users\xxx\Desktop\Bot>node-gyp rebuild gyp info it worked if it ends with ok gyp info using [email protected] gyp info using [email protected] | win32 | x64 gyp ERR! configure error gyp ERR! stack Error: Command failed: C:\Users\valen\AppData\Local\Programs\Python\Python37-32\python.exe -c import sys; print "%s.%s.%s" % sys.version_info[:3]; gyp ERR! stack File "<string>", line 1 gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3]; gyp ERR! stack ^ gyp ERR! stack SyntaxError: invalid syntax gyp ERR! stack gyp ERR! stack at ChildProcess.exithandler (child_process.js:276:12) gyp ERR! stack at emitTwo (events.js:126:13) gyp ERR! stack at ChildProcess.emit (events.js:214:7) gyp ERR! stack at maybeClose (internal/child_process.js:915:16) gyp ERR! stack at Socket.stream.socket.on (internal/child_process.js:336:11) gyp ERR! stack at emitOne (events.js:116:13) gyp ERR! stack at Socket.emit (events.js:211:7) gyp ERR! stack at Pipe._handle.close [as _onclose] (net.js:561:12) gyp ERR! System Windows_NT 10.0.17134 gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\valen\\AppData\\Roaming\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\valen\Desktop\Bot gyp ERR! node -v v8.12.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok

Go support

It'd be nice to have Go support in erlpack. I'll take a shot at implementing it and making a pull request, if I get stuck I'll say here!

Error when installing

> [email protected] install /home/ubuntu/bots/chatbot/node_modules/erlpack
> node-gyp rebuild

make: Entering directory '/home/ubuntu/bots/chatbot/node_modules/erlpack/build'
  CC(target) Release/obj.target/zlib/vendor/zlib/adler32.o
  CC(target) Release/obj.target/zlib/vendor/zlib/compress.o
  CC(target) Release/obj.target/zlib/vendor/zlib/crc32.o
  CC(target) Release/obj.target/zlib/vendor/zlib/deflate.o
  CC(target) Release/obj.target/zlib/vendor/zlib/gzclose.o
  CC(target) Release/obj.target/zlib/vendor/zlib/gzlib.o
  CC(target) Release/obj.target/zlib/vendor/zlib/gzread.o
  CC(target) Release/obj.target/zlib/vendor/zlib/gzwrite.o
  CC(target) Release/obj.target/zlib/vendor/zlib/infback.o
../vendor/zlib/infback.c: In function ‘inflateBack’:
../vendor/zlib/infback.c:479:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = LEN;
             ~~~~~~~~~~~~^~~~~
../vendor/zlib/infback.c:481:9: note: here
         case LEN:
         ^~~~
  CC(target) Release/obj.target/zlib/vendor/zlib/inffast.o
  CC(target) Release/obj.target/zlib/vendor/zlib/inflate.o
../vendor/zlib/inflate.c: In function ‘inflateMark’:
../vendor/zlib/inflate.c:1507:61: warning: left shift of negative value [-Wshift-negative-value]
     if (strm == Z_NULL || strm->state == Z_NULL) return -1L << 16;
                                                             ^~
../vendor/zlib/inflate.c: In function ‘inflate’:
../vendor/zlib/inflate.c:720:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = EXLEN;
             ~~~~~~~~~~~~^~~~~~~
../vendor/zlib/inflate.c:721:9: note: here
         case EXLEN:
         ^~~~
../vendor/zlib/inflate.c:732:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = EXTRA;
             ~~~~~~~~~~~~^~~~~~~
../vendor/zlib/inflate.c:733:9: note: here
         case EXTRA:
         ^~~~
../vendor/zlib/inflate.c:754:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = NAME;
             ~~~~~~~~~~~~^~~~~~
../vendor/zlib/inflate.c:755:9: note: here
         case NAME:
         ^~~~
../vendor/zlib/inflate.c:775:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = COMMENT;
             ~~~~~~~~~~~~^~~~~~~~~
../vendor/zlib/inflate.c:776:9: note: here
         case COMMENT:
         ^~~~
../vendor/zlib/inflate.c:795:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = HCRC;
             ~~~~~~~~~~~~^~~~~~
../vendor/zlib/inflate.c:796:9: note: here
         case HCRC:
         ^~~~
../vendor/zlib/inflate.c:818:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = DICT;
             ~~~~~~~~~~~~^~~~~~
../vendor/zlib/inflate.c:819:9: note: here
         case DICT:
         ^~~~
../vendor/zlib/inflate.c:825:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = TYPE;
             ~~~~~~~~~~~~^~~~~~
../vendor/zlib/inflate.c:826:9: note: here
         case TYPE:
         ^~~~
../vendor/zlib/inflate.c:827:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
             if (flush == Z_BLOCK || flush == Z_TREES) goto inf_leave;
                ^
../vendor/zlib/inflate.c:828:9: note: here
         case TYPEDO:
         ^~~~
../vendor/zlib/inflate.c:877:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
             if (flush == Z_TREES) goto inf_leave;
                ^
../vendor/zlib/inflate.c:878:9: note: here
         case COPY_:
         ^~~~
../vendor/zlib/inflate.c:879:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = COPY;
             ~~~~~~~~~~~~^~~~~~
../vendor/zlib/inflate.c:880:9: note: here
         case COPY:
         ^~~~
../vendor/zlib/inflate.c:1018:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
             if (flush == Z_TREES) goto inf_leave;
                ^
../vendor/zlib/inflate.c:1019:9: note: here
         case LEN_:
         ^~~~
../vendor/zlib/inflate.c:1020:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = LEN;
             ~~~~~~~~~~~~^~~~~
../vendor/zlib/inflate.c:1021:9: note: here
         case LEN:
         ^~~~
../vendor/zlib/inflate.c:1069:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = LENEXT;
             ~~~~~~~~~~~~^~~~~~~~
../vendor/zlib/inflate.c:1070:9: note: here
         case LENEXT:
         ^~~~
../vendor/zlib/inflate.c:1079:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = DIST;
             ~~~~~~~~~~~~^~~~~~
../vendor/zlib/inflate.c:1080:9: note: here
         case DIST:
         ^~~~
../vendor/zlib/inflate.c:1106:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = DISTEXT;
             ~~~~~~~~~~~~^~~~~~~~~
../vendor/zlib/inflate.c:1107:9: note: here
         case DISTEXT:
         ^~~~
../vendor/zlib/inflate.c:1122:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = MATCH;
             ~~~~~~~~~~~~^~~~~~~
../vendor/zlib/inflate.c:1123:9: note: here
         case MATCH:
         ^~~~
../vendor/zlib/inflate.c:1197:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = LENGTH;
             ~~~~~~~~~~~~^~~~~~~~
../vendor/zlib/inflate.c:1198:9: note: here
         case LENGTH:
         ^~~~
../vendor/zlib/inflate.c:1210:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = DONE;
             ~~~~~~~~~~~~^~~~~~
../vendor/zlib/inflate.c:1211:9: note: here
         case DONE:
         ^~~~
  CC(target) Release/obj.target/zlib/vendor/zlib/inftrees.o
  CC(target) Release/obj.target/zlib/vendor/zlib/trees.o
  CC(target) Release/obj.target/zlib/vendor/zlib/uncompr.o
  CC(target) Release/obj.target/zlib/vendor/zlib/zutil.o
  AR(target) Release/obj.target/vendor/zlib.a
  COPY Release/zlib.a
  CXX(target) Release/obj.target/erlpack/js/erlpack.o
In file included from ../js/erlpack.cc:2:0:
../js/encoder.h: In member function ‘int Encoder::pack(v8::Local<v8::Value>, int)’:
../js/encoder.h:62:44: error: no matching function for call to ‘v8::Value::Int32Value()’
             int number = value->Int32Value();
                                            ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:2582:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
                                        ^~~~~~~~~~
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:2582:40: note:   candidate expects 1 argument, 0 provided
In file included from ../js/erlpack.cc:2:0:
../js/encoder.h:71:68: error: no matching function for call to ‘v8::Value::Uint32Value()’
                 auto uNum = (unsigned long long)value->Uint32Value();
                                                                    ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:2580:41: note: candidate: v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
                                         ^~~~~~~~~~~
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:2580:41: note:   candidate expects 1 argument, 0 provided
In file included from ../js/erlpack.cc:2:0:
../js/encoder.h:76:49: error: no matching function for call to ‘v8::Value::NumberValue()’
             double decimal = value->NumberValue();
                                                 ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:2577:39: note: candidate: v8::Maybe<double> v8::Value::NumberValue(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT Maybe<double> NumberValue(Local<Context> context) const;
                                       ^~~~~~~~~~~
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:2577:39: note:   candidate expects 1 argument, 0 provided
In file included from ../js/erlpack.cc:2:0:
../js/encoder.h:111:53: warning: ‘v8::Local<v8::Value> v8::Object::Get(uint32_t)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                     const auto k = properties->Get(i);
                                                     ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3429:51: note: declared here
   V8_DEPRECATED("Use maybe version", Local<Value> Get(uint32_t index));
                                                   ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:2:0:
../js/encoder.h:138:49: warning: ‘v8::Local<v8::Value> v8::Object::Get(uint32_t)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                 const auto k = properties->Get(i);
                                                 ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3429:51: note: declared here
   V8_DEPRECATED("Use maybe version", Local<Value> Get(uint32_t index));
                                                   ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:3:0:
../js/decoder.h: In member function ‘v8::Local<v8::Value> Decoder::decodeArray(uint32_t)’:
../js/decoder.h:101:32: warning: ‘bool v8::Object::Set(uint32_t, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
             array->Set(i, value);
                                ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3381:22: note: declared here
                 bool Set(uint32_t index, Local<Value> value));
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:3:0:
../js/decoder.h: In member function ‘v8::Local<v8::Value> Decoder::decodeMap()’:
../js/decoder.h:138:32: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
             map->Set(key, value);
                                ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3372:22: note: declared here
                 bool Set(Local<Value> key, Local<Value> value));
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:3:0:
../js/decoder.h: In member function ‘v8::Local<v8::Value> Decoder::decodeStringAsList()’:
../js/decoder.h:299:47: warning: ‘bool v8::Object::Set(uint32_t, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
             array->Set(i, decodeSmallInteger());
                                               ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3381:22: note: declared here
                 bool Set(uint32_t index, Local<Value> value));
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:3:0:
../js/decoder.h: In member function ‘v8::Local<v8::Value> Decoder::decodeReference()’:
../js/decoder.h:335:67: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         reference->Set(Nan::New("node").ToLocalChecked(), unpack());
                                                                   ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3372:22: note: declared here
                 bool Set(Local<Value> key, Local<Value> value));
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:3:0:
../js/decoder.h:338:48: warning: ‘bool v8::Object::Set(uint32_t, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         ids->Set(0, Nan::New<Integer>(read32()));
                                                ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3381:22: note: declared here
                 bool Set(uint32_t index, Local<Value> value));
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:3:0:
../js/decoder.h:339:60: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         reference->Set(Nan::New("id").ToLocalChecked(), ids);
                                                            ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3372:22: note: declared here
                 bool Set(Local<Value> key, Local<Value> value));
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:3:0:
../js/decoder.h:341:89: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         reference->Set(Nan::New("creation").ToLocalChecked(), Nan::New<Integer>(read8()));
                                                                                         ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3372:22: note: declared here
                 bool Set(Local<Value> key, Local<Value> value));
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:3:0:
../js/decoder.h: In member function ‘v8::Local<v8::Value> Decoder::decodeNewReference()’:
../js/decoder.h:350:67: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         reference->Set(Nan::New("node").ToLocalChecked(), unpack());
                                                                   ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3372:22: note: declared here
                 bool Set(Local<Value> key, Local<Value> value));
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:3:0:
../js/decoder.h:351:89: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         reference->Set(Nan::New("creation").ToLocalChecked(), Nan::New<Integer>(read8()));
                                                                                         ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3372:22: note: declared here
                 bool Set(Local<Value> key, Local<Value> value));
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:3:0:
../js/decoder.h:355:52: warning: ‘bool v8::Object::Set(uint32_t, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
             ids->Set(i, Nan::New<Integer>(read32()));
                                                    ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3381:22: note: declared here
                 bool Set(uint32_t index, Local<Value> value));
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:3:0:
../js/decoder.h:357:60: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         reference->Set(Nan::New("id").ToLocalChecked(), ids);
                                                            ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3372:22: note: declared here
                 bool Set(Local<Value> key, Local<Value> value));
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:3:0:
../js/decoder.h: In member function ‘v8::Local<v8::Value> Decoder::decodePort()’:
../js/decoder.h:364:62: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         port->Set(Nan::New("node").ToLocalChecked(), unpack());
                                                              ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3372:22: note: declared here
                 bool Set(Local<Value> key, Local<Value> value));
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:3:0:
../js/decoder.h:365:79: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         port->Set(Nan::New("id").ToLocalChecked(), Nan::New<Integer>(read32()));
                                                                               ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3372:22: note: declared here
                 bool Set(Local<Value> key, Local<Value> value));
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:3:0:
../js/decoder.h:366:84: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         port->Set(Nan::New("creation").ToLocalChecked(), Nan::New<Integer>(read8()));
                                                                                    ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3372:22: note: declared here
                 bool Set(Local<Value> key, Local<Value> value));
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:3:0:
../js/decoder.h: In member function ‘v8::Local<v8::Value> Decoder::decodePID()’:
../js/decoder.h:372:61: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         pid->Set(Nan::New("node").ToLocalChecked(), unpack());
                                                             ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3372:22: note: declared here
                 bool Set(Local<Value> key, Local<Value> value));
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:3:0:
../js/decoder.h:373:78: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         pid->Set(Nan::New("id").ToLocalChecked(), Nan::New<Integer>(read32()));
                                                                              ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3372:22: note: declared here
                 bool Set(Local<Value> key, Local<Value> value));
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:3:0:
../js/decoder.h:374:82: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         pid->Set(Nan::New("serial").ToLocalChecked(), Nan::New<Integer>(read32()));
                                                                                  ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3372:22: note: declared here
                 bool Set(Local<Value> key, Local<Value> value));
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:3:0:
../js/decoder.h:375:83: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         pid->Set(Nan::New("creation").ToLocalChecked(), Nan::New<Integer>(read8()));
                                                                                   ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3372:22: note: declared here
                 bool Set(Local<Value> key, Local<Value> value));
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:3:0:
../js/decoder.h: In member function ‘v8::Local<v8::Value> Decoder::decodeExport()’:
../js/decoder.h:381:60: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         exp->Set(Nan::New("mod").ToLocalChecked(), unpack());
                                                            ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3372:22: note: declared here
                 bool Set(Local<Value> key, Local<Value> value));
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:3:0:
../js/decoder.h:382:60: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         exp->Set(Nan::New("fun").ToLocalChecked(), unpack());
                                                            ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3372:22: note: declared here
                 bool Set(Local<Value> key, Local<Value> value));
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:3:0:
../js/decoder.h:383:62: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         exp->Set(Nan::New("arity").ToLocalChecked(), unpack());
                                                              ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3372:22: note: declared here
                 bool Set(Local<Value> key, Local<Value> value));
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../js/erlpack.cc: At global scope:
../js/erlpack.cc:42:11: error: variable or field ‘Init’ declared void
 void Init(Handle<Object> exports) {
           ^~~~~~
../js/erlpack.cc:42:11: error: ‘Handle’ was not declared in this scope
../js/erlpack.cc:42:11: note: suggested alternative: ‘rand_r’
 void Init(Handle<Object> exports) {
           ^~~~~~
           rand_r
../js/erlpack.cc:42:24: error: expected primary-expression before ‘>’ token
 void Init(Handle<Object> exports) {
                        ^
../js/erlpack.cc:42:26: error: ‘exports’ was not declared in this scope
 void Init(Handle<Object> exports) {
                          ^~~~~~~
In file included from ../../nan/nan.h:54:0,
                 from ../js/erlpack.cc:1:
../js/erlpack.cc:47:22: error: ‘Init’ was not declared in this scope
 NODE_MODULE(erlpack, Init);
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:560:36: note: in definition of macro ‘NODE_MODULE_X’
       (node::addon_register_func) (regfunc),                          \
                                    ^~~~~~~
../js/erlpack.cc:47:1: note: in expansion of macro ‘NODE_MODULE’
 NODE_MODULE(erlpack, Init);
 ^~~~~~~~~~~
../js/erlpack.cc:47:22: note: suggested alternative:
 NODE_MODULE(erlpack, Init);
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:560:36: note: in definition of macro ‘NODE_MODULE_X’
       (node::addon_register_func) (regfunc),                          \
                                    ^~~~~~~
../js/erlpack.cc:47:1: note: in expansion of macro ‘NODE_MODULE’
 NODE_MODULE(erlpack, Init);
 ^~~~~~~~~~~
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:217:18: note:   ‘node::Init’
 NODE_EXTERN void Init(int* argc,
                  ^~~~
erlpack.target.mk:116: recipe for target 'Release/obj.target/erlpack/js/erlpack.o' failed
make: *** [Release/obj.target/erlpack/js/erlpack.o] Error 1
make: Leaving directory '/home/ubuntu/bots/chatbot/node_modules/erlpack/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:209:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 4.15.0-1050-aws
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/ubuntu/bots/chatbot/node_modules/erlpack
gyp ERR! node -v v12.10.0
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok
npm WARN [email protected] requires a peer of @discordjs/uws@^10.149.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of typescript@>= 2.9.1 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @types/bluebird@* but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @types/node@* but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] No description
npm WARN [email protected] No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/ubuntu/.npm/_logs/2019-11-08T19_06_05_937Z-debug.log
ubuntu@ip-172-31-26-201:~/bots/chatbot$ error: ‘Init’ was not declared in this scope^C
ubuntu@ip-172-31-26-201:~/bots/chatbot$ cd node_modules/
ubuntu@ip-172-31-26-201:~/bots/chatbot/node_modules$ rm -rf *
ubuntu@ip-172-31-26-201:~/bots/chatbot/node_modules$ ls
ubuntu@ip-172-31-26-201:~/bots/chatbot/node_modules$ cd ..
ubuntu@ip-172-31-26-201:~/bots/chatbot$ npm i

> [email protected] install /home/ubuntu/bots/chatbot/node_modules/bufferutil
> node-gyp-build


> [email protected] install /home/ubuntu/bots/chatbot/node_modules/erlpack
> node-gyp rebuild

make: Entering directory '/home/ubuntu/bots/chatbot/node_modules/erlpack/build'
  CC(target) Release/obj.target/zlib/vendor/zlib/adler32.o
  CC(target) Release/obj.target/zlib/vendor/zlib/compress.o
  CC(target) Release/obj.target/zlib/vendor/zlib/crc32.o
  CC(target) Release/obj.target/zlib/vendor/zlib/deflate.o
  CC(target) Release/obj.target/zlib/vendor/zlib/gzclose.o
  CC(target) Release/obj.target/zlib/vendor/zlib/gzlib.o
  CC(target) Release/obj.target/zlib/vendor/zlib/gzread.o
  CC(target) Release/obj.target/zlib/vendor/zlib/gzwrite.o
  CC(target) Release/obj.target/zlib/vendor/zlib/infback.o
../vendor/zlib/infback.c: In function ‘inflateBack’:
../vendor/zlib/infback.c:479:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = LEN;
             ~~~~~~~~~~~~^~~~~
../vendor/zlib/infback.c:481:9: note: here
         case LEN:
         ^~~~
  CC(target) Release/obj.target/zlib/vendor/zlib/inffast.o
  CC(target) Release/obj.target/zlib/vendor/zlib/inflate.o
../vendor/zlib/inflate.c: In function ‘inflateMark’:
../vendor/zlib/inflate.c:1507:61: warning: left shift of negative value [-Wshift-negative-value]
     if (strm == Z_NULL || strm->state == Z_NULL) return -1L << 16;
                                                             ^~
../vendor/zlib/inflate.c: In function ‘inflate’:
../vendor/zlib/inflate.c:720:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = EXLEN;
             ~~~~~~~~~~~~^~~~~~~
../vendor/zlib/inflate.c:721:9: note: here
         case EXLEN:
         ^~~~
../vendor/zlib/inflate.c:732:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = EXTRA;
             ~~~~~~~~~~~~^~~~~~~
../vendor/zlib/inflate.c:733:9: note: here
         case EXTRA:
         ^~~~
../vendor/zlib/inflate.c:754:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = NAME;
             ~~~~~~~~~~~~^~~~~~
../vendor/zlib/inflate.c:755:9: note: here
         case NAME:
         ^~~~
../vendor/zlib/inflate.c:775:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = COMMENT;
             ~~~~~~~~~~~~^~~~~~~~~
../vendor/zlib/inflate.c:776:9: note: here
         case COMMENT:
         ^~~~
../vendor/zlib/inflate.c:795:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = HCRC;
             ~~~~~~~~~~~~^~~~~~
../vendor/zlib/inflate.c:796:9: note: here
         case HCRC:
         ^~~~
../vendor/zlib/inflate.c:818:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = DICT;
             ~~~~~~~~~~~~^~~~~~
../vendor/zlib/inflate.c:819:9: note: here
         case DICT:
         ^~~~
../vendor/zlib/inflate.c:825:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = TYPE;
             ~~~~~~~~~~~~^~~~~~
../vendor/zlib/inflate.c:826:9: note: here
         case TYPE:
         ^~~~
../vendor/zlib/inflate.c:827:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
             if (flush == Z_BLOCK || flush == Z_TREES) goto inf_leave;
                ^
../vendor/zlib/inflate.c:828:9: note: here
         case TYPEDO:
         ^~~~
../vendor/zlib/inflate.c:877:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
             if (flush == Z_TREES) goto inf_leave;
                ^
../vendor/zlib/inflate.c:878:9: note: here
         case COPY_:
         ^~~~
../vendor/zlib/inflate.c:879:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = COPY;
             ~~~~~~~~~~~~^~~~~~
../vendor/zlib/inflate.c:880:9: note: here
         case COPY:
         ^~~~
../vendor/zlib/inflate.c:1018:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
             if (flush == Z_TREES) goto inf_leave;
                ^
../vendor/zlib/inflate.c:1019:9: note: here
         case LEN_:
         ^~~~
../vendor/zlib/inflate.c:1020:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = LEN;
             ~~~~~~~~~~~~^~~~~
../vendor/zlib/inflate.c:1021:9: note: here
         case LEN:
         ^~~~
../vendor/zlib/inflate.c:1069:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = LENEXT;
             ~~~~~~~~~~~~^~~~~~~~
../vendor/zlib/inflate.c:1070:9: note: here
         case LENEXT:
         ^~~~
../vendor/zlib/inflate.c:1079:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = DIST;
             ~~~~~~~~~~~~^~~~~~
../vendor/zlib/inflate.c:1080:9: note: here
         case DIST:
         ^~~~
../vendor/zlib/inflate.c:1106:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = DISTEXT;
             ~~~~~~~~~~~~^~~~~~~~~
../vendor/zlib/inflate.c:1107:9: note: here
         case DISTEXT:
         ^~~~
../vendor/zlib/inflate.c:1122:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = MATCH;
             ~~~~~~~~~~~~^~~~~~~
../vendor/zlib/inflate.c:1123:9: note: here
         case MATCH:
         ^~~~
../vendor/zlib/inflate.c:1197:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = LENGTH;
             ~~~~~~~~~~~~^~~~~~~~
../vendor/zlib/inflate.c:1198:9: note: here
         case LENGTH:
         ^~~~
../vendor/zlib/inflate.c:1210:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
             state->mode = DONE;
             ~~~~~~~~~~~~^~~~~~
../vendor/zlib/inflate.c:1211:9: note: here
         case DONE:
         ^~~~
  CC(target) Release/obj.target/zlib/vendor/zlib/inftrees.o
  CC(target) Release/obj.target/zlib/vendor/zlib/trees.o
  CC(target) Release/obj.target/zlib/vendor/zlib/uncompr.o
  CC(target) Release/obj.target/zlib/vendor/zlib/zutil.o
  AR(target) Release/obj.target/vendor/zlib.a
  COPY Release/zlib.a
  CXX(target) Release/obj.target/erlpack/js/erlpack.o
In file included from ../js/erlpack.cc:2:0:
../js/encoder.h: In member function ‘int Encoder::pack(v8::Local<v8::Value>, int)’:
../js/encoder.h:62:44: error: no matching function for call to ‘v8::Value::Int32Value()’
             int number = value->Int32Value();
                                            ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:2582:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
                                        ^~~~~~~~~~
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:2582:40: note:   candidate expects 1 argument, 0 provided
In file included from ../js/erlpack.cc:2:0:
../js/encoder.h:71:68: error: no matching function for call to ‘v8::Value::Uint32Value()’
                 auto uNum = (unsigned long long)value->Uint32Value();
                                                                    ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:2580:41: note: candidate: v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
                                         ^~~~~~~~~~~
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:2580:41: note:   candidate expects 1 argument, 0 provided
In file included from ../js/erlpack.cc:2:0:
../js/encoder.h:76:49: error: no matching function for call to ‘v8::Value::NumberValue()’
             double decimal = value->NumberValue();
                                                 ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:2577:39: note: candidate: v8::Maybe<double> v8::Value::NumberValue(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT Maybe<double> NumberValue(Local<Context> context) const;
                                       ^~~~~~~~~~~
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:2577:39: note:   candidate expects 1 argument, 0 provided
In file included from ../js/erlpack.cc:2:0:
../js/encoder.h:111:53: warning: ‘v8::Local<v8::Value> v8::Object::Get(uint32_t)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                     const auto k = properties->Get(i);
                                                     ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3429:51: note: declared here
   V8_DEPRECATED("Use maybe version", Local<Value> Get(uint32_t index));
                                                   ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:2:0:
../js/encoder.h:138:49: warning: ‘v8::Local<v8::Value> v8::Object::Get(uint32_t)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                 const auto k = properties->Get(i);
                                                 ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3429:51: note: declared here
   V8_DEPRECATED("Use maybe version", Local<Value> Get(uint32_t index));
                                                   ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:3:0:
../js/decoder.h: In member function ‘v8::Local<v8::Value> Decoder::decodeArray(uint32_t)’:
../js/decoder.h:101:32: warning: ‘bool v8::Object::Set(uint32_t, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
             array->Set(i, value);
                                ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3381:22: note: declared here
                 bool Set(uint32_t index, Local<Value> value));
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:3:0:
../js/decoder.h: In member function ‘v8::Local<v8::Value> Decoder::decodeMap()’:
../js/decoder.h:138:32: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
             map->Set(key, value);
                                ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3372:22: note: declared here
                 bool Set(Local<Value> key, Local<Value> value));
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:3:0:
../js/decoder.h: In member function ‘v8::Local<v8::Value> Decoder::decodeStringAsList()’:
../js/decoder.h:299:47: warning: ‘bool v8::Object::Set(uint32_t, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
             array->Set(i, decodeSmallInteger());
                                               ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3381:22: note: declared here
                 bool Set(uint32_t index, Local<Value> value));
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:3:0:
../js/decoder.h: In member function ‘v8::Local<v8::Value> Decoder::decodeReference()’:
../js/decoder.h:335:67: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         reference->Set(Nan::New("node").ToLocalChecked(), unpack());
                                                                   ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3372:22: note: declared here
                 bool Set(Local<Value> key, Local<Value> value));
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:3:0:
../js/decoder.h:338:48: warning: ‘bool v8::Object::Set(uint32_t, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         ids->Set(0, Nan::New<Integer>(read32()));
                                                ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3381:22: note: declared here
                 bool Set(uint32_t index, Local<Value> value));
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:3:0:
../js/decoder.h:339:60: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         reference->Set(Nan::New("id").ToLocalChecked(), ids);
                                                            ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3372:22: note: declared here
                 bool Set(Local<Value> key, Local<Value> value));
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:3:0:
../js/decoder.h:341:89: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         reference->Set(Nan::New("creation").ToLocalChecked(), Nan::New<Integer>(read8()));
                                                                                         ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3372:22: note: declared here
                 bool Set(Local<Value> key, Local<Value> value));
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:3:0:
../js/decoder.h: In member function ‘v8::Local<v8::Value> Decoder::decodeNewReference()’:
../js/decoder.h:350:67: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         reference->Set(Nan::New("node").ToLocalChecked(), unpack());
                                                                   ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3372:22: note: declared here
                 bool Set(Local<Value> key, Local<Value> value));
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:3:0:
../js/decoder.h:351:89: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         reference->Set(Nan::New("creation").ToLocalChecked(), Nan::New<Integer>(read8()));
                                                                                         ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3372:22: note: declared here
                 bool Set(Local<Value> key, Local<Value> value));
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:3:0:
../js/decoder.h:355:52: warning: ‘bool v8::Object::Set(uint32_t, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
             ids->Set(i, Nan::New<Integer>(read32()));
                                                    ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3381:22: note: declared here
                 bool Set(uint32_t index, Local<Value> value));
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:3:0:
../js/decoder.h:357:60: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         reference->Set(Nan::New("id").ToLocalChecked(), ids);
                                                            ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3372:22: note: declared here
                 bool Set(Local<Value> key, Local<Value> value));
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:3:0:
../js/decoder.h: In member function ‘v8::Local<v8::Value> Decoder::decodePort()’:
../js/decoder.h:364:62: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         port->Set(Nan::New("node").ToLocalChecked(), unpack());
                                                              ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3372:22: note: declared here
                 bool Set(Local<Value> key, Local<Value> value));
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:3:0:
../js/decoder.h:365:79: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         port->Set(Nan::New("id").ToLocalChecked(), Nan::New<Integer>(read32()));
                                                                               ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3372:22: note: declared here
                 bool Set(Local<Value> key, Local<Value> value));
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:3:0:
../js/decoder.h:366:84: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         port->Set(Nan::New("creation").ToLocalChecked(), Nan::New<Integer>(read8()));
                                                                                    ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3372:22: note: declared here
                 bool Set(Local<Value> key, Local<Value> value));
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:3:0:
../js/decoder.h: In member function ‘v8::Local<v8::Value> Decoder::decodePID()’:
../js/decoder.h:372:61: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         pid->Set(Nan::New("node").ToLocalChecked(), unpack());
                                                             ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3372:22: note: declared here
                 bool Set(Local<Value> key, Local<Value> value));
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:3:0:
../js/decoder.h:373:78: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         pid->Set(Nan::New("id").ToLocalChecked(), Nan::New<Integer>(read32()));
                                                                              ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3372:22: note: declared here
                 bool Set(Local<Value> key, Local<Value> value));
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:3:0:
../js/decoder.h:374:82: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         pid->Set(Nan::New("serial").ToLocalChecked(), Nan::New<Integer>(read32()));
                                                                                  ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3372:22: note: declared here
                 bool Set(Local<Value> key, Local<Value> value));
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:3:0:
../js/decoder.h:375:83: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         pid->Set(Nan::New("creation").ToLocalChecked(), Nan::New<Integer>(read8()));
                                                                                   ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3372:22: note: declared here
                 bool Set(Local<Value> key, Local<Value> value));
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:3:0:
../js/decoder.h: In member function ‘v8::Local<v8::Value> Decoder::decodeExport()’:
../js/decoder.h:381:60: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         exp->Set(Nan::New("mod").ToLocalChecked(), unpack());
                                                            ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3372:22: note: declared here
                 bool Set(Local<Value> key, Local<Value> value));
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:3:0:
../js/decoder.h:382:60: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         exp->Set(Nan::New("fun").ToLocalChecked(), unpack());
                                                            ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3372:22: note: declared here
                 bool Set(Local<Value> key, Local<Value> value));
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../js/erlpack.cc:3:0:
../js/decoder.h:383:62: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         exp->Set(Nan::New("arity").ToLocalChecked(), unpack());
                                                              ^
In file included from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../../nan/nan.h:54,
                 from ../js/erlpack.cc:1:
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8.h:3372:22: note: declared here
                 bool Set(Local<Value> key, Local<Value> value));
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../js/erlpack.cc: At global scope:
../js/erlpack.cc:42:11: error: variable or field ‘Init’ declared void
 void Init(Handle<Object> exports) {
           ^~~~~~
../js/erlpack.cc:42:11: error: ‘Handle’ was not declared in this scope
../js/erlpack.cc:42:11: note: suggested alternative: ‘rand_r’
 void Init(Handle<Object> exports) {
           ^~~~~~
           rand_r
../js/erlpack.cc:42:24: error: expected primary-expression before ‘>’ token
 void Init(Handle<Object> exports) {
                        ^
../js/erlpack.cc:42:26: error: ‘exports’ was not declared in this scope
 void Init(Handle<Object> exports) {
                          ^~~~~~~
In file included from ../../nan/nan.h:54:0,
                 from ../js/erlpack.cc:1:
../js/erlpack.cc:47:22: error: ‘Init’ was not declared in this scope
 NODE_MODULE(erlpack, Init);
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:560:36: note: in definition of macro ‘NODE_MODULE_X’
       (node::addon_register_func) (regfunc),                          \
                                    ^~~~~~~
../js/erlpack.cc:47:1: note: in expansion of macro ‘NODE_MODULE’
 NODE_MODULE(erlpack, Init);
 ^~~~~~~~~~~
../js/erlpack.cc:47:22: note: suggested alternative:
 NODE_MODULE(erlpack, Init);
                      ^
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:560:36: note: in definition of macro ‘NODE_MODULE_X’
       (node::addon_register_func) (regfunc),                          \
                                    ^~~~~~~
../js/erlpack.cc:47:1: note: in expansion of macro ‘NODE_MODULE’
 NODE_MODULE(erlpack, Init);
 ^~~~~~~~~~~
/home/ubuntu/.cache/node-gyp/12.10.0/include/node/node.h:217:18: note:   ‘node::Init’
 NODE_EXTERN void Init(int* argc,
                  ^~~~
erlpack.target.mk:116: recipe for target 'Release/obj.target/erlpack/js/erlpack.o' failed
make: *** [Release/obj.target/erlpack/js/erlpack.o] Error 1
make: Leaving directory '/home/ubuntu/bots/chatbot/node_modules/erlpack/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:209:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 4.15.0-1050-aws
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/ubuntu/bots/chatbot/node_modules/erlpack
gyp ERR! node -v v12.10.0
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok
npm WARN [email protected] No description
npm WARN [email protected] No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Ubuntu (AWS) 18.04 LTS
NPM 6.12.1
Node v12.10.0 (v12.13 after reinstall)
Node-gyp v5.0.5

It was working with mathjs only, now when I tried installing mysql, it gave me this error. Tried emptying node_modules folder and installing again.

Tried sudo as well, nothing changed.

As it says error in erlpack, I posted here.

I really don't know what happened and how to fix it..
I reinstalled whole npm (apt-get remove, apt-get install), created new project, tried installing one dependency (that has been working before) and got the same error...

Atoms as Symbols?

Initiating a discussion as to whether or not atoms should be treated as symbols in node's system, and vice versa. I feel this is an appropriate convention, and have been using it in my own project. I wish to use erlpack as the ETF communication provider for my epmd transport for my project (otp-js), and it would be nice to have this convention supported outright instead of shimming it.

Fails to compile on Ubuntu

Logs:

➜  Kamiyu pnpm i erlpack
Packages: +40
++++++++++++++++++++++++++++++++++++++++
node_modules/.pnpm/[email protected]/node_modules/zlib-sync: Running install script...
node_modules/.pnpm/github.com+discord+erlpack@e27db8f82892bdb9b28a0547cc394d68b5d2242d/node_modules/erlpack: Running install scrinode_modules/.pnpm/github.com+discord+erlpack@e27db8f82892bdb9b28a0547cc394d68b5d2242d/node_modules/erlpack: Running install script, failed in 6.9s/[email protected]/node_modules/bufferutil: Running install script, done in 415ms
.../node_modules/erlpack install$ node-gyp rebuild
│ gyp info it worked if it ends with ok
│ gyp info using [email protected]
│ gyp info using [email protected] | linux | x64
│ gyp info find Python using Python version 3.8.5 found at "/usr/bin/python3"
│ (node:4790) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.
│ (Use `node --trace-deprecation ...` to show where the warning was created)
│ gyp info spawn /usr/bin/python3
│ gyp info spawn args [
│ gyp info spawn args   '/usr/pnpm-global/5/node_modules/.pnpm/[email protected]/node_modules/pnpm/dist/node_modules/node-gyp/gyp/gyp_
│ gyp info spawn args   'binding.gyp',
│ gyp info spawn args   '-f',
│ gyp info spawn args   'make',
│ gyp info spawn args   '-I',
│ gyp info spawn args   '/home/gingkathfox/Kamiyu/node_modules/.pnpm/github.com+discord+erlpack@e27db8f82892bdb9b28a0547cc394d6
│ gyp info spawn args   '-I',
│ gyp info spawn args   '/usr/pnpm-global/5/node_modules/.pnpm/[email protected]/node_modules/pnpm/dist/node_modules/node-gyp/addon.gy
│ gyp info spawn args   '-I',
│ gyp info spawn args   '/home/gingkathfox/.cache/node-gyp/16.4.0/include/node/common.gypi',
│ gyp info spawn args   '-Dlibrary=shared_library',
│ gyp info spawn args   '-Dvisibility=default',
│ gyp info spawn args   '-Dnode_root_dir=/home/gingkathfox/.cache/node-gyp/16.4.0',
│ gyp info spawn args   '-Dnode_gyp_dir=/usr/pnpm-global/5/node_modules/.pnpm/[email protected]/node_modules/pnpm/dist/node_modules/no
│ gyp info spawn args   '-Dnode_lib_file=/home/gingkathfox/.cache/node-gyp/16.4.0/<(target_arch)/node.lib',
│ gyp info spawn args   '-Dmodule_root_dir=/home/gingkathfox/Kamiyu/node_modules/.pnpm/github.com+discord+erlpack@e27db8f82892b
│ gyp info spawn args   '-Dnode_engine=v8',
│ gyp info spawn args   '--depth=.',
│ gyp info spawn args   '--no-parallel',
│ gyp info spawn args   '--generator-output',
│ gyp info spawn args   'build',
│ gyp info spawn args   '-Goutput_dir=.'
│ gyp info spawn args ]
│ gyp info spawn make
│ gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
│ make: Entering directory '/home/gingkathfox/Kamiyu/node_modules/.pnpm/github.com+discord+erlpack@e27db8f82892bdb9b28a0547cc39
│   CC(target) Release/obj.target/zlib/vendor/zlib/adler32.o
│   CC(target) Release/obj.target/zlib/vendor/zlib/compress.o
│   CC(target) Release/obj.target/zlib/vendor/zlib/crc32.o
│   CC(target) Release/obj.target/zlib/vendor/zlib/deflate.o
│   CC(target) Release/obj.target/zlib/vendor/zlib/gzclose.o
│   CC(target) Release/obj.target/zlib/vendor/zlib/gzlib.o
│   CC(target) Release/obj.target/zlib/vendor/zlib/gzread.o
│   CC(target) Release/obj.target/zlib/vendor/zlib/gzwrite.o
│   CC(target) Release/obj.target/zlib/vendor/zlib/infback.o
│ ../vendor/zlib/infback.c: In function ‘inflateBack’:
│ ../vendor/zlib/infback.c:479:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
│   479 |             state->mode = LEN;
│       |             ~~~~~~~~~~~~^~~~~
│ ../vendor/zlib/infback.c:481:9: note: here
│   481 |         case LEN:
│       |         ^~~~
│   CC(target) Release/obj.target/zlib/vendor/zlib/inffast.o
│   CC(target) Release/obj.target/zlib/vendor/zlib/inflate.o
│ ../vendor/zlib/inflate.c: In function ‘inflateMark’:
│ ../vendor/zlib/inflate.c:1507:61: warning: left shift of negative value [-Wshift-negative-value]
│  1507 |     if (strm == Z_NULL || strm->state == Z_NULL) return -1L << 16;
│       |                                                             ^~
│ ../vendor/zlib/inflate.c: In function ‘inflate’:
│ ../vendor/zlib/inflate.c:720:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
│   720 |             state->mode = EXLEN;
│       |             ~~~~~~~~~~~~^~~~~~~
│ ../vendor/zlib/inflate.c:721:9: note: here
│   721 |         case EXLEN:
│       |         ^~~~
│ ../vendor/zlib/inflate.c:732:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
│   732 |             state->mode = EXTRA;
│       |             ~~~~~~~~~~~~^~~~~~~
│ ../vendor/zlib/inflate.c:733:9: note: here
│   733 |         case EXTRA:
│       |         ^~~~
│ ../vendor/zlib/inflate.c:754:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
│   754 |             state->mode = NAME;
│       |             ~~~~~~~~~~~~^~~~~~
│ ../vendor/zlib/inflate.c:755:9: note: here
│   755 |         case NAME:
│       |         ^~~~
│ ../vendor/zlib/inflate.c:775:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
│   775 |             state->mode = COMMENT;
│       |             ~~~~~~~~~~~~^~~~~~~~~
│ ../vendor/zlib/inflate.c:776:9: note: here
│   776 |         case COMMENT:
│       |         ^~~~
│ ../vendor/zlib/inflate.c:795:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
│   795 |             state->mode = HCRC;
│       |             ~~~~~~~~~~~~^~~~~~
│ ../vendor/zlib/inflate.c:796:9: note: here
│   796 |         case HCRC:
│       |         ^~~~
│ ../vendor/zlib/inflate.c:818:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
│   818 |             state->mode = DICT;
│       |             ~~~~~~~~~~~~^~~~~~
│ ../vendor/zlib/inflate.c:819:9: note: here
│   819 |         case DICT:
│       |         ^~~~
│ ../vendor/zlib/inflate.c:825:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
│   825 |             state->mode = TYPE;
│       |             ~~~~~~~~~~~~^~~~~~
│ ../vendor/zlib/inflate.c:826:9: note: here
│   826 |         case TYPE:
│       |         ^~~~
│ ../vendor/zlib/inflate.c:827:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
│   827 |             if (flush == Z_BLOCK || flush == Z_TREES) goto inf_leave;
│       |                ^
│ ../vendor/zlib/inflate.c:828:9: note: here
│   828 |         case TYPEDO:
│       |         ^~~~
│ ../vendor/zlib/inflate.c:877:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
│   877 |             if (flush == Z_TREES) goto inf_leave;
│       |                ^
│ ../vendor/zlib/inflate.c:878:9: note: here
│   878 |         case COPY_:
│       |         ^~~~
│ ../vendor/zlib/inflate.c:879:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
│   879 |             state->mode = COPY;
│       |             ~~~~~~~~~~~~^~~~~~
│ ../vendor/zlib/inflate.c:880:9: note: here
│   880 |         case COPY:
│       |         ^~~~
│ ../vendor/zlib/inflate.c:1018:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
│  1018 |             if (flush == Z_TREES) goto inf_leave;
│       |                ^
│ ../vendor/zlib/inflate.c:1019:9: note: here
│  1019 |         case LEN_:
│       |         ^~~~
│ ../vendor/zlib/inflate.c:1020:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
│  1020 |             state->mode = LEN;
│       |             ~~~~~~~~~~~~^~~~~
│ ../vendor/zlib/inflate.c:1021:9: note: here
│  1021 |         case LEN:
│       |         ^~~~
│ ../vendor/zlib/inflate.c:1069:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
│  1069 |             state->mode = LENEXT;
│       |             ~~~~~~~~~~~~^~~~~~~~
│ ../vendor/zlib/inflate.c:1070:9: note: here
│  1070 |         case LENEXT:
│       |         ^~~~
│ ../vendor/zlib/inflate.c:1079:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
│  1079 |             state->mode = DIST;
│       |             ~~~~~~~~~~~~^~~~~~
│ ../vendor/zlib/inflate.c:1080:9: note: here
│  1080 |         case DIST:
│       |         ^~~~
│ ../vendor/zlib/inflate.c:1106:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
│  1106 |             state->mode = DISTEXT;
│       |             ~~~~~~~~~~~~^~~~~~~~~
│ ../vendor/zlib/inflate.c:1107:9: note: here
│  1107 |         case DISTEXT:
│       |         ^~~~
│ ../vendor/zlib/inflate.c:1122:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
│  1122 |             state->mode = MATCH;
│       |             ~~~~~~~~~~~~^~~~~~~
│ ../vendor/zlib/inflate.c:1123:9: note: here
│  1123 |         case MATCH:
│       |         ^~~~
│ ../vendor/zlib/inflate.c:1197:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
│  1197 |             state->mode = LENGTH;
│       |             ~~~~~~~~~~~~^~~~~~~~
│ ../vendor/zlib/inflate.c:1198:9: note: here
│  1198 |         case LENGTH:
│       |         ^~~~
│ ../vendor/zlib/inflate.c:1210:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
│  1210 |             state->mode = DONE;
│       |             ~~~~~~~~~~~~^~~~~~
│ ../vendor/zlib/inflate.c:1211:9: note: here
│  1211 |         case DONE:
│       |         ^~~~
│   CC(target) Release/obj.target/zlib/vendor/zlib/inftrees.o
│   CC(target) Release/obj.target/zlib/vendor/zlib/trees.o
│   CC(target) Release/obj.target/zlib/vendor/zlib/uncompr.o
│   CC(target) Release/obj.target/zlib/vendor/zlib/zutil.o
│   AR(target) Release/obj.target/vendor/zlib.a
│   COPY Release/zlib.a
│   CXX(target) Release/obj.target/erlpack/js/erlpack.o
│ In file included from /home/gingkathfox/.cache/node-gyp/16.4.0/include/node/v8.h:30,
│                  from /home/gingkathfox/.cache/node-gyp/16.4.0/include/node/node.h:63,
│                  from ../../../../[email protected]/node_modules/nan/nan.h:56,
│                  from ../js/erlpack.cc:1:
│ /home/gingkathfox/.cache/node-gyp/16.4.0/include/node/v8-internal.h: In function ‘void v8::internal::PerformCastCheck(T*)’:
│ /home/gingkathfox/.cache/node-gyp/16.4.0/include/node/v8-internal.h:454:38: error: ‘remove_cv_t’ is not a member of ‘std’; di
│   454 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
│       |                                      ^~~~~~~~~~~
│       |                                      remove_cv
│ /home/gingkathfox/.cache/node-gyp/16.4.0/include/node/v8-internal.h:454:38: error: ‘remove_cv_t’ is not a member of ‘std’; di
│   454 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
│       |                                      ^~~~~~~~~~~
│       |                                      remove_cv
│ /home/gingkathfox/.cache/node-gyp/16.4.0/include/node/v8-internal.h:454:50: error: template argument 2 is invalid
│   454 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
│       |                                                  ^
│ /home/gingkathfox/.cache/node-gyp/16.4.0/include/node/v8-internal.h:454:63: error: ‘::Perform’ has not been declared
│   454 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
│       |                                                               ^~~~~~~
│ In file included from ../js/erlpack.cc:3:
│ ../js/decoder.h: In member function ‘v8::Local<v8::Value> Decoder::decodeBig(uint32_t)’:
│ ../js/decoder.h:260:62: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers]
│   260 |         const uint8_t length = static_cast<const uint8_t>(res);
│       |                                                              ^
│ In file included from ../../../../[email protected]/node_modules/nan/nan.h:56,
│                  from ../js/erlpack.cc:1:
│ ../js/erlpack.cc: At global scope:
│ /home/gingkathfox/.cache/node-gyp/16.4.0/include/node/node.h:806:43: warning: cast between incompatible function types from ‘
│   806 |       (node::addon_register_func) (regfunc),                          \
│       |                                           ^
│ /home/gingkathfox/.cache/node-gyp/16.4.0/include/node/node.h:840:3: note: in expansion of macro ‘NODE_MODULE_X’
│   840 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
│       |   ^~~~~~~~~~~~~
│ ../js/erlpack.cc:49:1: note: in expansion of macro ‘NODE_MODULE’
│    49 | NODE_MODULE(erlpack, Init);
│       | ^~~~~~~~~~~
│ make: *** [erlpack.target.mk:120: Release/obj.target/erlpack/js/erlpack.o] Error 1
│ gyp ERR! build error 
│ gyp ERR! stack Error: `make` failed with exit code: 2
│ gyp ERR! stack     at ChildProcess.onExit (/usr/pnpm-global/5/node_modules/.pnpm/[email protected]/node_modules/pnpm/dist/node_modul
│ gyp ERR! stack     at ChildProcess.emit (node:events:394:28)
│ gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
│ gyp ERR! System Linux 5.8.0-1035-gcp
│ gyp ERR! command "/usr/bin/node" "/usr/pnpm-global/5/node_modules/.pnpm/[email protected]/node_modules/pnpm/dist/node_modules/node-g
│ gyp ERR! cwd /home/gingkathfox/Kamiyu/node_modules/.pnpm/github.com+discord+erlpack@e27db8f82892bdb9b28a0547cc394d68b5d2242d/
│ gyp ERR! node -v v16.4.0
│ gyp ERR! node-gyp -v v8.1.0
│ gyp ERR! not ok 
│ make: Leaving directory '/home/gingkathfox/Kamiyu/node_modules/.pnpm/github.com+discord+erlpack@e27db8f82892bdb9b28a0547cc394
└─ Failed in 6.9s
node_modules/.pnpm/[email protected]/node_modules/bufferutil: Running install script, done in 415ms
node_modules/.pnpm/[email protected]/node_modules/utf-8-validate: Running install script, done in 459ms
Progress: resolved 40, reused 40, downloaded 0, added 0, done
 ERROR  Command failed with exit code 1.

npm ERR [email protected] install: script 'node-gyp rebuild'

Log file

1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'C:\\Users\\legit\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'install',
1 verbose cli   'erlpack' ]
2 info using [email protected]
3 info using [email protected]
4 silly loadCurrentTree Starting
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 silly fetchPackageMetaData erlpack@github:hammerandchisel/erlpack
8 silly fetchOtherPackageData erlpack@github:hammerandchisel/erlpack
9 silly cache add args [ 'erlpack@github:hammerandchisel/erlpack', null ]
10 verbose cache add spec erlpack@github:hammerandchisel/erlpack
11 silly cache add parsed spec Result {
11 silly cache add   raw: 'erlpack@github:hammerandchisel/erlpack',
11 silly cache add   scope: null,
11 silly cache add   escapedName: 'erlpack',
11 silly cache add   name: 'erlpack',
11 silly cache add   rawSpec: 'github:hammerandchisel/erlpack',
11 silly cache add   spec: 'github:hammerandchisel/erlpack',
11 silly cache add   type: 'hosted',
11 silly cache add   hosted:
11 silly cache add    { type: 'github',
11 silly cache add      ssh: '[email protected]:hammerandchisel/erlpack.git',
11 silly cache add      sshUrl: 'git+ssh://[email protected]/hammerandchisel/erlpack.git',
11 silly cache add      httpsUrl: 'git+https://github.com/hammerandchisel/erlpack.git',
11 silly cache add      gitUrl: 'git://github.com/hammerandchisel/erlpack.git',
11 silly cache add      shortcut: 'github:hammerandchisel/erlpack',
11 silly cache add      directUrl: 'https://raw.githubusercontent.com/hammerandchisel/erlpack/master/package.json' } }
12 verbose addRemoteGit caching github:hammerandchisel/erlpack
13 verbose addRemoteGit hammerandchisel/erlpack is a repository hosted by github
14 silly tryGitProto attempting to clone git://github.com/hammerandchisel/erlpack.git
15 silly tryClone cloning hammerandchisel/erlpack via git://github.com/hammerandchisel/erlpack.git
16 verbose tryClone git-github-com-hammerandchisel-erlpack-git-dae5464b not in flight; caching
17 verbose correctMkdir C:\Users\legit\AppData\Roaming\npm-cache\_git-remotes correctMkdir not in flight; initializing
18 info git [ 'config', '--get', 'remote.origin.url' ]
19 silly validateExistingRemote hammerandchisel/erlpack remote.origin.url: git://github.com/hammerandchisel/erlpack.git
20 verbose validateExistingRemote hammerandchisel/erlpack is updating existing cached remote C:\Users\legit\AppData\Roaming\npm-cache\_git-remotes\git-github-com-hammerandchisel-erlpack-git-dae5464b
21 info git [ 'fetch', '-a', 'origin' ]
22 verbose updateRemote git fetch -a origin (git://github.com/hammerandchisel/erlpack.git)
23 verbose setPermissions hammerandchisel/erlpack skipping chownr on Windows
24 verbose resolveHead hammerandchisel/erlpack original treeish: master
25 info git [ 'rev-list', '-n1', 'master' ]
26 silly resolveHead hammerandchisel/erlpack resolved treeish: fcb5637f87d8631292f639bda98232ca4266b98e
27 verbose resolveHead hammerandchisel/erlpack resolved Git URL: git://github.com/hammerandchisel/erlpack.git#fcb5637f87d8631292f639bda98232ca4266b98e
28 silly resolveHead Git working directory: C:\Users\legit\AppData\Local\Temp\npm-14220-75f123fe\git-cache-2b25d66f\fcb5637f87d8631292f639bda98232ca4266b98e
29 info git [ 'clone',
29 info git   'C:\\Users\\legit\\AppData\\Roaming\\npm-cache\\_git-remotes\\git-github-com-hammerandchisel-erlpack-git-dae5464b',
29 info git   'C:\\Users\\legit\\AppData\\Local\\Temp\\npm-14220-75f123fe\\git-cache-2b25d66f\\fcb5637f87d8631292f639bda98232ca4266b98e' ]
30 verbose cloneResolved hammerandchisel/erlpack clone Cloning into 'C:\Users\legit\AppData\Local\Temp\npm-14220-75f123fe\git-cache-2b25d66f\fcb5637f87d8631292f639bda98232ca4266b98e'...
30 verbose cloneResolved done.
31 info git [ 'checkout', 'fcb5637f87d8631292f639bda98232ca4266b98e' ]
32 verbose checkoutTreeish hammerandchisel/erlpack checkout Note: checking out 'fcb5637f87d8631292f639bda98232ca4266b98e'.
32 verbose checkoutTreeish
32 verbose checkoutTreeish You are in 'detached HEAD' state. You can look around, make experimental
32 verbose checkoutTreeish changes and commit them, and you can discard any commits you make in this
32 verbose checkoutTreeish state without impacting any branches by performing another checkout.
32 verbose checkoutTreeish
32 verbose checkoutTreeish If you want to create a new branch to retain commits you create, you may
32 verbose checkoutTreeish do so (now or later) by using -b with the checkout command again. Example:
32 verbose checkoutTreeish
32 verbose checkoutTreeish   git checkout -b <new-branch-name>
32 verbose checkoutTreeish
32 verbose checkoutTreeish HEAD is now at fcb5637... Fix Hex GitHub URL
33 info git [ 'submodule', '-q', 'update', '--init', '--recursive' ]
34 verbose updateSubmodules hammerandchisel/erlpack submodule update
35 verbose addLocalDirectory C:\Users\legit\AppData\Roaming\npm-cache\erlpack\0.1.0\package.tgz not in flight; packing
36 verbose correctMkdir C:\Users\legit\AppData\Roaming\npm-cache correctMkdir not in flight; initializing
37 verbose tar pack [ 'C:\\Users\\legit\\AppData\\Roaming\\npm-cache\\erlpack\\0.1.0\\package.tgz',
37 verbose tar pack   'C:\\Users\\legit\\AppData\\Local\\Temp\\npm-14220-75f123fe\\git-cache-2b25d66f\\fcb5637f87d8631292f639bda98232ca4266b98e' ]
38 verbose tarball C:\Users\legit\AppData\Roaming\npm-cache\erlpack\0.1.0\package.tgz
39 verbose folder C:\Users\legit\AppData\Local\Temp\npm-14220-75f123fe\git-cache-2b25d66f\fcb5637f87d8631292f639bda98232ca4266b98e
40 verbose addLocalTarball adding from inside cache C:\Users\legit\AppData\Roaming\npm-cache\erlpack\0.1.0\package.tgz
41 verbose correctMkdir C:\Users\legit\AppData\Roaming\npm-cache correctMkdir not in flight; initializing
42 verbose addRemoteGit data._from: hammerandchisel/erlpack
43 verbose addRemoteGit data._resolved: git://github.com/hammerandchisel/erlpack.git#fcb5637f87d8631292f639bda98232ca4266b98e
44 silly cache afterAdd [email protected]
45 verbose afterAdd C:\Users\legit\AppData\Roaming\npm-cache\erlpack\0.1.0\package\package.json not in flight; writing
46 verbose correctMkdir C:\Users\legit\AppData\Roaming\npm-cache correctMkdir not in flight; initializing
47 verbose afterAdd C:\Users\legit\AppData\Roaming\npm-cache\erlpack\0.1.0\package\package.json written
48 silly install normalizeTree
49 silly loadCurrentTree Finishing
50 silly loadIdealTree Starting
51 silly install loadIdealTree
52 silly cloneCurrentTree Starting
53 silly install cloneCurrentTreeToIdealTree
54 silly cloneCurrentTree Finishing
55 silly loadShrinkwrap Starting
56 silly install loadShrinkwrap
57 silly loadShrinkwrap Finishing
58 silly loadAllDepsIntoIdealTree Starting
59 silly install loadAllDepsIntoIdealTree
60 silly resolveWithNewModule [email protected] checking installable status
61 silly loadAllDepsIntoIdealTree Finishing
62 silly loadIdealTree Finishing
63 silly currentTree [email protected]
63 silly currentTree +-- @types/[email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree | `-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree | `-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree | `-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree | `-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree | `-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree | `-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree | `-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree | `-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree | `-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree | `-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree | `-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree | `-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree | `-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree +-- [email protected]
63 silly currentTree `-- [email protected]
64 silly idealTree [email protected]
64 silly idealTree +-- @types/[email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree | `-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree | `-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree | `-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree | `-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree | `-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree | `-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree | `-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree | `-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree | `-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree | `-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree | `-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree | `-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree | `-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree +-- [email protected]
64 silly idealTree `-- [email protected]
65 silly generateActionsToTake Starting
66 silly install generateActionsToTake
67 silly generateActionsToTake Finishing
68 silly diffTrees action count 1
69 silly diffTrees add [email protected]
70 silly decomposeActions action count 8
71 silly decomposeActions fetch [email protected]
72 silly decomposeActions extract [email protected]
73 silly decomposeActions test [email protected]
74 silly decomposeActions preinstall [email protected]
75 silly decomposeActions build [email protected]
76 silly decomposeActions install [email protected]
77 silly decomposeActions postinstall [email protected]
78 silly decomposeActions finalize [email protected]
79 silly runTopLevelLifecycles Starting
80 silly executeActions Starting
81 silly install executeActions
82 silly doSerial global-install 0
83 silly doParallel fetch 1
84 verbose correctMkdir C:\Users\legit\AppData\Roaming\npm-cache\_locks correctMkdir not in flight; initializing
85 verbose lock using C:\Users\legit\AppData\Roaming\npm-cache\_locks\staging-5e29bab8cd7c9b4c.lock for C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules\.staging
86 silly doParallel extract 1
87 silly extract [email protected]
88 verbose unbuild node_modules\.staging\erlpack-5b6d0381
89 silly gentlyRm C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules\.staging\erlpack-5b6d0381 is being purged from base C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot
90 verbose gentlyRm don't care about contents; nuking C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules\.staging\erlpack-5b6d0381
91 verbose tar unpack C:\Users\legit\AppData\Roaming\npm-cache\erlpack\0.1.0\package.tgz
92 verbose tar unpacking to C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules\.staging\erlpack-5b6d0381
93 silly gentlyRm C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules\.staging\erlpack-5b6d0381 is being purged
94 verbose gentlyRm don't care about contents; nuking C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules\.staging\erlpack-5b6d0381
95 silly gunzTarPerm modes [ '777', '666' ]
96 silly gunzTarPerm extractEntry package.json
97 silly gunzTarPerm extractEntry .npmignore
98 silly gunzTarPerm extractEntry README.md
99 silly gunzTarPerm extractEntry LICENSE
100 silly gunzTarPerm extractEntry MANIFEST.in
101 silly gunzTarPerm extractEntry COPYING
102 silly gunzTarPerm extractEntry binding.gyp
103 silly gunzTarPerm extractEntry cpp/constants.h
104 silly gunzTarPerm extractEntry cpp/encoder.h
105 silly gunzTarPerm extractEntry cpp/sysdep.h
106 silly gunzTarPerm extractEntry .vscode/settings.json
107 silly gunzTarPerm extractEntry js/index.js
108 silly gunzTarPerm extractEntry js/__tests__/decoder-test.js
109 silly gunzTarPerm extractEntry js/__tests__/encoder-test.js
110 silly gunzTarPerm extractEntry js/decoder.h
111 silly gunzTarPerm extractEntry js/encoder.h
112 silly gunzTarPerm extractEntry js/erlpack.cc
113 silly gunzTarPerm extractEntry mix.exs
114 silly gunzTarPerm extractEntry vendor/zlib/README
115 silly gunzTarPerm extractEntry vendor/zlib/inflate.c
116 silly gunzTarPerm extractEntry vendor/zlib/FAQ
117 silly gunzTarPerm extractEntry vendor/zlib/INDEX
118 silly gunzTarPerm extractEntry vendor/zlib/Makefile
119 silly gunzTarPerm extractEntry vendor/zlib/Makefile.in
120 silly gunzTarPerm extractEntry vendor/zlib/CMakeLists.txt
121 silly gunzTarPerm extractEntry vendor/zlib/adler32.c
122 silly gunzTarPerm extractEntry vendor/zlib/amiga/Makefile.pup
123 silly gunzTarPerm extractEntry vendor/zlib/amiga/Makefile.sas
124 silly gunzTarPerm extractEntry vendor/zlib/as400/bndsrc
125 silly gunzTarPerm extractEntry vendor/zlib/as400/compile.clp
126 silly gunzTarPerm extractEntry vendor/zlib/as400/readme.txt
127 silly gunzTarPerm extractEntry vendor/zlib/as400/zlib.inc
128 silly gunzTarPerm extractEntry vendor/zlib/compress.c
129 silly gunzTarPerm extractEntry vendor/zlib/configure
130 silly gunzTarPerm extractEntry vendor/zlib/contrib/iostream/test.cpp
131 silly gunzTarPerm extractEntry vendor/zlib/contrib/iostream/zfstream.cpp
132 silly gunzTarPerm extractEntry vendor/zlib/contrib/iostream/zfstream.h
133 silly gunzTarPerm extractEntry vendor/zlib/contrib/README.contrib
134 silly gunzTarPerm extractEntry vendor/zlib/contrib/amd64/amd64-match.S
135 silly gunzTarPerm extractEntry vendor/zlib/contrib/asm686/README.686
136 silly gunzTarPerm extractEntry vendor/zlib/contrib/asm686/match.S
137 silly gunzTarPerm extractEntry vendor/zlib/contrib/blast/README
138 silly gunzTarPerm extractEntry vendor/zlib/contrib/blast/Makefile
139 silly gunzTarPerm extractEntry vendor/zlib/contrib/blast/blast.c
140 silly gunzTarPerm extractEntry vendor/zlib/contrib/blast/blast.h
141 silly gunzTarPerm extractEntry vendor/zlib/contrib/blast/test.pk
142 silly gunzTarPerm extractEntry vendor/zlib/contrib/blast/test.txt
143 silly gunzTarPerm extractEntry vendor/zlib/contrib/delphi/ZLib.pas
144 silly gunzTarPerm extractEntry vendor/zlib/contrib/delphi/ZLibConst.pas
145 silly gunzTarPerm extractEntry vendor/zlib/contrib/delphi/readme.txt
146 silly gunzTarPerm extractEntry vendor/zlib/contrib/delphi/zlibd32.mak
147 silly gunzTarPerm extractEntry vendor/zlib/contrib/dotzlib/DotZLib/AssemblyInfo.cs
148 silly gunzTarPerm extractEntry vendor/zlib/contrib/dotzlib/DotZLib/ChecksumImpl.cs
149 silly gunzTarPerm extractEntry vendor/zlib/contrib/dotzlib/DotZLib/CircularBuffer.cs
150 silly gunzTarPerm extractEntry vendor/zlib/contrib/dotzlib/DotZLib/CodecBase.cs
151 silly gunzTarPerm extractEntry vendor/zlib/contrib/dotzlib/DotZLib/Deflater.cs
152 silly gunzTarPerm extractEntry vendor/zlib/contrib/dotzlib/DotZLib/DotZLib.cs
153 silly gunzTarPerm extractEntry vendor/zlib/contrib/dotzlib/DotZLib/DotZLib.csproj
154 silly gunzTarPerm extractEntry vendor/zlib/contrib/dotzlib/DotZLib/GZipStream.cs
155 silly gunzTarPerm extractEntry vendor/zlib/contrib/dotzlib/DotZLib/Inflater.cs
156 silly gunzTarPerm extractEntry vendor/zlib/contrib/dotzlib/DotZLib/UnitTests.cs
157 silly gunzTarPerm extractEntry vendor/zlib/contrib/dotzlib/DotZLib.build
158 silly gunzTarPerm extractEntry vendor/zlib/contrib/dotzlib/DotZLib.chm
159 silly gunzTarPerm extractEntry vendor/zlib/contrib/dotzlib/DotZLib.sln
160 silly gunzTarPerm extractEntry vendor/zlib/contrib/dotzlib/LICENSE_1_0.txt
161 silly gunzTarPerm extractEntry vendor/zlib/contrib/dotzlib/readme.txt
162 silly gunzTarPerm extractEntry vendor/zlib/contrib/gcc_gvmat64/gvmat64.S
163 silly gunzTarPerm extractEntry vendor/zlib/contrib/infback9/README
164 silly gunzTarPerm extractEntry vendor/zlib/contrib/infback9/infback9.c
165 silly gunzTarPerm extractEntry vendor/zlib/contrib/infback9/infback9.h
166 silly gunzTarPerm extractEntry vendor/zlib/contrib/infback9/inffix9.h
167 silly gunzTarPerm extractEntry vendor/zlib/contrib/infback9/inflate9.h
168 silly gunzTarPerm extractEntry vendor/zlib/contrib/infback9/inftree9.c
169 silly gunzTarPerm extractEntry vendor/zlib/contrib/infback9/inftree9.h
170 silly gunzTarPerm extractEntry vendor/zlib/contrib/inflate86/inffas86.c
171 silly gunzTarPerm extractEntry vendor/zlib/contrib/inflate86/inffast.S
172 silly gunzTarPerm extractEntry vendor/zlib/contrib/ada/zlib-streams.ads
173 silly gunzTarPerm extractEntry vendor/zlib/contrib/ada/buffer_demo.adb
174 silly gunzTarPerm extractEntry vendor/zlib/contrib/ada/read.adb
175 silly gunzTarPerm extractEntry vendor/zlib/contrib/ada/readme.txt
176 silly gunzTarPerm extractEntry vendor/zlib/contrib/ada/test.adb
177 silly gunzTarPerm extractEntry vendor/zlib/contrib/ada/zlib-streams.adb
178 silly gunzTarPerm extractEntry vendor/zlib/contrib/ada/mtest.adb
179 silly gunzTarPerm extractEntry vendor/zlib/contrib/ada/zlib-thin.adb
180 silly gunzTarPerm extractEntry vendor/zlib/contrib/ada/zlib-thin.ads
181 silly gunzTarPerm extractEntry vendor/zlib/contrib/ada/zlib.adb
182 silly gunzTarPerm extractEntry vendor/zlib/contrib/ada/zlib.ads
183 silly gunzTarPerm extractEntry vendor/zlib/contrib/ada/zlib.gpr
184 silly gunzTarPerm extractEntry vendor/zlib/contrib/iostream2/zstream.h
185 silly gunzTarPerm extractEntry vendor/zlib/contrib/iostream2/zstream_test.cpp
186 silly gunzTarPerm extractEntry vendor/zlib/contrib/iostream3/README
187 silly gunzTarPerm extractEntry vendor/zlib/contrib/iostream3/TODO
188 silly gunzTarPerm extractEntry vendor/zlib/contrib/iostream3/test.cc
189 silly gunzTarPerm extractEntry vendor/zlib/contrib/iostream3/zfstream.cc
190 silly gunzTarPerm extractEntry vendor/zlib/contrib/iostream3/zfstream.h
191 silly gunzTarPerm extractEntry vendor/zlib/contrib/masmx64/bld_ml64.bat
192 silly gunzTarPerm extractEntry vendor/zlib/contrib/masmx64/gvmat64.asm
193 silly gunzTarPerm extractEntry vendor/zlib/contrib/masmx64/inffas8664.c
194 silly gunzTarPerm extractEntry vendor/zlib/contrib/masmx64/inffasx64.asm
195 silly gunzTarPerm extractEntry vendor/zlib/contrib/masmx64/readme.txt
196 silly gunzTarPerm extractEntry vendor/zlib/contrib/masmx86/bld_ml32.bat
197 silly gunzTarPerm extractEntry vendor/zlib/contrib/masmx86/inffas32.asm
198 silly gunzTarPerm extractEntry vendor/zlib/contrib/masmx86/match686.asm
199 silly gunzTarPerm extractEntry vendor/zlib/contrib/masmx86/readme.txt
200 silly gunzTarPerm extractEntry vendor/zlib/contrib/minizip/miniunz.c
201 silly gunzTarPerm extractEntry vendor/zlib/contrib/minizip/Makefile
202 silly gunzTarPerm extractEntry vendor/zlib/contrib/minizip/MiniZip64_Changes.txt
203 silly gunzTarPerm extractEntry vendor/zlib/contrib/minizip/MiniZip64_info.txt
204 silly gunzTarPerm extractEntry vendor/zlib/contrib/minizip/configure.ac
205 silly gunzTarPerm extractEntry vendor/zlib/contrib/minizip/crypt.h
206 silly gunzTarPerm extractEntry vendor/zlib/contrib/minizip/ioapi.c
207 silly gunzTarPerm extractEntry vendor/zlib/contrib/minizip/ioapi.h
208 silly gunzTarPerm extractEntry vendor/zlib/contrib/minizip/iowin32.c
209 silly gunzTarPerm extractEntry vendor/zlib/contrib/minizip/iowin32.h
210 silly gunzTarPerm extractEntry vendor/zlib/contrib/minizip/make_vms.com
211 silly gunzTarPerm extractEntry vendor/zlib/contrib/minizip/Makefile.am
212 silly gunzTarPerm extractEntry vendor/zlib/contrib/minizip/miniunzip.1
213 silly gunzTarPerm extractEntry vendor/zlib/contrib/minizip/minizip.1
214 silly gunzTarPerm extractEntry vendor/zlib/contrib/minizip/minizip.c
215 silly gunzTarPerm extractEntry vendor/zlib/contrib/minizip/minizip.pc.in
216 silly gunzTarPerm extractEntry vendor/zlib/contrib/minizip/mztools.c
217 silly gunzTarPerm extractEntry vendor/zlib/contrib/minizip/mztools.h
218 silly gunzTarPerm extractEntry vendor/zlib/contrib/minizip/unzip.c
219 silly gunzTarPerm extractEntry vendor/zlib/contrib/minizip/unzip.h
220 silly gunzTarPerm extractEntry vendor/zlib/contrib/minizip/zip.c
221 silly gunzTarPerm extractEntry vendor/zlib/contrib/minizip/zip.h
222 silly gunzTarPerm extractEntry vendor/zlib/contrib/pascal/example.pas
223 silly gunzTarPerm extractEntry vendor/zlib/contrib/pascal/readme.txt
224 silly gunzTarPerm extractEntry vendor/zlib/contrib/pascal/zlibd32.mak
225 silly gunzTarPerm extractEntry vendor/zlib/contrib/pascal/zlibpas.pas
226 silly gunzTarPerm extractEntry vendor/zlib/contrib/puff/README
227 silly gunzTarPerm extractEntry vendor/zlib/contrib/puff/Makefile
228 silly gunzTarPerm extractEntry vendor/zlib/contrib/puff/puff.c
229 silly gunzTarPerm extractEntry vendor/zlib/contrib/puff/puff.h
230 silly gunzTarPerm extractEntry vendor/zlib/contrib/puff/pufftest.c
231 silly gunzTarPerm extractEntry vendor/zlib/contrib/puff/zeros.raw
232 silly gunzTarPerm extractEntry vendor/zlib/contrib/testzlib/testzlib.c
233 silly gunzTarPerm extractEntry vendor/zlib/contrib/testzlib/testzlib.txt
234 silly gunzTarPerm extractEntry vendor/zlib/contrib/untgz/Makefile
235 silly gunzTarPerm extractEntry vendor/zlib/contrib/untgz/Makefile.msc
236 silly gunzTarPerm extractEntry vendor/zlib/contrib/untgz/untgz.c
237 silly gunzTarPerm extractEntry vendor/zlib/contrib/vstudio/readme.txt
238 silly gunzTarPerm extractEntry vendor/zlib/contrib/vstudio/vc10/testzlibdll.vcxproj.filters
239 silly gunzTarPerm extractEntry vendor/zlib/contrib/vstudio/vc10/miniunz.vcxproj
240 silly gunzTarPerm extractEntry vendor/zlib/contrib/vstudio/vc10/minizip.vcxproj
241 silly gunzTarPerm extractEntry vendor/zlib/contrib/vstudio/vc10/minizip.vcxproj.filters
242 silly gunzTarPerm extractEntry vendor/zlib/contrib/vstudio/vc10/testzlib.vcxproj
243 silly gunzTarPerm extractEntry vendor/zlib/contrib/vstudio/vc10/testzlib.vcxproj.filters
244 silly gunzTarPerm extractEntry vendor/zlib/contrib/vstudio/vc10/testzlibdll.vcxproj
245 silly gunzTarPerm extractEntry vendor/zlib/contrib/vstudio/vc10/miniunz.vcxproj.filters
246 silly gunzTarPerm extractEntry vendor/zlib/contrib/vstudio/vc10/zlib.rc
247 silly gunzTarPerm extractEntry vendor/zlib/contrib/vstudio/vc10/zlibstat.vcxproj
248 silly gunzTarPerm extractEntry vendor/zlib/contrib/vstudio/vc10/zlibstat.vcxproj.filters
249 silly gunzTarPerm extractEntry vendor/zlib/contrib/vstudio/vc10/zlibvc.def
250 silly gunzTarPerm extractEntry vendor/zlib/contrib/vstudio/vc10/zlibvc.sln
251 silly gunzTarPerm extractEntry vendor/zlib/contrib/vstudio/vc10/zlibvc.vcxproj
252 silly gunzTarPerm extractEntry vendor/zlib/contrib/vstudio/vc10/zlibvc.vcxproj.filters
253 silly gunzTarPerm extractEntry vendor/zlib/contrib/vstudio/vc11/miniunz.vcxproj
254 silly gunzTarPerm extractEntry vendor/zlib/contrib/vstudio/vc11/minizip.vcxproj
255 silly gunzTarPerm extractEntry vendor/zlib/contrib/vstudio/vc11/testzlib.vcxproj
256 silly gunzTarPerm extractEntry vendor/zlib/contrib/vstudio/vc11/testzlibdll.vcxproj
257 silly gunzTarPerm extractEntry vendor/zlib/contrib/vstudio/vc11/zlib.rc
258 silly gunzTarPerm extractEntry vendor/zlib/contrib/vstudio/vc11/zlibstat.vcxproj
259 silly gunzTarPerm extractEntry vendor/zlib/contrib/vstudio/vc11/zlibvc.def
260 silly gunzTarPerm extractEntry vendor/zlib/contrib/vstudio/vc11/zlibvc.sln
261 silly gunzTarPerm extractEntry vendor/zlib/contrib/vstudio/vc11/zlibvc.vcxproj
262 silly gunzTarPerm extractEntry vendor/zlib/contrib/vstudio/vc9/miniunz.vcproj
263 silly gunzTarPerm extractEntry vendor/zlib/contrib/vstudio/vc9/minizip.vcproj
264 silly gunzTarPerm extractEntry vendor/zlib/contrib/vstudio/vc9/testzlib.vcproj
265 silly gunzTarPerm extractEntry vendor/zlib/contrib/vstudio/vc9/testzlibdll.vcproj
266 silly gunzTarPerm extractEntry vendor/zlib/contrib/vstudio/vc9/zlib.rc
267 silly gunzTarPerm extractEntry vendor/zlib/contrib/vstudio/vc9/zlibstat.vcproj
268 silly gunzTarPerm extractEntry vendor/zlib/contrib/vstudio/vc9/zlibvc.def
269 silly gunzTarPerm extractEntry vendor/zlib/contrib/vstudio/vc9/zlibvc.sln
270 silly gunzTarPerm extractEntry vendor/zlib/contrib/vstudio/vc9/zlibvc.vcproj
271 silly gunzTarPerm extractEntry vendor/zlib/crc32.c
272 silly gunzTarPerm extractEntry vendor/zlib/crc32.h
273 silly gunzTarPerm extractEntry vendor/zlib/deflate.c
274 silly gunzTarPerm extractEntry vendor/zlib/deflate.h
275 silly gunzTarPerm extractEntry vendor/zlib/doc/algorithm.txt
276 silly gunzTarPerm extractEntry vendor/zlib/doc/rfc1950.txt
277 silly gunzTarPerm extractEntry vendor/zlib/doc/rfc1951.txt
278 silly gunzTarPerm extractEntry vendor/zlib/doc/rfc1952.txt
279 silly gunzTarPerm extractEntry vendor/zlib/doc/txtvsbin.txt
280 silly gunzTarPerm extractEntry vendor/zlib/examples/gzjoin.c
281 silly gunzTarPerm extractEntry vendor/zlib/examples/README.examples
282 silly gunzTarPerm extractEntry vendor/zlib/examples/fitblk.c
283 silly gunzTarPerm extractEntry vendor/zlib/examples/gun.c
284 silly gunzTarPerm extractEntry vendor/zlib/examples/gzappend.c
285 silly gunzTarPerm extractEntry vendor/zlib/examples/enough.c
286 silly gunzTarPerm extractEntry vendor/zlib/examples/gzlog.c
287 silly gunzTarPerm extractEntry vendor/zlib/examples/gzlog.h
288 silly gunzTarPerm extractEntry vendor/zlib/examples/zlib_how.html
289 silly gunzTarPerm extractEntry vendor/zlib/examples/zpipe.c
290 silly gunzTarPerm extractEntry vendor/zlib/examples/zran.c
291 silly gunzTarPerm extractEntry vendor/zlib/gzclose.c
292 silly gunzTarPerm extractEntry vendor/zlib/gzguts.h
293 silly gunzTarPerm extractEntry vendor/zlib/gzlib.c
294 silly gunzTarPerm extractEntry vendor/zlib/gzread.c
295 silly gunzTarPerm extractEntry vendor/zlib/gzwrite.c
296 silly gunzTarPerm extractEntry vendor/zlib/infback.c
297 silly gunzTarPerm extractEntry vendor/zlib/inffast.c
298 silly gunzTarPerm extractEntry vendor/zlib/inffast.h
299 silly gunzTarPerm extractEntry vendor/zlib/inffixed.h
300 silly gunzTarPerm extractEntry vendor/zlib/ChangeLog
301 silly gunzTarPerm extractEntry vendor/zlib/inflate.h
302 silly gunzTarPerm extractEntry vendor/zlib/inftrees.c
303 silly gunzTarPerm extractEntry vendor/zlib/inftrees.h
304 silly gunzTarPerm extractEntry vendor/zlib/make_vms.com
305 silly gunzTarPerm extractEntry vendor/zlib/msdos/Makefile.bor
306 silly gunzTarPerm extractEntry vendor/zlib/msdos/Makefile.dj2
307 silly gunzTarPerm extractEntry vendor/zlib/msdos/Makefile.emx
308 silly gunzTarPerm extractEntry vendor/zlib/msdos/Makefile.msc
309 silly gunzTarPerm extractEntry vendor/zlib/msdos/Makefile.tc
310 silly gunzTarPerm extractEntry vendor/zlib/nintendods/README
311 silly gunzTarPerm extractEntry vendor/zlib/nintendods/Makefile
312 silly gunzTarPerm extractEntry vendor/zlib/old/README
313 silly gunzTarPerm extractEntry vendor/zlib/old/Makefile.emx
314 silly gunzTarPerm extractEntry vendor/zlib/old/Makefile.riscos
315 silly gunzTarPerm extractEntry vendor/zlib/old/descrip.mms
316 silly gunzTarPerm extractEntry vendor/zlib/old/os2/Makefile.os2
317 silly gunzTarPerm extractEntry vendor/zlib/old/os2/zlib.def
318 silly gunzTarPerm extractEntry vendor/zlib/old/visual-basic.txt
319 silly gunzTarPerm extractEntry vendor/zlib/qnx/package.qpg
320 silly gunzTarPerm extractEntry vendor/zlib/test/example.c
321 silly gunzTarPerm extractEntry vendor/zlib/test/infcover.c
322 silly gunzTarPerm extractEntry vendor/zlib/test/minigzip.c
323 silly gunzTarPerm extractEntry vendor/zlib/treebuild.xml
324 silly gunzTarPerm extractEntry vendor/zlib/trees.c
325 silly gunzTarPerm extractEntry vendor/zlib/trees.h
326 silly gunzTarPerm extractEntry vendor/zlib/uncompr.c
327 silly gunzTarPerm extractEntry vendor/zlib/watcom/watcom_f.mak
328 silly gunzTarPerm extractEntry vendor/zlib/watcom/watcom_l.mak
329 silly gunzTarPerm extractEntry vendor/zlib/win32/DLL_FAQ.txt
330 silly gunzTarPerm extractEntry vendor/zlib/win32/Makefile.bor
331 silly gunzTarPerm extractEntry vendor/zlib/win32/Makefile.gcc
332 silly gunzTarPerm extractEntry vendor/zlib/win32/Makefile.msc
333 silly gunzTarPerm extractEntry vendor/zlib/win32/README-WIN32.txt
334 silly gunzTarPerm extractEntry vendor/zlib/win32/VisualC.txt
335 silly gunzTarPerm extractEntry vendor/zlib/win32/zlib.def
336 silly gunzTarPerm extractEntry vendor/zlib/win32/zlib1.rc
337 silly gunzTarPerm extractEntry vendor/zlib/zconf.h
338 silly gunzTarPerm extractEntry vendor/zlib/zconf.h.cmakein
339 silly gunzTarPerm extractEntry vendor/zlib/zconf.h.in
340 silly gunzTarPerm extractEntry vendor/zlib/zlib.3
341 silly gunzTarPerm extractEntry vendor/zlib/zlib.3.pdf
342 silly gunzTarPerm extractEntry vendor/zlib/zlib.h
343 silly gunzTarPerm extractEntry vendor/zlib/zlib.map
344 silly gunzTarPerm extractEntry vendor/zlib/zlib.pc.cmakein
345 silly gunzTarPerm extractEntry vendor/zlib/zlib.pc.in
346 silly gunzTarPerm extractEntry vendor/zlib/zlib2ansi
347 silly gunzTarPerm extractEntry vendor/zlib/zutil.c
348 silly gunzTarPerm extractEntry vendor/zlib/zutil.h
349 silly gunzTarPerm extractEntry vendor/zlib.gyp
350 silly gunzTarPerm extractEntry py/erlpack/__init__.py
351 silly gunzTarPerm extractEntry py/erlpack/_packer.cpp
352 silly gunzTarPerm extractEntry py/erlpack/_packer.pyx
353 silly gunzTarPerm extractEntry py/erlpack/_unpacker.cpp
354 silly gunzTarPerm extractEntry py/erlpack/_unpacker.pyx
355 silly gunzTarPerm extractEntry py/erlpack/constants.py
356 silly gunzTarPerm extractEntry py/erlpack/types.py
357 silly gunzTarPerm extractEntry py/scripts/generate_generated_tests.sh
358 silly gunzTarPerm extractEntry py/tests/test_generated.py
359 silly gunzTarPerm extractEntry py/tests/integration/echo_server.py
360 silly gunzTarPerm extractEntry py/tests/integration/echo_test.exs
361 silly gunzTarPerm extractEntry py/tests/test_dict.py
362 silly gunzTarPerm extractEntry py/tests/test_encode_hook.py
363 silly gunzTarPerm extractEntry py/tests/test_erlpack_magic_method.py
364 silly gunzTarPerm extractEntry py/tests/test_false.py
365 silly gunzTarPerm extractEntry py/tests/test_floats.py
366 silly gunzTarPerm extractEntry py/tests/test_atom.py
367 silly gunzTarPerm extractEntry py/tests/test_ints.py
368 silly gunzTarPerm extractEntry py/tests/test_list.py
369 silly gunzTarPerm extractEntry py/tests/test_nil.py
370 silly gunzTarPerm extractEntry py/tests/test_string.py
371 silly gunzTarPerm extractEntry py/tests/test_true.py
372 silly gunzTarPerm extractEntry py/tests/test_tuple.py
373 silly gunzTarPerm extractEntry py/tests/test_unicode.py
374 silly gunzTarPerm extractEntry pytest.ini
375 silly gunzTarPerm extractEntry setup.cfg
376 silly gunzTarPerm extractEntry setup.py
377 silly gunzTarPerm extractEntry ex/erlpack/test/erlpack_test.exs
378 silly gunzTarPerm extractEntry ex/erlpack/test/test_helper.exs
379 silly gentlyRm C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules\.staging\erlpack-5b6d0381\node_modules is being purged
380 verbose gentlyRm don't care about contents; nuking C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules\.staging\erlpack-5b6d0381\node_modules
381 silly doParallel preinstall 1
382 silly preinstall [email protected]
383 info lifecycle [email protected]~preinstall: [email protected]
384 silly lifecycle [email protected]~preinstall: no script for preinstall, continuing
385 silly doReverseSerial remove 0
386 silly doSerial move 0
387 silly doSerial finalize 1
388 silly finalize C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules\erlpack
389 silly doSerial build 1
390 silly build [email protected]
391 info linkStuff [email protected]
392 silly linkStuff [email protected] has C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules as its parent node_modules
393 verbose linkBins [email protected]
394 verbose linkMans [email protected]
395 silly doSerial global-link 0
396 silly doParallel update-linked 0
397 silly doSerial install 1
398 silly install [email protected]
399 info lifecycle [email protected]~install: [email protected]
400 verbose lifecycle [email protected]~install: unsafe-perm in lifecycle true
401 verbose lifecycle [email protected]~install: PATH: C:\Users\legit\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin;C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules\erlpack\node_modules\.bin;C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules\.bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files\Microsoft MPI\Bin\;C:\Python27\;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\nodejs\node.exe;C:\Python27\Scripts;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Users\legit\AppData\Roaming\npm;C:\Strawberry\perl\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\c\bin;C:\Strawberry\perl\bin\perl.exe;C:\Program Files\CMake\bin;C:\Users\legit\Desktop\yaysm\yasm.exe;C:\Program Files (x86)\Microsoft Emulator Manager\1.0\;C:\Users\legit\AppData\Roaming\nvm;C:\Program Files\nodejs;C:\Program Files\Git LFS;C:\Program Files\LLVM\bin;C:\Program Files (x86)\Skype\Phone\;C:\Program Files\Git\cmd;C:\Program Files\dotnet\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\MySQL\MySQL Utilities 1.6\;C:\Users\legit\AppData\Local\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\nodejs\;C:\Users\legit\AppData\Local\Microsoft\WindowsApps;C:\Users\legit\AppData\Roaming\Dashlane\4.6.2.19264\bin\Firefox_Extension\{442718d9-475e-452a-b3e1-fb1ee16b8e9f}\components;C:\Program Files (x86)\Microsoft VS Code Insiders\bin;C:\Program Files (x86)\Microsoft VS Code\bin;C:\Users\legit\AppData\Roaming\Dashlane\4.6.5.21982\bin\Firefox_Extension\{442718d9-475e-452a-b3e1-fb1ee16b8e9f}\components;C:\Users\legit\AppData\Local\atom\bin;C:\Users\legit\AppData\Local\Microsoft\WindowsApps;C:\Python27\python.exe
402 verbose lifecycle [email protected]~install: CWD: C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules\erlpack
403 silly lifecycle [email protected]~install: Args: [ '/d /s /c', 'node-gyp rebuild' ]
404 silly lifecycle [email protected]~install: Returned: code: 1  signal: null
405 info lifecycle [email protected]~install: Failed to exec install script
406 verbose unlock done using C:\Users\legit\AppData\Roaming\npm-cache\_locks\staging-5e29bab8cd7c9b4c.lock for C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules\.staging
407 silly rollbackFailedOptional Starting
408 silly gentlyRm C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules\erlpack is being purged from base C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot
409 verbose gentlyRm don't care about contents; nuking C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules\erlpack
410 silly gentlyRm C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules\erlpack is being purged from base C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot
411 verbose gentlyRm don't care about contents; nuking C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules\erlpack
412 silly gentlyRm C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules\erlpack is being purged from base C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot
413 verbose gentlyRm don't care about contents; nuking C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules\erlpack
414 silly gentlyRm C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules\erlpack is being purged from base C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot
415 verbose gentlyRm don't care about contents; nuking C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules\erlpack
416 silly gentlyRm C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules\erlpack is being purged from base C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot
417 verbose gentlyRm don't care about contents; nuking C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules\erlpack
418 silly gentlyRm C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules\erlpack is being purged from base C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot
419 verbose gentlyRm don't care about contents; nuking C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules\erlpack
420 silly gentlyRm C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules\erlpack is being purged from base C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot
421 verbose gentlyRm don't care about contents; nuking C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules\erlpack
422 silly gentlyRm C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules\erlpack is being purged from base C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot
423 verbose gentlyRm don't care about contents; nuking C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules\erlpack
424 silly vacuum-fs purging C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules\erlpack
425 silly vacuum-fs purging C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules\erlpack
426 silly vacuum-fs purging C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules\erlpack
427 silly vacuum-fs purging C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules\erlpack
428 silly vacuum-fs purging C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules\erlpack
429 silly vacuum-fs purging C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules\erlpack
430 silly vacuum-fs purging C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules\erlpack
431 silly vacuum-fs purging C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules\erlpack
432 silly vacuum-fs quitting because other entries in C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules
433 silly vacuum-fs quitting because other entries in C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules
434 silly vacuum-fs quitting because other entries in C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules
435 silly vacuum-fs quitting because other entries in C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules
436 silly vacuum-fs quitting because other entries in C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules
437 silly vacuum-fs quitting because other entries in C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules
438 silly vacuum-fs quitting because other entries in C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules
439 silly vacuum-fs quitting because other entries in C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot\node_modules
440 silly rollbackFailedOptional Finishing
441 silly runTopLevelLifecycles Finishing
442 silly install printInstalled
443 warn [email protected] requires a peer of node-opus@^0.2.0 but none was installed.
444 warn [email protected] requires a peer of opusscript@^0.0.2 but none was installed.
445 warn [email protected] requires a peer of sodium@^2.0.1 but none was installed.
446 warn [email protected] requires a peer of uws@^0.12.0 but none was installed.
447 verbose stack Error: [email protected] install: `node-gyp rebuild`
447 verbose stack Exit status 1
447 verbose stack     at EventEmitter.<anonymous> (C:\Users\legit\AppData\Roaming\npm\node_modules\npm\lib\utils\lifecycle.js:279:16)
447 verbose stack     at emitTwo (events.js:106:13)
447 verbose stack     at EventEmitter.emit (events.js:194:7)
447 verbose stack     at ChildProcess.<anonymous> (C:\Users\legit\AppData\Roaming\npm\node_modules\npm\lib\utils\spawn.js:40:14)
447 verbose stack     at emitTwo (events.js:106:13)
447 verbose stack     at ChildProcess.emit (events.js:194:7)
447 verbose stack     at maybeClose (internal/child_process.js:899:16)
447 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
448 verbose pkgid [email protected]
449 verbose cwd C:\Users\legit\Github_Projects\Discord Stuff\Bots\googlebot
450 verbose Windows_NT 10.0.15048
451 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\legit\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install" "erlpack"
452 verbose node v7.7.1
453 verbose npm  v4.4.0
454 error code ELIFECYCLE
455 error errno 1
456 error [email protected] install: `node-gyp rebuild`
456 error Exit status 1
457 error Failed at the [email protected] install script 'node-gyp rebuild'.
457 error Make sure you have the latest version of node.js and npm installed.
457 error If you do, this is most likely a problem with the erlpack package,
457 error not with npm itself.
457 error Tell the author that this fails on your system:
457 error     node-gyp rebuild
457 error You can get information on how to open an issue for this project with:
457 error     npm bugs erlpack
457 error Or if that isn't available, you can get their info via:
457 error     npm owner ls erlpack
457 error There is likely additional logging output above.
458 verbose exit [ 1, true ]

error building wheels for 3.8

PS C:\Users\Zoomatree\Documents\GitHub\erlpack-test> pip install erlpack
Collecting erlpack
  Downloading erlpack-0.3.3.tar.gz (124 kB)
     |████████████████████████████████| 124 kB 1.1 MB/s

Requirement already satisfied: six==1.12.0 in c:\users\zoomatree\.virtualenvs\erlpack-test-0lyfi90o\lib\site-packages (from erlpack) (1.12.0)
Building wheels for collected packages: erlpack
  Building wheel for erlpack (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: 'C:\Users\Zoomatree\.virtualenvs\erlpack-test-0LyfI90o\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Zoomatree\\AppData\\Local\\Temp\\pip-install-enskivqz\\erlpack\\setup.py'"'"'; __file__='"'"'C:\\Users\\Zoomatree\\AppData\\Local\\Temp\\pip-install-enskivqz\\erlpack\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\Zoomatree\AppData\Local\Temp\pip-wheel-8fdu7kbb'
       cwd: C:\Users\Zoomatree\AppData\Local\Temp\pip-install-enskivqz\erlpack\
  Complete output (24 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib.win-amd64-3.8
  creating build\lib.win-amd64-3.8\erlpack
  copying py\erlpack\constants.py -> build\lib.win-amd64-3.8\erlpack
  copying py\erlpack\types.py -> build\lib.win-amd64-3.8\erlpack
  copying py\erlpack\__init__.py -> build\lib.win-amd64-3.8\erlpack
  warning: build_py: byte-compiling is disabled, skipping.

  running build_ext
  building 'erlpack._packer' extension
  creating build\temp.win-amd64-3.8
  creating build\temp.win-amd64-3.8\Release
  creating build\temp.win-amd64-3.8\Release\py
  creating build\temp.win-amd64-3.8\Release\py\erlpack
  C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Users\Zoomatree\.virtualenvs\erlpack-test-0LyfI90o\include -Ic:\python38\include -Ic:\python38\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" /EHsc /Tppy/erlpack/_packer.cpp /Fobuild\temp.win-amd64-3.8\Release\py/erlpack/_packer.obj -O3
  cl : Command line warning D9002 : ignoring unknown option '-O3'
  _packer.cpp
  py/erlpack/_packer.cpp(4918): warning C4146: unary minus operator applied to unsigned type, result still unsigned
  py/erlpack/_packer.cpp(7109): error C2660: 'PyCode_New': function does not take 16 arguments
  c:\python38\include\code.h(122): note: see declaration of 'PyCode_New'
  error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2
  ----------------------------------------
  ERROR: Failed building wheel for erlpack
  Running setup.py clean for erlpack
Failed to build erlpack
Installing collected packages: erlpack
    Running setup.py install for erlpack ... error
    ERROR: Command errored out with exit status 1:
     command: 'C:\Users\Zoomatree\.virtualenvs\erlpack-test-0LyfI90o\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Zoomatree\\AppData\\Local\\Temp\\pip-install-enskivqz\\erlpack\\setup.py'"'"'; __file__='"'"'C:\\Users\\Zoomatree\\AppData\\Local\\Temp\\pip-install-enskivqz\\erlpack\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Zoomatree\AppData\Local\Temp\pip-record-ay0w_vkn\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Zoomatree\.virtualenvs\erlpack-test-0LyfI90o\include\site\python3.8\erlpack'
         cwd: C:\Users\Zoomatree\AppData\Local\Temp\pip-install-enskivqz\erlpack\
    Complete output (24 lines):
    running install
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-3.8
    creating build\lib.win-amd64-3.8\erlpack
    copying py\erlpack\constants.py -> build\lib.win-amd64-3.8\erlpack
    copying py\erlpack\types.py -> build\lib.win-amd64-3.8\erlpack
    copying py\erlpack\__init__.py -> build\lib.win-amd64-3.8\erlpack
    warning: build_py: byte-compiling is disabled, skipping.

    running build_ext
    building 'erlpack._packer' extension
    creating build\temp.win-amd64-3.8
    creating build\temp.win-amd64-3.8\Release
    creating build\temp.win-amd64-3.8\Release\py
    creating build\temp.win-amd64-3.8\Release\py\erlpack
    C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Users\Zoomatree\.virtualenvs\erlpack-test-0LyfI90o\include -Ic:\python38\include -Ic:\python38\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" /EHsc /Tppy/erlpack/_packer.cpp /Fobuild\temp.win-amd64-3.8\Release\py/erlpack/_packer.obj -O3
    cl : Command line warning D9002 : ignoring unknown option '-O3'
    _packer.cpp
    py/erlpack/_packer.cpp(4918): warning C4146: unary minus operator applied to unsigned type, result still unsigned
    py/erlpack/_packer.cpp(7109): error C2660: 'PyCode_New': function does not take 16 arguments
    c:\python38\include\code.h(122): note: see declaration of 'PyCode_New'
    error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2
    ----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\Zoomatree\.virtualenvs\erlpack-test-0LyfI90o\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Zoomatree\\AppData\\Local\\Temp\\pip-install-enskivqz\\erlpack\\setup.py'"'"'; __file__='"'"'C:\\Users\\Zoomatree\\AppData\\Local\\Temp\\pip-install-enskivqz\\erlpack\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Zoomatree\AppData\Local\Temp\pip-record-ay0w_vkn\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Zoomatree\.virtualenvs\erlpack-test-0LyfI90o\include\site\python3.8\erlpack' Check the logs for full command output.

can't find phyton executable "python"

gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack at PythonFinder.failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:484:19)
gyp ERR! stack at PythonFinder. (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:509:16)
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:282:31
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:153:21)
gyp ERR! System Windows_NT 10.0.17134
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\AHJ\Documents\GitHub\Music-Bot\node_modules\erlpack
gyp ERR! node -v v10.16.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok

JavaScript now has 64-bit integer support

With the addition of BigInt, JavaScript now has a type that can reliably store snowflakes as Integers. This type has been in node.js for almost a year now, and uses an average of 40% less memory to store snowflakes compared to Strings. I haven't tested it, but I also suspect this will be easier and/or faster to convert to than Strings are as well. For full disclosure, tests done by the Dyno team showed that the 40% decrease in memory for snowflakes made no noticeable difference in the total memory usage. I'm not stating that erlpack absolutely must switch over, as this would also be a major breaking change for the JavaScript DAPI libraries that utilize erlpack, but I thought I would at least bring up the idea and invite discussion.

Fails to install on Windows

Seems to be expecting a missing header - I'm really not sure what the equivalent for VC is, though.

C:\Users\-gdude2002>pip2 install erlpack --upgrade
Collecting erlpack
  Using cached erlpack-0.3.2.tar.gz
Installing collected packages: erlpack
  Running setup.py install for erlpack ... error
    Complete output from command c:\python27\python2.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\-gdude~1\\appdata\\local\\temp\\pip-build-hzxf06\\erlpack\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\-gdude~1\appdata\local\temp\pip-bhjey9-record\install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-2.7
    creating build\lib.win-amd64-2.7\erlpack
    copying py\erlpack\constants.py -> build\lib.win-amd64-2.7\erlpack
    copying py\erlpack\types.py -> build\lib.win-amd64-2.7\erlpack
    copying py\erlpack\__init__.py -> build\lib.win-amd64-2.7\erlpack
    running build_ext
    building 'erlpack._packer' extension
    creating build\temp.win-amd64-2.7
    creating build\temp.win-amd64-2.7\Release
    creating build\temp.win-amd64-2.7\Release\py
    creating build\temp.win-amd64-2.7\Release\py\erlpack
    C:\Users\-gdude2002\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Ic:\python27\include -Ic:\python27\PC /Tppy/erlpack/_packer.cpp /Fobuild\temp.win-amd64-2.7\Release\py/erlpack/_packer.obj -O3
    cl : Command line warning D9002 : ignoring unknown option '-O3'
    _packer.cpp
    py/erlpack/_packer.cpp(253) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
    error: command 'C:\\Users\\-gdude2002\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\amd64\\cl.exe' failed with exit status 2

    ----------------------------------------
Command "c:\python27\python2.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\-gdude~1\\appdata\\local\\temp\\pip-build-hzxf06\\erlpack\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\-gdude~1\appdata\local\temp\pip-bhjey9-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in c:\users\-gdude~1\appdata\local\temp\pip-build-hzxf06\erlpack\

Optimize Remaining Parts of Decoder

Current iteration of decoder is mainly a cython compile/port of the erlastic decoder. I've optimized it to meet our needs of decoding lots of unsigned 64 bit integers, but I want to also redo the rest of it properly soon. Also, I think I can optimize our hot code paths further.

error during installation

PS C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp> npm i erlpack@discordapp/erlpack
npm ERR! path git
npm ERR! code ENOENT
npm ERR! errno ENOENT
npm ERR! syscall spawn git
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t ssh://[email protected]/discordapp/erlpack.git
npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\AppData\Roaming\npm-cache_logs\2019-12-01T19_07_38_583Z-debug.log

NPM Outdated

NPM will always state that this package is outdated and try to install a new version. Whenever I run npm update it will reinstall this package and rebuild it.
npm oudated states:
image

in my package.json it looks like:

{
  "dependencies": {
    "erlpack": "github:discord/erlpack"
  }
}

If this is not an issue with this package, should I just install normal erlpack from npm?
If that is the case, please update the README.md on discordjs/discord.js to state that you should run npm install erlpack instead of npm install discord/erlpack

Can't update via npm, "Permission denied"

As part of Discord.js npm package, the followig is included as a dependency in package.json:

"erlpack": "github:hammerandchisel/erlpack"

However, when I npm update, I get permission denied.

sudo npm update

npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN [email protected] requires a peer of bufferutil@^3.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of node-opus@^0.2.6 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of opusscript@^0.0.3 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of sodium@^2.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of libsodium-wrappers@^0.5.4 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

added 72 packages, removed 36 packages and updated 58 packages in 22.382s
blah@api:~/tol-node-public/tol2-test$ sudo npm update --save
npm ERR! code 1
npm ERR! Command failed: /usr/bin/git clone -q git://github.com/hammerandchisel/erlpack.git /home/blah/.npm/_cacache/tmp/git-clone-d93fd496
npm ERR! /home/blah/.npm/_cacache/tmp/git-clone-d93fd496/.git: Permission denied

The logs show this:

340 silly fetchPackageMetaData error for github:hammerandchisel/erlpack Command failed: /usr/bin/git clone -q git://github.com/hammerandchisel/erlpack.git /home/blah/.npm/_cacache/tmp/git-
340 silly fetchPackageMetaData /home/blah/.npm/_cacache/tmp/git-clone-98357cbf/.git: Permission denied
341 verbose stack Error: Command failed: /usr/bin/git clone -q git://github.com/hammerandchisel/erlpack.git /home/blah/.npm/_cacache/tmp/git-clone-98357cbf
341 verbose stack /home/blah/.npm/_cacache/tmp/git-clone-98357cbf/.git: Permission denied
341 verbose stack
341 verbose stack     at ChildProcess.exithandler (child_process.js:205:12)
341 verbose stack     at emitTwo (events.js:106:13)
341 verbose stack     at ChildProcess.emit (events.js:194:7)
341 verbose stack     at maybeClose (internal/child_process.js:899:16)
341 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
342 verbose cwd /home/blah/tol-node-public/tol2-test
343 verbose Linux 3.13.0-77-generic
344 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "update"
345 verbose node v7.10.0
346 verbose npm  v5.6.0
347 error code 1
348 error Command failed: /usr/bin/git clone -q git://github.com/hammerandchisel/erlpack.git /home/blah/.npm/_cacache/tmp/git-clone-98357cbf
348 error /home/blah/.npm/_cacache/tmp/git-clone-98357cbf/.git: Permission denied
349 verbose exit [ 1, true ]

Failed to install on Linux (Ubuntu)

I tried installing this via pip and using source and I keep getting the same error

sudo python3.6 setup.py install
running install
running bdist_egg
running egg_info
creating py/erlpack.egg-info
writing py/erlpack.egg-info/PKG-INFO
writing dependency_links to py/erlpack.egg-info/dependency_links.txt
writing top-level names to py/erlpack.egg-info/top_level.txt
writing manifest file 'py/erlpack.egg-info/SOURCES.txt'
reading manifest file 'py/erlpack.egg-info/SOURCES.txt'
writing top-level names to py/erlpack.egg-info/top_level.txt
writing manifest file 'py/erlpack.egg-info/SOURCES.txt'
reading manifest file 'py/erlpack.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'py/COPYING'
warning: no files found matching '*.cpp' under directory 'cpp'
writing manifest file 'py/erlpack.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/erlpack
copying py/erlpack/types.py -> build/lib.linux-x86_64-3.6/erlpack
copying py/erlpack/constants.py -> build/lib.linux-x86_64-3.6/erlpack
copying py/erlpack/__init__.py -> build/lib.linux-x86_64-3.6/erlpack
running build_ext
building 'erlpack._packer' extension
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/py
creating build/temp.linux-x86_64-3.6/py/erlpack
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.6m -c py/erlpack/_packer.cpp -o build/temp.linux-x86_64-3.6/py/erlpack/_packer.o -O3
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
py/erlpack/_packer.cpp: In function ‘int __pyx_pf_7erlpack_7_packer_17ErlangTermEncoder_2__init__(__pyx_obj_7erlpack_7_packer_ErlangTermEncoder*, PyObject*, PyObject*, PyObject*, PyObject*)’:
py/erlpack/_packer.cpp:1273:52: error: ‘PyString_AsString’ was not declared in this scope
     __pyx_t_5 = PyString_AsString(__pyx_v__encoding); if (unlikely(__pyx_t_5 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 72; __pyx
                                                    ^
py/erlpack/_packer.cpp: In function ‘int __pyx_f_7erlpack_7_packer_17ErlangTermEncoder__pack(__pyx_obj_7erlpack_7_packer_ErlangTermEncoder*, PyObject*, __pyx_opt_args_7erlpack_7_packer_17ErlangTermEncoder__pack*)’:
py/erlpack/_packer.cpp:2036:90: error: ‘PyString_AS_STRING’ was not declared in this scope
     __pyx_v_ret = erlpack_append_atom((&__pyx_v_self->pk), PyString_AS_STRING(__pyx_v_val), PyString_GET_SIZE(__pyx_v_val));
                                                                                          ^
py/erlpack/_packer.cpp:2036:122: error: ‘PyString_GET_SIZE’ was not declared in this scope
     __pyx_v_ret = erlpack_append_atom((&__pyx_v_self->pk), PyString_AS_STRING(__pyx_v_val), PyString_GET_SIZE(__pyx_v_val));
                                                                                                                          ^
py/erlpack/_packer.cpp:2065:90: error: ‘PyString_AS_STRING’ was not declared in this scope
     __pyx_v_ret = erlpack_append_binary((&__pyx_v_self->pk), PyString_AS_STRING(__pyx_v_o), PyString_GET_SIZE(__pyx_v_o));
                                                                                          ^
py/erlpack/_packer.cpp:2065:120: error: ‘PyString_GET_SIZE’ was not declared in this scope
     __pyx_v_ret = erlpack_append_binary((&__pyx_v_self->pk), PyString_AS_STRING(__pyx_v_o), PyString_GET_SIZE(__pyx_v_o));
                                                                                                                        ^
py/erlpack/_packer.cpp: In function ‘PyObject* __pyx_f_7erlpack_7_packer_17ErlangTermEncoder__encode_unicode(__pyx_obj_7erlpack_7_packer_ErlangTermEncoder*, PyObject*)’:
py/erlpack/_packer.cpp:3438:39: error: ‘PyString_Size’ was not declared in this scope
   __pyx_t_4 = PyString_Size(__pyx_v_st); if (unlikely(__pyx_t_4 == -1L)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 255; __pyx_clineno = __
                                       ^
py/erlpack/_packer.cpp:3491:110: error: ‘PyString_AS_STRING’ was not declared in this scope
     __pyx_t_2 = __Pyx_PyInt_From_int(erlpack_append_binary((&__pyx_v_self->pk), PyString_AS_STRING(__pyx_v_st), __pyx_v_size)); if (unlikely(
                                                                                                              ^
py/erlpack/_packer.cpp:3556:110: error: ‘PyString_AS_STRING’ was not declared in this scope
     __pyx_t_2 = __Pyx_PyInt_From_int(erlpack_append_string((&__pyx_v_self->pk), PyString_AS_STRING(__pyx_v_st), __pyx_v_size)); if (unlikely(
                                                                                                              ^
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

Support for Node 17

#41 2 electric boogaloo
For some reason erlpack doesn't support Node 17, it gives this error for me (using npm i discord/erlpack after unistalling, it worked fine with node 16):

npm ERR! code 1
npm ERR! path C:\Users\Superchupu\OneDrive\Documentos\Programación\discordbot\gasbot\node_modules\erlpack
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-gyp rebuild
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | win32 | x64
npm ERR! gyp info find Python using Python version 3.9.6 found at "C:\Users\Superchupu\AppData\Local\Programs\Python\Python39\python.exe"
npm ERR! gyp info find VS using VS2019 (16.10.31402.337) found at:
npm ERR! gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools"
npm ERR! gyp info find VS run with --verbose for detailed information
npm ERR! (node:23908) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.
npm ERR! (Use `node --trace-deprecation ...` to show where the warning was created)
npm ERR! gyp info spawn C:\Users\Superchupu\AppData\Local\Programs\Python\Python39\python.exe
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args   'C:\\Users\\Superchupu\\node_modules\\node-gyp\\gyp\\gyp_main.py',
npm ERR! gyp info spawn args   'binding.gyp',
npm ERR! gyp info spawn args   '-f',
npm ERR! gyp info spawn args   'msvs',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   'C:\\Users\\Superchupu\\OneDrive\\Documentos\\Programación\\discordbot\\gasbot\\node_modules\\erlpack\\build\\config.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   'C:\\Users\\Superchupu\\node_modules\\node-gyp\\addon.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   'C:\\Users\\Superchupu\\AppData\\Local\\node-gyp\\Cache\\17.0.0\\common.gypi',
npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
npm ERR! gyp info spawn args   '-Dvisibility=default',
npm ERR! gyp info spawn args   '-Dnode_root_dir=C:\\Users\\Superchupu\\AppData\\Local\\node-gyp\\Cache\\17.0.0',
npm ERR! gyp info spawn args   '-Dnode_gyp_dir=C:\\Users\\Superchupu\\node_modules\\node-gyp',
npm ERR! gyp info spawn args   '-Dnode_lib_file=C:\\\\Users\\\\Superchupu\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\17.0.0\\\\<(target_arch)\\\\node.lib',
npm ERR! gyp info spawn args   '-Dmodule_root_dir=C:\\Users\\Superchupu\\OneDrive\\Documentos\\Programación\\discordbot\\gasbot\\node_modules\\erlpack',
npm ERR! gyp info spawn args   '-Dnode_engine=v8',
npm ERR! gyp info spawn args   '--depth=.',
npm ERR! gyp info spawn args   '--no-parallel',
npm ERR! gyp info spawn args   '--generator-output',
npm ERR! gyp info spawn args   'C:\\Users\\Superchupu\\OneDrive\\Documentos\\Programación\\discordbot\\gasbot\\node_modules\\erlpack\\build',
npm ERR! gyp info spawn args   '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp: C:\Users\Superchupu\AppData\Local\node-gyp\Cache\17.0.0\common.gypi not found (cwd: C:\Users\Superchupu\OneDrive\Documentos\Programaci�n\discordbot\gasbot\node_modules\erlpack) while reading includes of binding.gyp while trying to load binding.gyp
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: `gyp` failed with exit code: 1
npm ERR! gyp ERR! stack     at ChildProcess.onCpExit (C:\Users\Superchupu\node_modules\node-gyp\lib\configure.js:351:16)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:390:28)
npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
npm ERR! gyp ERR! System Windows_NT 10.0.19043
npm ERR! gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Superchupu\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd C:\Users\Superchupu\OneDrive\Documentos\Programación\discordbot\gasbot\node_modules\erlpack
npm ERR! gyp ERR! node -v v17.0.0
npm ERR! gyp ERR! node-gyp -v v7.1.2
npm ERR! gyp ERR! not ok

Bad version number. Expected 131 found 120

from websocket import create_connection
from erlpack import pack
from erlpack import unpack
ws = create_connection("wss://gateway.discord.gg/?encoding=json&v=9&compress=zlib-stream")
response = ws.recv()
response
b'x\x9c4\xc9A\n\xc20\x10\x05\xd0\xbb\xfcu"\xa9(\xc8\\xa5)elG\r\xa4i\x99\x8e\x8a\x84\xdc]7\xee\x1e\xbc\n\x03\x95g\xce\x0e\xfb\x1f\xeb\x06\xea\x82\xc3\x0c\xaax\x08\xab]\x85mL\xc5D_\x9cA\xa7\xeex\xfe\xfdh\xca\x93\x80z\xf4\x11w6y\xf3\xc7o:\xfb\x85S\xf1v)\xb7\x08W#\x964\xe9\xbaGP8\x846`h\xed\x0b\x00\x00\xff\xff'
unpack(response)
Traceback (most recent call last):
File "", line 1, in
File "py/erlpack/_unpacker.pyx", line 29, in erlpack._unpacker.ErlangTermDecoder.loads
erlpack._unpacker.ErlangTermDecodeError: Bad version number. Expected 131 found 120

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.