Code Monkey home page Code Monkey logo

huawei-band-lock's Introduction

Sometime programmer.

Jack of more than a few trades. Master of less than one.

huawei-band-lock's People

Watchers

 avatar

huawei-band-lock's Issues

Deno 125003 error

Initial attempt with Deno didn't work. I won't follow up for now, as the node version does what I need, but just for the record huawei-lte-api doesn't appear to work with Deno.

  const conn = new Connection(device_url);

in deno nets the error:

error: Uncaught Error: 125003: Unknown
    at new ResponseErrorException (file:///home/crispinb/.cache/deno/npm/registry.npmjs.org/huawei-lte-api/0.1.1/dist/exception
s.js:22:28)
    at file:///home/crispinb/.cache/deno/npm/registry.npmjs.org/huawei-lte-api/0.1.1/dist/api/User.js:118:35
    at Object.runMicrotasks (deno:core/01_core.js:386:30)
    at processTicksAndRejections (https://deno.land/[email protected]/node/_next_tick.ts:62:10)

The error occurs during the login attempt in the library's User.ts, here: https://github.com/Salamek/huawei-lte-api-ts/blob/24c2f9b1eaaaf07644db644acda8eee54f0e5b08/src/api/User.ts#L79

It seems to be something to do with what happens when axios returns a promise from an http Post.

A quick search though doesn't seem to suggest that axios is generally incompatible with Deno.

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.