omega-numworks / numworks.js Goto Github PK
View Code? Open in Web Editor NEWUtility classes to interract with a Numworks calculator using WebUSB.
Home Page: https://www.npmjs.com/package/numworks.js
License: MIT License
Utility classes to interract with a Numworks calculator using WebUSB.
Home Page: https://www.npmjs.com/package/numworks.js
License: MIT License
NumWorks is a registered trademark and is not affiliated with this project in any way. Please use another name.
I was unable to detect a Numworks N0110 with Omega just flashed on it.
On the same pc I am able to connect to the calculator from omega.dev.
Where am I wrong?
The Chrome usb-connect window does not show the calculator when I access from localhost:3000
It is a security problem?
Omega version is 1.22.1
Epsilon version is 15.3.1
Thank you!
Is your feature request related to a problem? Please describe.
Since epsilon 16 (and 17), a lot of things have changed :
Describe the solution you'd like
Update the lib ¯_(ツ)_/¯
Additional context
I'll try to do it myself soon :p (so this is a todo list)
Y E S
Describe the bug
The Example doesn't work
To Reproduce
Steps to reproduce the behavior:
npm install
npm start
Expected behavior
(I guess) that the webserver would need to start
Environment (please complete the following information):
Additional context
PS C:\Users\Miniontoby\Documents\Programma's\phaser-webroot\numworks.js> npm start
> [email protected] start
> webpack-dev-server --config conf/dev.webpack.config.js
i 「wds」: Project is running at http://localhost:3000/
i 「wds」: webpack output is served from /
i 「wds」: Content not from webpack is served from ./example/
node:internal/crypto/hash:67
this[kHandle] = new _Hash(algorithm, xofLen);
^
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:67:19)
at Object.createHash (node:crypto:133:10)
at module.exports (C:\Users\Miniontoby\Documents\Programma's\phaser-webroot\numworks.js\node_modules\webpack\lib\util\createHash.js:135:53)
at NormalModule._initBuildHash (C:\Users\Miniontoby\Documents\Programma's\phaser-webroot\numworks.js\node_modules\webpack\lib\NormalModule.js:417:16)
at handleParseError (C:\Users\Miniontoby\Documents\Programma's\phaser-webroot\numworks.js\node_modules\webpack\lib\NormalModule.js:471:10)
at C:\Users\Miniontoby\Documents\Programma's\phaser-webroot\numworks.js\node_modules\webpack\lib\NormalModule.js:503:5
at C:\Users\Miniontoby\Documents\Programma's\phaser-webroot\numworks.js\node_modules\webpack\lib\NormalModule.js:358:12
at C:\Users\Miniontoby\Documents\Programma's\phaser-webroot\numworks.js\node_modules\loader-runner\lib\LoaderRunner.js:373:3
at iterateNormalLoaders (C:\Users\Miniontoby\Documents\Programma's\phaser-webroot\numworks.js\node_modules\loader-runner\lib\LoaderRunner.js:214:10)
at Array.<anonymous> (C:\Users\Miniontoby\Documents\Programma's\phaser-webroot\numworks.js\node_modules\loader-runner\lib\LoaderRunner.js:205:4) {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
Node.js v18.4.0
Solutions:
var calculator = new Numworks.Recovery();
by var calculator = new Numworks();
in example/index.js
(line 4) to see your calculatorA 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.