Bir config.json dosyam var ama calıştıramadım 2 gundur.
var config = require('./config.json'); bu kod ile .js dosyasından cağırıyorum .json dosyasını
(config.groupId, config.msg1_title, config.msg1_content, function (err) bunu yazdıktan sonra dosyayı node app.js diye calıştırıyorum ama direk olarak
SyntaxError: C:UsersYusuf HERDEMDesktopjsonconfig.json: Unexpected token } in JSON at position 146
at JSON.parse ()
at Object.Module._extensions..json (module.js:671:27)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (C:UsersYusuf HERDEMDesktopjsonapp.js:4:14)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
Genişletmek icin tıkla...

Bu hatayı alıyorum. Lutfen yardım edin biraz acil.