We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thanks a lot for this interesting project!
Due to the npm install command I was expecting a package.json like this:
npm install
{ "name": "speed-prediction", "version": "1.0.0", "description": "Speed Prediction", "author": "sharedstreets", "license": "MIT", "main": "index.js", "scripts": {}, "dependencies": { "osm-pbf-parser": "2.3.0", "level": "5.0.1", "through2": "3.0.1", "moment": "2.24.0", "byline": "5.0.0", "mkdirp": "0.5.1", "rimraf": "3.0.0" }, "devDependencies": {} }
Edit: The script fails at the "predict" step when it loads require('./stats.json'):
require('./stats.json')
predict (node:18051) UnhandledPromiseRejectionWarning: Error: Cannot find module './stats.json' Require stack:
Should this call be renamed to stats.json?
await db.put("?", JSON.stringify(stats));
And how will the "profile" step work? (rimraf.sync('./profiles'))
rimraf.sync('./profiles')
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Thanks a lot for this interesting project!
Due to the
npm install
command I was expecting a package.json like this:Edit: The script fails at the "predict" step when it loads
require('./stats.json')
:Should this call be renamed to stats.json?
And how will the "profile" step work? (
rimraf.sync('./profiles')
)The text was updated successfully, but these errors were encountered: