Comments (3)
I just tried it and it works for me, can you try to delete your node_modules
and then reinstall with npm i
from igc-xc-score.
No better luck :(
lr@Air-de-Ludovic IFly % npm i
> [email protected] install /Users/lr/Documents/code/IFly/node_modules/sqlite3
> node-pre-gyp install --fallback-to-build
node-pre-gyp WARN Using request for node-pre-gyp https download
[sqlite3] Success: "/Users/lr/Documents/code/IFly/node_modules/sqlite3/lib/binding/napi-v3-darwin-x64/node_sqlite3.node" is installed via remote
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
added 144 packages from 182 contributors and audited 144 packages in 5.236s
2 packages are looking for funding
run `npm fund` for details
found 1 high severity vulnerability
run `npm audit fix` to fix them, or `npm audit` for details
lr@Air-de-Ludovic IFly % node index.js
[GeneratorFunction (anonymous)]
Connected to the logFly database.
found 226 flights in LogFly. Now processing...
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0% | ETA: 0s | 0/226/Users/lr/Documents/code/IFly/index.js:139
var result_ffvl = solver(score_flight, scoring.FFVL).next().value;
^
TypeError: Cannot read property 'FFVL' of undefined
at /Users/lr/Documents/code/IFly/index.js:139:54
at Array.forEach (<anonymous>)
at processFlights (/Users/lr/Documents/code/IFly/index.js:112:8)
at Statement.<anonymous> (/Users/lr/Documents/code/IFly/index.js:434:5)
at Statement.replacement (/Users/lr/Documents/code/IFly/node_modules/sqlite3/lib/trace.js:25:27)
lr@Air-de-Ludovic IFly %
Node version ?
lr@Air-de-Ludovic IFly % node --version
v14.17.3
from igc-xc-score.
@mmomtchev renaming scoring to scoringRules did the trick. thanks.
from igc-xc-score.
Related Issues (16)
- Question about IGC Parser HOT 2
- Box.distance() bug ?
- Possible speedup HOT 2
- Proper rounding procedure HOT 2
- Strip/tree shake debug code HOT 7
- Unhandled exception in 1.7.0 beta with some flights
- FAI-OAR flights report a wrong distance when used without cylinders
- Demo not working in Windows browsers HOT 2
- [Question] Perfomance HOT 3
- FAI Triangle not getting the further points HOT 1
- Cannot read properties of undefined (reading 'heapUsed') HOT 2
- Parsing multiple igc file in a cause mac terminal to crash HOT 15
- Cannot read property 'r' of undefined HOT 5
- Moving average / flight detection HOT 4
- How to use with FAI scoring rules HOT 79
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from igc-xc-score.