Title: `Cannot open config file with path: ${configPath} · Issue #1101 · javascript-obfuscator/javascript-obfuscator · GitHub
Open Graph Title: `Cannot open config file with path: ${configPath} · Issue #1101 · javascript-obfuscator/javascript-obfuscator
X Title: `Cannot open config file with path: ${configPath} · Issue #1101 · javascript-obfuscator/javascript-obfuscator
Description: I am also getting this error. version : javascript-obfuscator -v 4.0.0_2022-02-14T16:47:01.077Z I am on Red Hat 4.8.5-11 Command used javascript-obfuscator gh.js --config test.json The config file is a copy of the "High obfuscation, low ...
Open Graph Description: I am also getting this error. version : javascript-obfuscator -v 4.0.0_2022-02-14T16:47:01.077Z I am on Red Hat 4.8.5-11 Command used javascript-obfuscator gh.js --config test.json The config file ...
X Description: I am also getting this error. version : javascript-obfuscator -v 4.0.0_2022-02-14T16:47:01.077Z I am on Red Hat 4.8.5-11 Command used javascript-obfuscator gh.js --config test.json The config file ...
Opengraph URL: https://github.com/javascript-obfuscator/javascript-obfuscator/issues/1101
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`Cannot open config file with path: ${configPath}","articleBody":"I am also getting this error. \r\n\r\nversion :\r\njavascript-obfuscator -v\r\n4.0.0_2022-02-14T16:47:01.077Z\r\n\r\n\r\nI am on Red Hat 4.8.5-11\r\n\r\n\r\nCommand used\r\njavascript-obfuscator gh.js --config test.json\r\n\r\nThe config file is a copy of the \"High obfuscation, low performance\" found on the README.md\r\n\r\n{\r\n compact: true,\r\n controlFlowFlattening: true,\r\n controlFlowFlatteningThreshold: 0.75,\r\n deadCodeInjection: true,\r\n deadCodeInjectionThreshold: 0.4,\r\n debugProtection: false,\r\n debugProtectionInterval: false,\r\n disableConsoleOutput: true,\r\n identifierNamesGenerator: 'hexadecimal',\r\n log: false,\r\n renameGlobals: false,\r\n rotateStringArray: true,\r\n selfDefending: true,\r\n stringArray: true,\r\n stringArrayEncoding: ['base64'],\r\n stringArrayThreshold: 0.75,\r\n transformObjectKeys: true,\r\n unicodeEscapeSequence: false\r\n}\r\n\r\n\r\nerror:\r\n/home/gotop/nodejs/node_global/lib/node_modules/javascript-obfuscator/dist/webpack:/javascript-obfuscator/src/cli/utils/CLIUtils.ts:41\r\n throw new ReferenceError(`Cannot open config file with path: ${configPath}`);\r\n ^\r\nReferenceError: Cannot open config file with path: /home/gotop/jenkins/javascript/test/test.json\r\n at Function.getUserConfig (/home/gotop/nodejs/node_global/lib/node_modules/javascript-obfuscator/dist/webpack:/javascript-obfuscator/src/cli/utils/CLIUtils.ts:41:23)\r\n at Function.buildOptions (/home/gotop/nodejs/node_global/lib/node_modules/javascript-obfuscator/dist/webpack:/javascript-obfuscator/src/cli/JavaScriptObfuscatorCLI.ts:66:76)\r\n at L.apply (/home/gotop/nodejs/node_global/lib/node_modules/javascript-obfuscator/dist/webpack:/javascript-obfuscator/src/cli/JavaScriptObfuscatorCLI.ts:90:56)\r\n at L.apply (/home/gotop/nodejs/node_global/lib/node_modules/javascript-obfuscator/dist/webpack:/javascript-obfuscator/src/decorators/Initializable.ts:80:43)\r\n at L.apply (/home/gotop/nodejs/node_global/lib/node_modules/javascript-obfuscator/dist/webpack:/javascript-obfuscator/src/decorators/Initializable.ts:80:43)\r\n at L.apply (/home/gotop/nodejs/node_global/lib/node_modules/javascript-obfuscator/dist/webpack:/javascript-obfuscator/src/decorators/Initializable.ts:80:43)\r\n at L.apply (/home/gotop/nodejs/node_global/lib/node_modules/javascript-obfuscator/dist/webpack:/javascript-obfuscator/src/decorators/Initializable.ts:80:43)\r\n at L.apply (/home/gotop/nodejs/node_global/lib/node_modules/javascript-obfuscator/dist/webpack:/javascript-obfuscator/src/decorators/Initializable.ts:80:43)\r\n at L.initialize (/home/gotop/nodejs/node_global/lib/node_modules/javascript-obfuscator/dist/webpack:/javascript-obfuscator/src/decorators/Initializable.ts:80:43)\r\n at Function.obfuscate (/home/gotop/nodejs/node_global/lib/node_modules/javascript-obfuscator/dist/webpack:/javascript-obfuscator/src/JavaScriptObfuscatorCLIFacade.ts:9:33)","author":{"url":"https://github.com/lzbcll","@type":"Person","name":"lzbcll"},"datePublished":"2022-07-13T10:07:46.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/1101/javascript-obfuscator/issues/1101"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ba0a7c6c-69fa-8a68-a4d6-95fa55aff4e1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9202:142F2A:11EFD80:1A0A3D4:6A633715 |
| html-safe-nonce | 71ce8634aa8e0640d9a96795d85a6760f507183f8aca0417c1639a01ba24430e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjAyOjE0MkYyQToxMUVGRDgwOjFBMEEzRDQ6NkE2MzM3MTUiLCJ2aXNpdG9yX2lkIjoiNjgzODI1MzYwOTcwMzEyNjgwNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d0c888437e976ef41423e4f4c55ae4daf4b529ecf60dd6764b1a4baf54bd18c6 |
| hovercard-subject-tag | issue:1303209351 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/javascript-obfuscator/javascript-obfuscator/1101/issue_layout |
| twitter:image | https://opengraph.githubassets.com/281c69e9efc53ab1eadce7df91f40af57ad263e9935e2e0474ceabfbec8e1afa/javascript-obfuscator/javascript-obfuscator/issues/1101 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/281c69e9efc53ab1eadce7df91f40af57ad263e9935e2e0474ceabfbec8e1afa/javascript-obfuscator/javascript-obfuscator/issues/1101 |
| og:image:alt | I am also getting this error. version : javascript-obfuscator -v 4.0.0_2022-02-14T16:47:01.077Z I am on Red Hat 4.8.5-11 Command used javascript-obfuscator gh.js --config test.json The config file ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lzbcll |
| hostname | github.com |
| expected-hostname | github.com |
| None | 59e55daad7174ca59d63c6974d58276ccb5477442e550bebb3c035e1bef11c94 |
| turbo-cache-control | no-preview |
| go-import | github.com/javascript-obfuscator/javascript-obfuscator git https://github.com/javascript-obfuscator/javascript-obfuscator.git |
| octolytics-dimension-user_id | 23015672 |
| octolytics-dimension-user_login | javascript-obfuscator |
| octolytics-dimension-repository_id | 58360147 |
| octolytics-dimension-repository_nwo | javascript-obfuscator/javascript-obfuscator |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 58360147 |
| octolytics-dimension-repository_network_root_nwo | javascript-obfuscator/javascript-obfuscator |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 990295d92a4cc7b63fbbd83a046217cd7d77d49c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width