You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SyntaxError: Unexpected string in JSON at position 844
at JSON.parse ()
at Object.exports.read_config (/var/www/html/openKB/routes/common.js:34:31)
at Object. (/var/www/html/openKB/data/mongodbUpgrade.js:16:23)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] dbUpgrade: node data/mongodbUpgrade.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] dbUpgrade script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-09-22T14_52_15_896Z-debug.log
[root@skykb openKB]#
The text was updated successfully, but these errors were encountered:
[root@skykb openKB]# npm run-script dbUpgrade
[email protected] dbUpgrade /var/www/html/openKB
node data/mongodbUpgrade.js
undefined:28
"connection_string": "mongodb://0.0.0.0:27017/skykbdb"
^
SyntaxError: Unexpected string in JSON at position 844
at JSON.parse ()
at Object.exports.read_config (/var/www/html/openKB/routes/common.js:34:31)
at Object. (/var/www/html/openKB/data/mongodbUpgrade.js:16:23)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] dbUpgrade: node data/mongodbUpgrade.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] dbUpgrade script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-09-22T14_52_15_896Z-debug.log
[root@skykb openKB]#
The text was updated successfully, but these errors were encountered: