Code Monkey home page Code Monkey logo

rakam's Issues

Build Issue

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

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.