-
-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
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
OSM Import Error #83
Comments
Hey @KentJacobs, I also wasn't able to reproduce this issue locally myself but if you can manage to try a newer version of the elasticsearch NPM module, that might help. Let me know how it goes, and hopefully we can figure it out based on that info. |
Hopefully this helps! |
Hmm, other than reminding me to upgrade the vagrant image's Elasticsearch version to 1.7.3, unfortunately not really. I just spun up a vagrant image but can't reproduce. How old is your Vagrant image? Things change frequently, especially with NPM modules. Two more things to try though:
|
Running an import seems to work now. I ran I deleted Thank you for your help! |
Deleting |
My import pipeline for OSM runs smoothly until I reach the command to run an import.
$ node index.js
When that command is entered I receive this error:
vagrant@pelias:~/openstreetmap$ node index.js /home/vagrant/openstreetmap/node_modules/pelias-dbclient/node_modules/elasticsearch/src/lib/utils.js:356 throw new TypeError(err); ^ TypeError: Invalid apiVersion "1.7", expected a function or one of master, 1.x, 1.3, 1.2, 1.1, 1.0, 0.90 at Object._.funcEnum (/home/vagrant/openstreetmap/node_modules/pelias-dbclient/node_modules/elasticsearch/src/lib/utils.js:356:11) at new Client (/home/vagrant/openstreetmap/node_modules/pelias-dbclient/node_modules/elasticsearch/src/lib/client.js:66:29) at module.exports (/home/vagrant/openstreetmap/node_modules/pelias-dbclient/src/client.js:11:17) at streamFactory (/home/vagrant/openstreetmap/node_modules/pelias-dbclient/src/sink.js:8:56) at Object.osm.import (/home/vagrant/openstreetmap/index.js:37:12) at Object.<anonymous> (/home/vagrant/openstreetmap/index.js:42:13) at Module._compile (module.js:460:26) at Object.Module._extensions..js (module.js:478:10) at Module.load (module.js:355:32) at Function.Module._load (module.js:310:12)
Any help would be appreciated!
Thank you.
The text was updated successfully, but these errors were encountered: