Skip to content
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

Can anyone please tell what this error is .I got this error when i was running npm run server #60

Open
namrqthakaipa opened this issue Mar 8, 2020 · 1 comment

Comments

@namrqthakaipa
Copy link

Error: Cannot parse config file: 'C:\DEVCONNECTOR\config\default.json': SyntaxError: Unexpected end of JSON input
at Config.util.parseFile (C:\DEVCONNECTOR\node_modules\config\lib\config.js:794:11)
at C:\DEVCONNECTOR\node_modules\config\lib\config.js:601:26
at Array.forEach ()
at Config.util.loadFileConfigs (C:\DEVCONNECTOR\node_modules\config\lib\config.js:600:16)
at new Config (C:\DEVCONNECTOR\node_modules\config\lib\config.js:116:27)
at Object. (C:\DEVCONNECTOR\node_modules\config\lib\config.js:1441:31)
at Module._compile (internal/modules/cjs/loader.js:1158:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)
at Module.load (internal/modules/cjs/loader.js:1002:32)
at Function.Module._load (internal/modules/cjs/loader.js:901:14)
at Module.require (internal/modules/cjs/loader.js:1044:19)
at require (internal/modules/cjs/helpers.js:77:18)
at Object. (C:\DEVCONNECTOR\config\db.js:2:16)
at Module._compile (internal/modules/cjs/loader.js:1158:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)
at Module.load (internal/modules/cjs/loader.js:1002:32)
[nodemon] app crashed - waiting for file changes before starting...

@siddharthkp
Copy link
Owner

Looks like the json file - config/default.json isn't valid. Try putting it in https://jsonlint.com/ to see if there are any problems

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants