Title: Error when enable sourceMap · Issue #817 · javascript-obfuscator/javascript-obfuscator · GitHub
Open Graph Title: Error when enable sourceMap · Issue #817 · javascript-obfuscator/javascript-obfuscator
X Title: Error when enable sourceMap · Issue #817 · javascript-obfuscator/javascript-obfuscator
Description: When I set sourceMap to true, also sourceMapBaseUrl and sourceMapFileName are set, it raise an error. Please see the stack trace below. This happens when I input a directory. Your Environment Obfuscator version used:2.9.1 Node version us...
Open Graph Description: When I set sourceMap to true, also sourceMapBaseUrl and sourceMapFileName are set, it raise an error. Please see the stack trace below. This happens when I input a directory. Your Environment Obfus...
X Description: When I set sourceMap to true, also sourceMapBaseUrl and sourceMapFileName are set, it raise an error. Please see the stack trace below. This happens when I input a directory. Your Environment Obfus...
Opengraph URL: https://github.com/javascript-obfuscator/javascript-obfuscator/issues/817
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error when enable sourceMap","articleBody":"When I set sourceMap to true, also sourceMapBaseUrl and sourceMapFileName are set, it raise an error. Please see the stack trace below. This happens when I input a directory.\r\n\r\n## Your Environment\r\n\u003c!--- Include as many relevant details about the environment you experienced the bug in --\u003e\r\n* Obfuscator version used:2.9.1\r\n* Node version used:14.8\r\n\r\n# Stack trace\r\nError: EEXIST: file already exists, mkdir 'C:\\.mount\\ssda2\\nodejs\\tests\\mssqlTest\\dist\\obfuscated\\core\\djs'\r\n at Object.mkdirSync (fs.js:947:3)\r\n at mkdirpNativeSync (C:\\.mount\\sdb1\\x65\\UserProfile\\AppData\\Roaming\\npm\\node_modules\\javascript-obfuscator\\node_modules\\mkdirp\\lib\\mkdirp-native.js:29:10)\r\n at Object.sync (C:\\.mount\\sdb1\\x65\\UserProfile\\AppData\\Roaming\\npm\\node_modules\\javascript-obfuscator\\node_modules\\mkdirp\\index.js:21:7)\r\n at t.ObfuscatedCodeWriter.writeFile (C:\\.mount\\sdb1\\x65\\UserProfile\\AppData\\Roaming\\npm\\node_modules\\javascript-obfuscator\\dist\\webpack:\\javascript-obfuscator\\src\\cli\\utils\\ObfuscatedC\r\nodeWriter.ts:98:16)\r\n at P.apply (C:\\.mount\\sdb1\\x65\\UserProfile\\AppData\\Roaming\\npm\\node_modules\\javascript-obfuscator\\dist\\webpack:\\javascript-obfuscator\\src\\cli\\JavaScriptObfuscatorCLI.ts:207:39)\r\n at P.processSourceCodeWithSourceMap (C:\\.mount\\sdb1\\x65\\UserProfile\\AppData\\Roaming\\npm\\node_modules\\javascript-obfuscator\\dist\\webpack:\\javascript-obfuscator\\src\\decorators\\Initializa\r\nble.ts:61:39)\r\n at P.apply (C:\\.mount\\sdb1\\x65\\UserProfile\\AppData\\Roaming\\npm\\node_modules\\javascript-obfuscator\\dist\\webpack:\\javascript-obfuscator\\src\\cli\\JavaScriptObfuscatorCLI.ts:190:18)\r\n at P.processSourceCode (C:\\.mount\\sdb1\\x65\\UserProfile\\AppData\\Roaming\\npm\\node_modules\\javascript-obfuscator\\dist\\webpack:\\javascript-obfuscator\\src\\decorators\\Initializable.ts:61:39)\r\n at C:\\.mount\\sdb1\\x65\\UserProfile\\AppData\\Roaming\\npm\\node_modules\\javascript-obfuscator\\dist\\webpack:\\javascript-obfuscator\\src\\cli\\JavaScriptObfuscatorCLI.ts:177:22\r\n at Array.forEach (\u003canonymous\u003e)\r\n\r\n## Minimal working example that will help to reproduce issue\r\n\u003c!--- Include code --\u003e\r\n","author":{"url":"https://github.com/iAm-Qin","@type":"Person","name":"iAm-Qin"},"datePublished":"2020-11-19T03:19:49.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":13},"url":"https://github.com/817/javascript-obfuscator/issues/817"}
| 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:4a0639a1-75b2-ad31-e257-af29269bd6ab |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 825C:2D3AF3:618310:89CF15:6A631014 |
| html-safe-nonce | 5129640ddd8dd21f7fbca25a03c278dcd9f2df5001b0bc87d1ca939470c774b6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MjVDOjJEM0FGMzo2MTgzMTA6ODlDRjE1OjZBNjMxMDE0IiwidmlzaXRvcl9pZCI6IjExNjQ5ODE5NTQ5NDc1MTg0ODQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0d7b9ad8aec24f0d32aa7ed55a7f7f3d9eb4665342a458d2bd5d6abe3347e66d |
| hovercard-subject-tag | issue:746212823 |
| 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/817/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a962bcad4c42b2019423c19609dc61493891a130e0c4e5169cff86277292464d/javascript-obfuscator/javascript-obfuscator/issues/817 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a962bcad4c42b2019423c19609dc61493891a130e0c4e5169cff86277292464d/javascript-obfuscator/javascript-obfuscator/issues/817 |
| og:image:alt | When I set sourceMap to true, also sourceMapBaseUrl and sourceMapFileName are set, it raise an error. Please see the stack trace below. This happens when I input a directory. Your Environment Obfus... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | iAm-Qin |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1a6c056e02f174fffc096c521ec0ff6fb83e40a2ec8cb8875466ec1524872dd6 |
| 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 | 6a93e25585f487ddff9e3996c06d5b869d6e1828 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width