Giter VIP home page Giter VIP logo

commons-math-interpolation's People

Contributors

chdh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

commons-math-interpolation's Issues

Wrong license?

Nice library but since you're porting from code that uses the Apache License 2.0 you probably aren't allowed to relicense under the MIT license.

Can't build with webpack 5

Hi I've just tried build my project with webpack 5.37.0 having this package in node_modules. I've received a build errors and warnings on usage. Can you please modify it to work? The error logs are quite explanatory. I believe type in package.json is to be changed or code imports need to be modified. Here is a link to migration guide from 4 to 5, it might help resolve it: https://webpack.js.org/migrate/5

Here are my logs:

  app:build:webpack-compiler WARNING in ./src/myProject/modules/rainfall/rainfallValues.js 82:31-79
  app:build:webpack-compiler export 'default' (imported as 'commonMathInterpolation') was not found in 'commons-math-interpolation' (possible exports: createInterpolator, createInterpolatorWithFallback)
  app:build:webpack-compiler  @ ./src/myProject/modules/linkSimulation/epics.js 52:0-76 524:25-41
  app:build:webpack-compiler  @ ./src/myProject/modules/businessLogic/epics.js 36:0-72 133:192-211
  app:build:webpack-compiler  @ ./src/modules/link/epics.js 44:0-70 370:22-36
  app:build:webpack-compiler  @ ./src/store/epics.js 29:0-43 42:342-351
  app:build:webpack-compiler  @ ./src/store/createStore.js 20:0-31 60:36-44 70:33-75:5 74:17-25 70:4-75:6
  app:build:webpack-compiler  @ ./src/main.js 28:0-44 49:14-25
  app:build:webpack-compiler 
  app:build:webpack-compiler WARNING in ./src/myProject/modules/rainfall/rainfallValues.js 86:29-82
  app:build:webpack-compiler export 'default' (imported as 'commonMathInterpolation') was not found in 'commons-math-interpolation' (possible exports: createInterpolator, createInterpolatorWithFallback)
  app:build:webpack-compiler  @ ./src/myProject/modules/linkSimulation/epics.js 52:0-76 524:25-41
  app:build:webpack-compiler  @ ./src/myProject/modules/businessLogic/epics.js 36:0-72 133:192-211
  app:build:webpack-compiler  @ ./src/modules/link/epics.js 44:0-70 370:22-36
  app:build:webpack-compiler  @ ./src/store/epics.js 29:0-43 42:342-351
  app:build:webpack-compiler  @ ./src/store/createStore.js 20:0-31 60:36-44 70:33-75:5 74:17-25 70:4-75:6
  app:build:webpack-compiler  @ ./src/main.js 28:0-44 49:14-25
  app:build:webpack-compiler 
  app:build:webpack-compiler ERROR in ./node_modules/commons-math-interpolation/Index.js 1:0-86
  app:build:webpack-compiler Module not found: Error: Can't resolve './Akima' in '/home/fantomas/Documents/github/myProject/client/node_modules/commons-math-interpolation'
  app:build:webpack-compiler Did you mean 'Akima.js'?
  app:build:webpack-compiler BREAKING CHANGE: The request './Akima' failed to resolve only because it was resolved as fully specified
  app:build:webpack-compiler (probably because the origin is a '*.mjs' file or a '*.js' file where the package.json contains '"type": "module"').
  app:build:webpack-compiler The extension in the request is mandatory for it to be fully specified.
  app:build:webpack-compiler Add the extension to the request.
  app:build:webpack-compiler  @ ./src/myProject/modules/rainfall/rainfallValues.js 12:0-65 82:31-79 86:29-82
  app:build:webpack-compiler  @ ./src/myProject/modules/linkSimulation/epics.js 52:0-76 524:25-41
  app:build:webpack-compiler  @ ./src/myProject/modules/businessLogic/epics.js 36:0-72 133:192-211
  app:build:webpack-compiler  @ ./src/modules/link/epics.js 44:0-70 370:22-36
  app:build:webpack-compiler  @ ./src/store/epics.js 29:0-43 42:342-351
  app:build:webpack-compiler  @ ./src/store/createStore.js 20:0-31 60:36-44 70:33-75:5 74:17-25 70:4-75:6
  app:build:webpack-compiler  @ ./src/main.js 28:0-44 49:14-25
  app:build:webpack-compiler 
  app:build:webpack-compiler ERROR in ./node_modules/commons-math-interpolation/Index.js 2:0-86
  app:build:webpack-compiler Module not found: Error: Can't resolve './Cubic' in '/home/fantomas/Documents/github/myProject/client/node_modules/commons-math-interpolation'
  app:build:webpack-compiler Did you mean 'Cubic.js'?
  app:build:webpack-compiler BREAKING CHANGE: The request './Cubic' failed to resolve only because it was resolved as fully specified
  app:build:webpack-compiler (probably because the origin is a '*.mjs' file or a '*.js' file where the package.json contains '"type": "module"').
  app:build:webpack-compiler The extension in the request is mandatory for it to be fully specified.
  app:build:webpack-compiler Add the extension to the request.
  app:build:webpack-compiler  @ ./src/myProject/modules/rainfall/rainfallValues.js 12:0-65 82:31-79 86:29-82
  app:build:webpack-compiler  @ ./src/myProject/modules/linkSimulation/epics.js 52:0-76 524:25-41
  app:build:webpack-compiler  @ ./src/myProject/modules/businessLogic/epics.js 36:0-72 133:192-211
  app:build:webpack-compiler  @ ./src/modules/link/epics.js 44:0-70 370:22-36
  app:build:webpack-compiler  @ ./src/store/epics.js 29:0-43 42:342-351
  app:build:webpack-compiler  @ ./src/store/createStore.js 20:0-31 60:36-44 70:33-75:5 74:17-25 70:4-75:6
  app:build:webpack-compiler  @ ./src/main.js 28:0-44 49:14-25
  app:build:webpack-compiler 
  app:build:webpack-compiler ERROR in ./node_modules/commons-math-interpolation/Index.js 3:0-83
  app:build:webpack-compiler Module not found: Error: Can't resolve './Linear' in '/home/fantomas/Documents/github/myProject/client/node_modules/commons-math-interpolation'
  app:build:webpack-compiler Did you mean 'Linear.js'?
  app:build:webpack-compiler BREAKING CHANGE: The request './Linear' failed to resolve only because it was resolved as fully specified
  app:build:webpack-compiler (probably because the origin is a '*.mjs' file or a '*.js' file where the package.json contains '"type": "module"').
  app:build:webpack-compiler The extension in the request is mandatory for it to be fully specified.
  app:build:webpack-compiler Add the extension to the request.
  app:build:webpack-compiler  @ ./src/myProject/modules/rainfall/rainfallValues.js 12:0-65 82:31-79 86:29-82
  app:build:webpack-compiler  @ ./src/myProject/modules/linkSimulation/epics.js 52:0-76 524:25-41
  app:build:webpack-compiler  @ ./src/myProject/modules/businessLogic/epics.js 36:0-72 133:192-211
  app:build:webpack-compiler  @ ./src/modules/link/epics.js 44:0-70 370:22-36
  app:build:webpack-compiler  @ ./src/store/epics.js 29:0-43 42:342-351
  app:build:webpack-compiler  @ ./src/store/createStore.js 20:0-31 60:36-44 70:33-75:5 74:17-25 70:4-75:6
  app:build:webpack-compiler  @ ./src/main.js 28:0-44 49:14-25
  app:build:webpack-compiler 
  app:build:webpack-compiler ERROR in ./node_modules/commons-math-interpolation/Index.js 4:0-70
  app:build:webpack-compiler Module not found: Error: Can't resolve './NearestNeighbor' in '/home/fantomas/Documents/github/myProject/client/node_modules/commons-math-interpolation'
  app:build:webpack-compiler Did you mean 'NearestNeighbor.js'?
  app:build:webpack-compiler BREAKING CHANGE: The request './NearestNeighbor' failed to resolve only because it was resolved as fully specified
  app:build:webpack-compiler (probably because the origin is a '*.mjs' file or a '*.js' file where the package.json contains '"type": "module"').
  app:build:webpack-compiler The extension in the request is mandatory for it to be fully specified.
  app:build:webpack-compiler Add the extension to the request.
  app:build:webpack-compiler  @ ./src/myProject/modules/rainfall/rainfallValues.js 12:0-65 82:31-79 86:29-82
  app:build:webpack-compiler  @ ./src/myProject/modules/linkSimulation/epics.js 52:0-76 524:25-41
  app:build:webpack-compiler  @ ./src/myProject/modules/businessLogic/epics.js 36:0-72 133:192-211
  app:build:webpack-compiler  @ ./src/modules/link/epics.js 44:0-70 370:22-36
  app:build:webpack-compiler  @ ./src/store/epics.js 29:0-43 42:342-351
  app:build:webpack-compiler  @ ./src/store/createStore.js 20:0-31 60:36-44 70:33-75:5 74:17-25 70:4-75:6
  app:build:webpack-compiler  @ ./src/main.js 28:0-44 49:14-25
  app:build:webpack-compiler 
  app:build:webpack-compiler ERROR in ./node_modules/commons-math-interpolation/Index.js 9:0-50
  app:build:webpack-compiler Module not found: Error: Can't resolve './Loess' in '/home/fantomas/Documents/github/myProject/client/node_modules/commons-math-interpolation'
  app:build:webpack-compiler Did you mean 'Loess.js'?
  app:build:webpack-compiler BREAKING CHANGE: The request './Loess' failed to resolve only because it was resolved as fully specified
  app:build:webpack-compiler (probably because the origin is a '*.mjs' file or a '*.js' file where the package.json contains '"type": "module"').
  app:build:webpack-compiler The extension in the request is mandatory for it to be fully specified.
  app:build:webpack-compiler Add the extension to the request.
  app:build:webpack-compiler  @ ./src/myProject/modules/rainfall/rainfallValues.js 12:0-65 82:31-79 86:29-82
  app:build:webpack-compiler  @ ./src/myProject/modules/linkSimulation/epics.js 52:0-76 524:25-41
  app:build:webpack-compiler  @ ./src/myProject/modules/businessLogic/epics.js 36:0-72 133:192-211
  app:build:webpack-compiler  @ ./src/modules/link/epics.js 44:0-70 370:22-36
  app:build:webpack-compiler  @ ./src/store/epics.js 29:0-43 42:342-351
  app:build:webpack-compiler  @ ./src/store/createStore.js 20:0-31 60:36-44 70:33-75:5 74:17-25 70:4-75:6
  app:build:webpack-compiler  @ ./src/main.js 28:0-44 49:14-25

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.