Git Product home page Git Product logo

base91.js's People

Contributors

imyller avatar mscdex 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

Watchers

 avatar  avatar  avatar  avatar

base91.js's Issues

[FIXED] Base91 without Node

Dear Brian,
could you be so kind and make (or tell me how to make) it working without Node?

I want it as standalone JS file to inject and use right away against array of bytes. Current implementation seems to be dependent on Node (which I neither use nor plan to install) and throws errors like ReferenceError: process is not defined and ReferenceError: hasNode is not defined.

Unable to install on windows 10

I'm trying to install base91 module on windows but I get this error
I've already tried multiple npm version with nvm (tried 14.11.0 13.9.0 12.19.0 11.6.0 10.22.1) without luck
Any suggestion?

C:\Users\User\Documents\www\node-ruuvitag\node_modules\base91>if not defined npm_config_node_gyp (node "C:\Users\User\AppData\Roaming\nvm\v14.11.0\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\User\AppData\Roaming\nvm\v14.11.0\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.
binding.cc
win_delay_load_hook.cc
c:\users\user\documents\www\node-ruuvitag\node_modules\base91\src\binding.cc(23): error C2664: 'v8::String::Utf8Value::Utf8Value(const v8::String::Utf8Value &)': cannot convert argument 1 from 'v8::Localv8::Value' to 'const v8::String: :Utf8Value &' [C:\Users\User\Documents\www\node-ruuvitag\node_modules\base91\build\base91encdec.vcxproj]
c:\users\user\documents\www\node-ruuvitag\node_modules\base91\src\binding.cc(23): note: Reason: cannot convert from 'v8::Localv8::Value' to 'const v8::String::Utf8Value'
c:\users\user\documents\www\node-ruuvitag\node_modules\base91\src\binding.cc(23): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
c:\users\user\documents\www\node-ruuvitag\node_modules\base91\src\binding.cc(68): error C2664: 'v8::String::Utf8Value::Utf8Value(const v8::String::Utf8Value &)': cannot convert argument 1 from 'v8::Localv8::Value' to 'const v8::String: :Utf8Value &' [C:\Users\User\Documents\www\node-ruuvitag\node_modules\base91\build\base91encdec.vcxproj]
c:\users\user\documents\www\node-ruuvitag\node_modules\base91\src\binding.cc(68): note: Reason: cannot convert from 'v8::Localv8::Value' to 'const v8::String::Utf8Value'
c:\users\user\documents\www\node-ruuvitag\node_modules\base91\src\binding.cc(68): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
c:\users\user\documents\www\node-ruuvitag\node_modules\base91\src\binding.cc(85): error C2065: 'Handle': undeclared identifier [C:\Users\User\Documents\www\node-ruuvitag\node_modules\base91\build\base91encdec.vcxproj]
c:\users\user\documents\www\node-ruuvitag\node_modules\base91\src\binding.cc(85): error C2275: 'v8::Object': illegal use of this type as an expression [C:\Users\User\Documents\www\node-ruuvitag\node_modules\base91\build\base91encdec.vcxp roj]
c:\users\user\appdata\local\node-gyp\cache\14.11.0\include\node\v8.h(3664): note: see declaration of 'v8::Object'
c:\users\user\documents\www\node-ruuvitag\node_modules\base91\src\binding.cc(85): error C2065: 'target': undeclared identifier [C:\Users\User\Documents\www\node-ruuvitag\node_modules\base91\build\base91encdec.vcxproj]
c:\users\user\documents\www\node-ruuvitag\node_modules\base91\src\binding.cc(85): error C2182: 'init': illegal use of type 'void' [C:\Users\User\Documents\www\node-ruuvitag\node_modules\base91\build\base91encdec.vcxproj]
c:\users\user\documents\www\node-ruuvitag\node_modules\base91\src\binding.cc(85): error C2448: 'init': function-style initializer appears to be a function definition [C:\Users\User\Documents\www\node-ruuvitag\node_modules\base91\build\ba se91encdec.vcxproj]
c:\users\user\documents\www\node-ruuvitag\node_modules\base91\src\binding.cc(92): warning C4312: 'type cast': conversion from 'int' to 'node::addon_register_func' of greater size [C:\Users\User\Documents\www\node-ruuvitag\node_modules\ba se91\build\base91encdec.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Users\User\AppData\Roaming\nvm\v14.11.0\node_modules\npm\node_modules\node-gyp\lib\build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:314:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
gyp ERR! System Windows_NT 10.0.18363
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\User\AppData\Roaming\nvm\v14.11.0\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\User\Documents\www\node-ruuvitag\node_modules\base91
gyp ERR! node -v v14.11.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm WARN [email protected] license should be a valid SPDX license expression
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\xpc-connection):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

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\User\AppData\Roaming\npm-cache_logs\2020-10-13T11_11_12_325Z-debug.log

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.