Title: Fix node v22+ InternalModuleStat Assertion failed error · Issue #109 · coderoad/coderoad-cli · GitHub
Open Graph Title: Fix node v22+ InternalModuleStat Assertion failed error · Issue #109 · coderoad/coderoad-cli
X Title: Fix node v22+ InternalModuleStat Assertion failed error · Issue #109 · coderoad/coderoad-cli
Description: Describe the bug Getting an error running any coderoad command on a fresh install. # node[29033]: void node::fs::InternalModuleStat(const v8::FunctionCallbackInfo
Open Graph Description: Describe the bug Getting an error running any coderoad command on a fresh install. # node[29033]: void node::fs::InternalModuleStat(const v8::FunctionCallbackInfo
X Description: Describe the bug Getting an error running any coderoad command on a fresh install. # node[29033]: void node::fs::InternalModuleStat(const v8::FunctionCallbackInfo<v8::Value>&) at ../src/n...
Opengraph URL: https://github.com/coderoad/coderoad-cli/issues/109
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Fix node v22+ InternalModuleStat Assertion failed error","articleBody":"**Describe the bug**\n\nGetting an error running any `coderoad` command on a fresh install.\n\n```\n # node[29033]: void node::fs::InternalModuleStat(const v8::FunctionCallbackInfo\u003cv8::Value\u003e\u0026) at ../src/node_file.cc:1046\n # Assertion failed: (args.Length()) \u003e= (2)\n\n----- Native stack trace -----\n\n 1: 0x102d8f7 node::Assert(node::AssertionInfo const\u0026) [node]\n 2: 0x10368d7 [node]\n 3: 0x7fcbcfe0f186 \n\n----- JavaScript stack trace -----\n\n1: /home/jcandan/.nvm/versions/node/v23.6.1/lib/node_modules/@coderoad/cli/node_modules/esm/esm.js:1:34535\n2: /home/jcandan/.nvm/versions/node/v23.6.1/lib/node_modules/@coderoad/cli/node_modules/esm/esm.js:1:34176\n3: /home/jcandan/.nvm/versions/node/v23.6.1/lib/node_modules/@coderoad/cli/node_modules/esm/esm.js:1:34506\n4: /home/jcandan/.nvm/versions/node/v23.6.1/lib/node_modules/@coderoad/cli/node_modules/esm/esm.js:1:173374\n5: /home/jcandan/.nvm/versions/node/v23.6.1/lib/node_modules/@coderoad/cli/node_modules/esm/esm.js:1:173420\n6: /home/jcandan/.nvm/versions/node/v23.6.1/lib/node_modules/@coderoad/cli/node_modules/esm/esm.js:1:173521\n7: /home/jcandan/.nvm/versions/node/v23.6.1/lib/node_modules/@coderoad/cli/node_modules/esm/esm.js:1:258942\n8: /home/jcandan/.nvm/versions/node/v23.6.1/lib/node_modules/@coderoad/cli/node_modules/esm/esm.js:1:261569\n9: e (/home/jcandan/.nvm/versions/node/v23.6.1/lib/node_modules/@coderoad/cli/node_modules/esm/esm.js:1:262673)\n10: get (/home/jcandan/.nvm/versions/node/v23.6.1/lib/node_modules/@coderoad/cli/node_modules/esm/esm.js:1:262740)\n\n\nAborted (core dumped)\n```\n\n**To Reproduce**\n\n```\nsudo apt update\nsudo apt install curl\ncurl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash\nnvm install node\nnode --version\nnpm install -g @coderoad/cli\ncoderoad --version\ncoderoad --help\n```\n\n**Expected behavior**\nI expect the help text or version to be shown.\n\n**Screenshots**\nN/A\n\n**Desktop (please complete the following information):**\n\n- Platfrom: Windows 11 Version 23H2 (OS Build 22631.2861)\n- OS: Ubuntu via WSL2\n- Version 24.04.1\n\n**Node (please complete the following information):**\n\n- Version v23.6.1\n\n**Git (please complete the following information):**\n\n- Version 2.43.0\n\n**Additional context**\nN/A\n","author":{"url":"https://github.com/jcandan","@type":"Person","name":"jcandan"},"datePublished":"2025-01-26T13:56:20.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/109/coderoad-cli/issues/109"}
| 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:2d8b1b53-11b1-70d4-9ec5-fa35806cdf2a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D2AC:2411E:68DD71D:88C8614:696D83CD |
| html-safe-nonce | fd1ef7fd859420398fd2e861dacc618a1fe714868e4521a439324c9d7f89f0e9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMkFDOjI0MTFFOjY4REQ3MUQ6ODhDODYxNDo2OTZEODNDRCIsInZpc2l0b3JfaWQiOiI1NDEwMzY5ODAyMDI4ODExMjEzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2c14c39095d1eb39998ce99fca6b2052067a5ca0b13193d1fdd31f82e1041524 |
| hovercard-subject-tag | issue:2811575521 |
| 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/coderoad/coderoad-cli/109/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3d421bdae085045df6be58aab33d8260e2f1f7d44a102202041a1ecbf7c7fb2f/coderoad/coderoad-cli/issues/109 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3d421bdae085045df6be58aab33d8260e2f1f7d44a102202041a1ecbf7c7fb2f/coderoad/coderoad-cli/issues/109 |
| og:image:alt | Describe the bug Getting an error running any coderoad command on a fresh install. # node[29033]: void node::fs::InternalModuleStat(const v8::FunctionCallbackInfo |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jcandan |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4922b452d03cd8dbce479d866a11bc25b59ef6ee2da23aa9b0ddefa6bd4d0064 |
| turbo-cache-control | no-preview |
| go-import | github.com/coderoad/coderoad-cli git https://github.com/coderoad/coderoad-cli.git |
| octolytics-dimension-user_id | 16840514 |
| octolytics-dimension-user_login | coderoad |
| octolytics-dimension-repository_id | 266245084 |
| octolytics-dimension-repository_nwo | coderoad/coderoad-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 266245084 |
| octolytics-dimension-repository_network_root_nwo | coderoad/coderoad-cli |
| 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 | 7e5ae23c70136152637ceee8d6faceb35596ec46 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width