Yeah I had applied that and here is the config file contents
{ "certificate": { "key": "certificates/jsreport.net.key", "cert": "certificates/jsreport.net.cert" }, "httpPort": 5488, "httpsPort": null, "logger": { "console": { "transport": "console", "level": "debug" }, "file": { "transport": "file", "level": "info", "filename": "logs/reporter.log" }, "error": { "transport": "file", "level": "error", "filename": "logs/error.log" } }, "store": { "provider": "fs" }, "blobStorage": { "provider": "fs" }, "templatingEngines": { "strategy": "dedicated-process", "timeout": 10000, "allowedModules": [] }, "phantom": { "strategy": "dedicated-process", "timeout": 60000 }, "extensions": { "studio": { "enabled": false }, "authentication": { "cookieSession": { "secret": "<your strong secret>" }, "admin": { "username": "admin", "password": "password" }, "enabled": false }, "scripts": { "allowedModules": [ "request" ], "timeout": 60000 }, "sample-template": { "createSamples": true }, "allowLocalFilesAccess": true } }
and following is the error what I am getting
2018-10-22T09:47:17.403Z - error: Error occured during reporter init Error: ENOENT: no such file or directory, rename 'C:\Users\balasubramani\AppData\Local\Programs\demo-app\resources\app.asar\node_modules\jsreport-studio\static\dist\1.client.js' -> 'C:\Users\balasubramani\AppData\Local\Programs\demo-app\resources\app.asar\node_modules\jsreport-studio\static\dist\extensions.client.js' at Object.fs.renameSync (fs.js:766:18) at Reporter.reporter.on (C:\Users\balasubramani\AppData\Local\Programs\demo-app\resources\app.asar\node_modules\jsreport-studio\lib\studio.js:76:12) at emitOne (events.js:121:20) at Reporter.emit (events.js:211:7) at configureExpressApp (C:\Users\balasubramani\AppData\Local\Programs\demo-app\resources\app.asar\node_modules\jsreport-express\lib\reporter.express.js:167:12) at Object.reporter.initializeListeners.add (C:\Users\balasubramani\AppData\Local\Programs\demo-app\resources\app.asar\node_modules\jsreport-express\lib\reporter.express.js:266:21) at C:\Users\balasubramani\AppData\Local\Programs\demo-app\resources\app.asar\node_modules\listener-collection\lib\listenerCollection.js:171:33 at C:\Users\balasubramani\AppData\Local\Programs\demo-app\resources\app.asar\node_modules\listener-collection\lib\listenerCollection.js:151:16 at tryCatcher (C:\Users\balasubramani\AppData\Local\Programs\demo-app\resources\app.asar\node_modules\bluebird\js\release\util.js:16:23) at Promise._settlePromiseFromHandler (C:\Users\balasubramani\AppData\Local\Programs\demo-app\resources\app.asar\node_modules\bluebird\js\release\promise.js:512:31) at Promise._settlePromise (C:\Users\balasubramani\AppData\Local\Programs\demo-app\resources\app.asar\node_modules\bluebird\js\release\promise.js:569:18) at Promise._settlePromise0 (C:\Users\balasubramani\AppData\Local\Programs\demo-app\resources\app.asar\node_modules\bluebird\js\release\promise.js:614:10) at Promise._settlePromises (C:\Users\balasubramani\AppData\Local\Programs\demo-app\resources\app.asar\node_modules\bluebird\js\release\promise.js:693:18) at Async._drainQueue (C:\Users\balasubramani\AppData\Local\Programs\demo-app\resources\app.asar\node_modules\bluebird\js\release\async.js:133:16) at Async._drainQueues (C:\Users\balasubramani\AppData\Local\Programs\demo-app\resources\app.asar\node_modules\bluebird\js\release\async.js:143:10) at Immediate.Async.drainQueues [as _onImmediate] (C:\Users\balasubramani\AppData\Local\Programs\demo-app\resources\app.asar\node_modules\bluebird\js\release\async.js:17:14)
B