javascript - SequelizeDatabaseError: You need JSON-C for ST_GeomFromGeoJSON when I have JSON-C installed on centos -


i getting following error @ centos server:

npm-2 unhandled rejection sequelizedatabaseerror: need json-c st_geomfromgeojson npm-2     @ query.formaterror (/home/centos/jobcue.com/node_modules/sequelize/lib/dialects/postgres/query.js:357:14) npm-2     @ null.<anonymous> (/home/centos/jobcue.com/node_modules/sequelize/lib/dialects/postgres/query.js:88:19) npm-2     @ emitone (events.js:77:13) npm-2     @ emit (events.js:169:7) npm-2     @ query.handleerror (/home/centos/jobcue.com/node_modules/pg/lib/query.js:108:8) npm-2     @ null.<anonymous> (/home/centos/jobcue.com/node_modules/pg/lib/client.js:171:26) npm-2     @ emitone (events.js:77:13) npm-2     @ emit (events.js:169:7) npm-2     @ socket.<anonymous> (/home/centos/jobcue.com/node_modules/pg/lib/connection.js:109:12) npm-2     @ emitone (events.js:77:13) npm-2     @ socket.emit (events.js:169:7) npm-2     @ readableaddchunk (_stream_readable.js:153:18) npm-2     @ socket.readable.push (_stream_readable.js:111:10) npm-2     @ tcp.onread (net.js:531:20) 

when tried install json-c on server:

sudo yum install json-c loaded plugins: fastestmirror loading mirror speeds cached hostfile  * base: centos.eecs.wsu.edu  * epel: s3-mirror-us-west-2.fedoraproject.org  * extras: linux.mirrors.es.net  * updates: mirror.raystedman.net package json-c-0.11-4.el7_0.x86_64 installed , latest version nothing 

it happened postgis issue, ended building postgis source code. had configure postgis following command:

./configure --with-jsonc=/usr/include

if can have @ full steps/ command logs @ blog: http://www.sadafnoor.com/blog/centos-postgis-setup-you-need-json-c-for-st_geomfromgeojson/


Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -

java - Digest auth with Spring Security using javaconfig -