erdtman / aes-ccm Goto Github PK
View Code? Open in Web Editor NEWThis project forked from particle-iot/node-aes-ccm
AES CCM module for node using OpenSSL
License: MIT License
This project forked from particle-iot/node-aes-ccm
AES CCM module for node using OpenSSL
License: MIT License
I got this error:
internal/modules/cjs/loader.js:1025
return process.dlopen(module, path.toNamespacedPath(filename));
^
Error: libc.musl-x86_64.so.1: cannot open shared object file: No such file or directory
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1025:18)
at Module.load (internal/modules/cjs/loader.js:815:32)
at Function.Module._load (internal/modules/cjs/loader.js:727:14)
at Module.require (internal/modules/cjs/loader.js:852:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (/home/plehner/Workspace/git/ng-hex2img/node_modules/aes-ccm/lib/index.js:5:18)
at Module._compile (internal/modules/cjs/loader.js:959:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
at Module.load (internal/modules/cjs/loader.js:815:32)
at Function.Module._load (internal/modules/cjs/loader.js:727:14)
With the example code. Did I miss something? aes_ccm.node is in the ..../build/Release folder.
Hi,
any chance of adding support for node-pre-gyp and provide pre-build binaries? see https://www.npmjs.com/package/node-pre-gyp
E.g. when using this npm inside of a docker-container it requires us to provide a full (temp.) build-chain. It also has some complications during development with docker e.g. when mounting node_modules from a different host platform etc.
Kind regards
Joe
When i run npm install aes-ccm --save
it says 'true' is not recognized as an internal or external command
Does not install
I have latest packages installed.. The installation is not type safe perhaps?
build-linux-node-10_1 | CXX(target) Release/obj.target/aes_ccm/lib/aes-ccm.o
build-linux-node-10_1 | ../lib/aes-ccm.cc: In function 'void node_aes_ccm::CcmEncrypt(const v8::FunctionCallbackInfov8::Value&)':
build-linux-node-10_1 | ../lib/aes-ccm.cc:69:43: warning: 'double v8::Value::NumberValue() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
build-linux-node-10_1 | int auth_tag_len = args[4]->NumberValue();
build-linux-node-10_1 | ^
build-linux-node-10_1 | In file included from /root/.node-gyp/10.14.1/include/node/v8.h:26:0,
build-linux-node-10_1 | from /root/.node-gyp/10.14.1/include/node/node.h:63,
build-linux-node-10_1 | from ../lib/aes-ccm.cc:1:
build-linux-node-10_1 | /root/.node-gyp/10.14.1/include/node/v8.h:2475:45: note: declared here
build-linux-node-10_1 | V8_DEPRECATED("Use maybe version", double NumberValue() const);
build-linux-node-10_1 | ^
build-linux-node-10_1 | /root/.node-gyp/10.14.1/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECATED'
build-linux-node-10_1 | declarator attribute((deprecated(message)))
build-linux-node-10_1 | ^~~~~~~~~~
build-linux-node-10_1 | SOLINK_MODULE(target) Release/obj.target/aes_ccm.node
build-linux-node-10_1 | COPY Release/aes_ccm.node
build-linux-node-10_1 | make: Leaving directory '/opt/aes-ccm/build'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.