2022-06-09 08:09:39.317 +0200 [debug] (configs.js) loaded default configs as "{"updates":{"manifest_url":"https://ws.freshdev.io/cli/updates.json","period":24},"log":{"level":"info"},"javascript":{"ecma_version":2020}}" 2022-06-09 08:09:39.325 +0200 [debug] (file-util.js) Error while requiring /Users/chris/.fdk/configs.json: Cannot find module '/Users/chris/.fdk/configs.json' Require stack: - /Users/chris/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/utils/file-util.js - /Users/chris/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/configs.js - /Users/chris/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/logger.js - /Users/chris/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/index.js 2022-06-09 08:09:39.325 +0200 [debug] (configs.js) loaded global configs as "{}" 2022-06-09 08:09:39.326 +0200 [debug] (file-util.js) Error while requiring /Users/chris/Repos/koro/freshdesk-app/.fdk/configs.json: Cannot find module '/Users/chris/Repos/koro/freshdesk-app/.fdk/configs.json' Require stack: - /Users/chris/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/utils/file-util.js - /Users/chris/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/configs.js - /Users/chris/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/logger.js - /Users/chris/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/index.js 2022-06-09 08:09:39.326 +0200 [debug] (configs.js) loaded local configs as "{}" 2022-06-09 08:09:39.326 +0200 [debug] (configs.js) loaded env configs as "{"updates":{},"log":{},"javascript":{}}" 2022-06-09 08:09:39.326 +0200 [debug] (configs.js) loaded resolved configs as "{"updates":{"manifest_url":"https://ws.freshdev.io/cli/updates.json","period":24},"log":{"level":"info"},"javascript":{"ecma_version":2020}}" 2022-06-09 08:09:39.326 +0200 [debug] (logger.js) Starting FDK in node v14.19.3 on darwin 2022-06-09 08:09:39.326 +0200 [debug] (sequelize.js) setting up sqilite at "/Users/chris/Repos/koro/freshdesk-app/.fdk/store.sqlite" 2022-06-09 08:09:39.326 +0200 [debug] (index.js) Running with args {"cmd":"pack","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-06-09 08:09:39.326 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1654010291827}} 2022-06-09 08:09:39.326 +0200 [debug] (updater.js) last check more than 24 hours ago, looking for updates again 2022-06-09 08:09:39.609 +0200 [debug] (updater.js) downloaded update manifest as {"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}} 2022-06-09 08:09:39.610 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1654010291827}} 2022-06-09 08:09:39.611 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1654010291827}} 2022-06-09 08:09:39.612 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1654010291827}} 2022-06-09 08:09:39.669 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"full_page_app":{"url":"refunds/index.html","icon":"refunds/icon.svg"},"ticket_sidebar":{"url":"template.html","icon":"icon.svg"}}}},"whitelisted-domains":["https://*.freshdesk.com","https://pixi-interface-live.herokuapp.com","https://korohelper-backend-live.herokuapp.com","https://toolbox-backend-live.herokuapp.com","https://*.ngrok.io"],"engines":{"node":"14.19.3","fdk":"8.3.1"}}. 2022-06-09 08:09:39.669 +0200 [debug] (manifest.js) Inferred db as features. 2022-06-09 08:09:39.669 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1654754979612}} 2022-06-09 08:09:40.729 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1654754979612}} 2022-06-09 08:09:41.140 +0200 [debug] (pack.js) 'pack' called with {} 2022-06-09 08:09:41.140 +0200 [debug] (validate.js) asked to skip the following validations,  2022-06-09 08:09:41.141 +0200 [debug] (validate.js) running validator actions 2022-06-09 08:09:41.141 +0200 [debug] (validate.js) running validator app-dir 2022-06-09 08:09:41.142 +0200 [debug] (validate.js) running validator config-dir 2022-06-09 08:09:41.142 +0200 [debug] (config-dir.js) Checking to see if /Users/chris/Repos/koro/freshdesk-app/config/ exists. 2022-06-09 08:09:41.142 +0200 [debug] (config-dir.js) Fetched the following config files iparam_test_data.json,iparams.json 2022-06-09 08:09:41.142 +0200 [debug] (validate.js) running validator custom-objects 2022-06-09 08:09:41.142 +0200 [debug] (validate.js) running validator event 2022-06-09 08:09:41.142 +0200 [debug] (validate.js) running validator iparam 2022-06-09 08:09:41.145 +0200 [debug] (validate.js) running validator lint 2022-06-09 08:09:41.145 +0200 [debug] (lint.js) passed fix flag: undefined 2022-06-09 08:09:41.147 +0200 [debug] (lint-util.js) Running the following lints on the file app/app.js : no-caller,no-process-env,complexity,max-nested-callbacks,handle-callback-err,no-eval,no-alert,no-debugger,no-unreachable,no-unlisted-url,no-unhandled-promise,no-logging-rejections,no-non-client-request-model,no-cross-scope-assign,no-empty-function,no-unused-vars 2022-06-09 08:09:41.283 +0200 [debug] (lint-util.js) Running the following lints on the file app/common/config.js : no-caller,no-process-env,complexity,max-nested-callbacks,handle-callback-err,no-eval,no-alert,no-debugger,no-unreachable,no-unlisted-url,no-unhandled-promise,no-logging-rejections,no-non-client-request-model,no-cross-scope-assign,no-empty-function,no-unused-vars 2022-06-09 08:09:41.289 +0200 [debug] (lint-util.js) Running the following lints on the file app/plugins/jquery.refundCart.js : no-caller,no-process-env,complexity,max-nested-callbacks,handle-callback-err,no-eval,no-alert,no-debugger,no-unreachable,no-unlisted-url,no-unhandled-promise,no-logging-rejections,no-non-client-request-model,no-cross-scope-assign,no-empty-function,no-unused-vars 2022-06-09 08:09:41.368 +0200 [debug] (lint-util.js) Running the following lints on the file app/refunds/app.js : no-caller,no-process-env,complexity,max-nested-callbacks,handle-callback-err,no-eval,no-alert,no-debugger,no-unreachable,no-unlisted-url,no-unhandled-promise,no-logging-rejections,no-non-client-request-model,no-cross-scope-assign,no-empty-function,no-unused-vars 2022-06-09 08:09:41.461 +0200 [debug] (validate.js) running validator manifest 2022-06-09 08:09:41.461 +0200 [debug] (manifest.js) running manifest validation with type pre_pkg_validation 2022-06-09 08:09:41.461 +0200 [debug] (validate.js) running validator manifest-dependency 2022-06-09 08:09:41.461 +0200 [debug] (validate.js) running validator oauth 2022-06-09 08:09:41.461 +0200 [debug] (validate.js) skipping validator pkgsize 2022-06-09 08:09:41.462 +0200 [debug] (validate.js) skipping validator schema 2022-06-09 08:09:41.462 +0200 [debug] (validate.js) running validator version-check 2022-06-09 08:09:41.466 +0200 [warn] Please ensure that the following are addressed for quick review process. 2022-06-09 08:09:41.467 +0200 [warn] [WARN] iparam_test_data.json is deprecated, to test the installation page, visit - http://localhost:10001/custom_configs 2022-06-09 08:09:41.467 +0200 [warn] [WARN] app/app.js::4: Expected rejection to be handled. 2022-06-09 08:09:41.467 +0200 [warn] [WARN] app/app.js::5: 'client' declared and assigned in different scopes. Possible asynchronous race condition. 2022-06-09 08:09:41.467 +0200 [warn] [WARN] app/app.js::41: Arrow function has a complexity of 9. Maximum allowed is 7. 2022-06-09 08:09:41.467 +0200 [warn] [WARN] app/app.js::124: refrain from simply logging errors. 2022-06-09 08:09:41.467 +0200 [warn] [WARN] app/app.js::256: Function 'changeAddressPopup' has a complexity of 16. Maximum allowed is 7. 2022-06-09 08:09:41.467 +0200 [warn] [WARN] app/app.js::316: Function 'saveAddress' has a complexity of 9. Maximum allowed is 7. 2022-06-09 08:09:41.467 +0200 [warn] [WARN] app/app.js::402: refrain from simply logging errors. 2022-06-09 08:09:41.467 +0200 [warn] [WARN] app/plugins/jquery.refundCart.js::287: 'qtyRefund' declared and assigned in different scopes. Possible asynchronous race condition. 2022-06-09 08:09:41.467 +0200 [warn] [WARN] app/plugins/jquery.refundCart.js::288: 'total' declared and assigned in different scopes. Possible asynchronous race condition. 2022-06-09 08:09:41.468 +0200 [warn] [WARN] app/plugins/jquery.refundCart.js::428: 'total' declared and assigned in different scopes. Possible asynchronous race condition. 2022-06-09 08:09:41.468 +0200 [warn] [WARN] app/plugins/jquery.refundCart.js::507: Function has a complexity of 9. Maximum allowed is 7. 2022-06-09 08:09:41.468 +0200 [warn] [WARN] app/refunds/app.js::4: Expected rejection to be handled. 2022-06-09 08:09:41.468 +0200 [warn] [WARN] app/refunds/app.js::5: 'client' declared and assigned in different scopes. Possible asynchronous race condition. 2022-06-09 08:09:41.469 +0200 [warn] [WARN] app/refunds/app.js::116: refrain from simply logging errors. 2022-06-09 08:09:41.469 +0200 [warn] [WARN] app/refunds/app.js::432: Async arrow function has a complexity of 9. Maximum allowed is 7. 2022-06-09 08:09:41.469 +0200 [warn] [WARN] app/refunds/app.js::557: Arrow function has a complexity of 8. Maximum allowed is 7. 2022-06-09 08:09:41.469 +0200 [warn] [WARN] app/refunds/app.js::622: refrain from simply logging errors. 2022-06-09 08:09:41.469 +0200 [warn] [WARN] app/refunds/app.js::629: Function 'getSelectField' has a complexity of 12. Maximum allowed is 7. 2022-06-09 08:09:41.469 +0200 [warn] [WARN] app/refunds/app.js::863: Function 'getComplaintsBody' has a complexity of 8. Maximum allowed is 7. 2022-06-09 08:09:41.469 +0200 [error] 2022-06-09 08:09:41.469 +0200 [info] App being packed in Node v14.19.3 using FDK 8.3.1 2022-06-09 08:09:41.484 +0200 [debug] (pack.js) Cannot find './visitor-app' directory while packing. 2022-06-09 08:09:41.484 +0200 [debug] (pack.js) Cannot find './src' directory while packing. 2022-06-09 08:09:41.484 +0200 [debug] (pack.js) Cannot find './server' directory while packing. 2022-06-09 08:09:41.487 +0200 [debug] (file-util.js) Computing digest for app/app.js,app/common/config.js,app/edit.png,app/freshdesk_logo.png,app/icon.svg,app/plugins/jquery.refundCart.js,app/refunds/app.js,app/refunds/icon.svg,app/refunds/index.html,app/refunds/style.css,app/style.css,app/template.html,manifest.json. 2022-06-09 08:09:41.489 +0200 [debug] (pack.js) Packing ./app/app.js 2022-06-09 08:09:41.489 +0200 [debug] (pack.js) Packing ./app/common/config.js 2022-06-09 08:09:41.489 +0200 [debug] (pack.js) Packing ./app/edit.png 2022-06-09 08:09:41.489 +0200 [debug] (pack.js) Packing ./app/freshdesk_logo.png 2022-06-09 08:09:41.489 +0200 [debug] (pack.js) Packing ./app/icon.svg 2022-06-09 08:09:41.489 +0200 [debug] (pack.js) Packing ./app/plugins/jquery.refundCart.js 2022-06-09 08:09:41.489 +0200 [debug] (pack.js) Packing ./app/refunds/app.js 2022-06-09 08:09:41.489 +0200 [debug] (pack.js) Packing ./app/refunds/icon.svg 2022-06-09 08:09:41.489 +0200 [debug] (pack.js) Packing ./app/refunds/index.html 2022-06-09 08:09:41.489 +0200 [debug] (pack.js) Packing ./app/refunds/style.css 2022-06-09 08:09:41.489 +0200 [debug] (pack.js) Packing ./app/style.css 2022-06-09 08:09:41.490 +0200 [debug] (pack.js) Packing ./app/template.html 2022-06-09 08:09:41.490 +0200 [debug] (pack.js) Packing ./config/iparam_test_data.json 2022-06-09 08:09:41.490 +0200 [debug] (pack.js) Packing ./config/iparams.json 2022-06-09 08:09:41.490 +0200 [debug] (pack.js) Packing ./manifest.json 2022-06-09 08:09:41.490 +0200 [debug] (pack.js) Packing ./.report.json 2022-06-09 08:09:41.490 +0200 [debug] (pack.js) Packing ./README.md 2022-06-09 08:09:41.490 +0200 [debug] (pack.js) Packing ./digest.md5 2022-06-09 08:09:41.543 +0200 [debug] (validate.js) asked to skip the following validations,  2022-06-09 08:09:41.544 +0200 [debug] (validate.js) skipping validator actions 2022-06-09 08:09:41.544 +0200 [debug] (validate.js) skipping validator app-dir 2022-06-09 08:09:41.544 +0200 [debug] (validate.js) skipping validator config-dir 2022-06-09 08:09:41.544 +0200 [debug] (validate.js) skipping validator custom-objects 2022-06-09 08:09:41.544 +0200 [debug] (validate.js) skipping validator event 2022-06-09 08:09:41.544 +0200 [debug] (validate.js) skipping validator iparam 2022-06-09 08:09:41.544 +0200 [debug] (validate.js) skipping validator lint 2022-06-09 08:09:41.544 +0200 [debug] (validate.js) skipping validator manifest 2022-06-09 08:09:41.544 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-06-09 08:09:41.544 +0200 [debug] (validate.js) skipping validator oauth 2022-06-09 08:09:41.544 +0200 [debug] (validate.js) running validator pkgsize 2022-06-09 08:09:41.544 +0200 [debug] (validate.js) skipping validator schema 2022-06-09 08:09:41.544 +0200 [debug] (validate.js) skipping validator version-check 2022-06-09 08:09:41.544 +0200 [info] App packed successfully at /dist/freshdesk-app.zip 2022-06-09 08:09:41.544 +0200 [info] Upload this file to the marketplace by following the instructions at https://developer.freshdesk.com/v2/docs/freshdesk-apps/ 2022-06-09 08:09:41.544 +0200 [debug] (file-util.js) Deleting digest.