muhammadsawalhy / rakam Goto Github PK
View Code? Open in Web Editor NEWMath library, high performance is the goal ๐.
License: Apache License 2.0
Math library, high performance is the goal ๐.
License: Apache License 2.0
Your README says Apache your package.json says MIT
I have installed your NPM package and tried running npm install
in the node-modules/rakam directory. I have also cloned your repository and tried an install. Both fail. I have also tried npm run build
in both places and it fails.
In node-modules/rakam:
npm install
npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
> [email protected] prepare /home/syblackwell/git/downrunner/node_modules/rakam
> npm run lint && npm run test
> [email protected] lint /home/syblackwell/git/downrunner/node_modules/rakam
> eslint src/ --fix
Oops! Something went wrong! :(
ESLint: 7.9.0
No files matching the pattern "src/" were found.
Please check for typing mistakes in the pattern.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] lint: `eslint src/ --fix`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] lint 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! /home/syblackwell/.npm/_logs/2020-09-25T17_55_48_943Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] prepare: `npm run lint && npm run test`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] prepare 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! /home/syblackwell/.npm/_logs/2020-09-25T17_55_49_086Z-debug.log
In /rakam:
npm install
> [email protected] prepare /home/syblackwell/git/rakam
> npm run lint && npm run test
> [email protected] lint /home/syblackwell/git/rakam
> eslint src/ --fix
> [email protected] test /home/syblackwell/git/rakam
> jest
FAIL test/geometry/angles.test.js
โ Test suite failed to run
Configuration error:
Could not locate module rakam mapped as:
/home/syblackwell/git/rakam/main/index.js.
Please check your configuration for these entries:
{
"moduleNameMapper": {
"/rakam/": "/home/syblackwell/git/rakam/main/index.js"
},
"resolver": undefined
}
> 1 | const { angles, vector } = require('rakam');
| ^
2 |
3 | // the acceptable differencve between the expected
4 | // value and the return angle from "angles" methods
at createNoMappedModuleFoundError (node_modules/jest-resolve/build/index.js:552:17)
at Object.<anonymous> (test/geometry/angles.test.js:1:28)
FAIL test/fraction/fraction.test.js
โ Test suite failed to run
Configuration error:
Could not locate module rakam mapped as:
/home/syblackwell/git/rakam/main/index.js.
Please check your configuration for these entries:
{
"moduleNameMapper": {
"/rakam/": "/home/syblackwell/git/rakam/main/index.js"
},
"resolver": undefined
}
> 1 | const {quotRem, frac, randomInt, random } = require('rakam');
| ^
2 |
3 | let tests = [
4 | {
at createNoMappedModuleFoundError (node_modules/jest-resolve/build/index.js:552:17)
at Object.<anonymous> (test/fraction/fraction.test.js:1:45)
FAIL test/engine/math2js.test.js
โ Test suite failed to run
Configuration error:
Could not locate module rakam mapped as:
/home/syblackwell/git/rakam/main/index.js.
Please check your configuration for these entries:
{
"moduleNameMapper": {
"/rakam/": "/home/syblackwell/git/rakam/main/index.js"
},
"resolver": undefined
}
2 |
3 | // we are using rollup-jest transformer
> 4 | const {math2js} = require('rakam');
| ^
5 | const defaultHandlers = math2js.defaultHandlers;
6 | const generateJs = math2js.generateJs;
7 |
at createNoMappedModuleFoundError (node_modules/jest-resolve/build/index.js:552:17)
at Object.<anonymous> (test/engine/math2js.test.js:4:19)
Test Suites: 3 failed, 3 total
Tests: 0 total
Snapshots: 0 total
Time: 2.443 s
Ran all test suites.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] test: `jest`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] test 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! /home/syblackwell/.npm/_logs/2020-09-25T17_43_31_829Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] prepare: `npm run lint && npm run test`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] prepare 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! /home/syblackwell/.npm/_logs/2020-09-25T17_43_31_953Z-debug.log
We are getting ready to launch a BETA of https://downrunner.com/latex. It would be great if we could also support calculations. It is not clear from your documentation if we can run your code in a browser.
Also, if you need a super fast intersection or memoizing take a look at: https://github.com/anywhichway/intersector and https://github.com/anywhichway/nano-memoize
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.