Title: Create Build directory if the directory does not exist · Issue #560 · joeferner/node-java · GitHub
Open Graph Title: Create Build directory if the directory does not exist · Issue #560 · joeferner/node-java
X Title: Create Build directory if the directory does not exist · Issue #560 · joeferner/node-java
Description: I'd like to add if (!fs.existsSync(__dirname + '/build')){ fs.mkdirSync(__dirname + '/build'); } above line 22 of postInstall.js. When creating the file ..(__dirname, './build/jvm_dll_path.json) I get an error because the empty directory...
Open Graph Description: I'd like to add if (!fs.existsSync(__dirname + '/build')){ fs.mkdirSync(__dirname + '/build'); } above line 22 of postInstall.js. When creating the file ..(__dirname, './build/jvm_dll_path.json) I ...
X Description: I'd like to add if (!fs.existsSync(__dirname + '/build')){ fs.mkdirSync(__dirname + '/build'); } above line 22 of postInstall.js. When creating the file ..(__dirname, './bui...
Opengraph URL: https://github.com/joeferner/node-java/issues/560
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Create Build directory if the directory does not exist","articleBody":"I'd like to add \r\n```\r\n if (!fs.existsSync(__dirname + '/build')){\r\n fs.mkdirSync(__dirname + '/build');\r\n}\r\n```\r\nabove line 22 of `postInstall.js`. When creating the file `..(__dirname, './build/jvm_dll_path.json)` I get an error because the empty directory does not exists. \r\n\r\nI'd like to create a PR to add this at it should not affect any other changes and will fix the case where the build directory does not exist when using npm to install.","author":{"url":"https://github.com/hinkley-dev","@type":"Person","name":"hinkley-dev"},"datePublished":"2022-08-17T00:34:50Z","url":"https://github.com/joeferner/node-java/issues/560"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:ea83d6d5-3817-997a-a621-d961276457c9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8146:3B7815:AC6DA:E5664:6AFD0C8E |
| html-safe-nonce | 8243a6cc63c13b1c4fa84fef346c671e3ef4befa777fbbb6538322817fb5aed1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTQ2OjNCNzgxNTpBQzZEQTpFNTY2NDo2QUZEMEM4RSIsInZpc2l0b3JfaWQiOiIxOTcyMDE5MDYxNjMzOTExOTUwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3dfb31f0a5547c855e80fb6c82ec464d02fae1afb41000671bb39792c4c84ca9 |
| hovercard-subject-tag | issue:1341014311 |
| 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/joeferner/node-java/560/issue_layout |
| twitter:image | https://opengraph.githubassets.com/61d0403989f39202d8230dcf9b2e19025e3f39a262d1f4d80ba33349a9a9caf9/joeferner/node-java/issues/560 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/61d0403989f39202d8230dcf9b2e19025e3f39a262d1f4d80ba33349a9a9caf9/joeferner/node-java/issues/560 |
| og:image:alt | I'd like to add if (!fs.existsSync(__dirname + '/build')){ fs.mkdirSync(__dirname + '/build'); } above line 22 of postInstall.js. When creating the file ..(__dirname, './build/jvm_dll_path.json) I ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hinkley-dev |
| hostname | github.com |
| expected-hostname | github.com |
| None | b29de2abb97b6307b16270785efeb58b51a117d5a9b659acf00b77aa00e7043b |
| turbo-cache-control | no-preview |
| go-import | github.com/joeferner/node-java git https://github.com/joeferner/node-java.git |
| octolytics-dimension-user_id | 808857 |
| octolytics-dimension-user_login | joeferner |
| octolytics-dimension-repository_id | 3228734 |
| octolytics-dimension-repository_nwo | joeferner/node-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3228734 |
| octolytics-dimension-repository_network_root_nwo | joeferner/node-java |
| 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 | 8c9e619def6d670dc18a45d3b02cea938c1c7e47 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width