Sometime programmer.
Jack of more than a few trades. Master of less than one.
Lock Huawei E3372 to 4g band 28 (700Mhz)
License: MIT License
Sometime programmer.
Jack of more than a few trades. Master of less than one.
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.
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.