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: Github.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:8eca134e-2522-f291-0ea7-194ae21a086d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A7CA:2BC214:9EF3EE:D83250:6A62EA65 |
| html-safe-nonce | 53becaa8d6a82b7a71068092b40c978906eef83836c9e7879c442b78f5488fa5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBN0NBOjJCQzIxNDo5RUYzRUU6RDgzMjUwOjZBNjJFQTY1IiwidmlzaXRvcl9pZCI6IjY2NjU2Mjk4MDMxMDU5MzgwMjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a1f8c2708788b5456aa406328591eb836ad113ae1eacc90a66cbac716740919e |
| 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 | df33b1b61ee7b9a0af988199bfc3503c9c1acafb1f1d40e1f140ea7c84f890dd |
| 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 | d41cd1bdb290013455c0ac430fa755621733f5eb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width