Title: Install fails on freebsd do to missing argon2 · Issue #4670 · coder/code-server · GitHub
Open Graph Title: Install fails on freebsd do to missing argon2 · Issue #4670 · coder/code-server
X Title: Install fails on freebsd do to missing argon2 · Issue #4670 · coder/code-server
Description: VS Code in the browser. Contribute to coder/code-server development by creating an account on GitHub.
Open Graph Description: VS Code in the browser. Contribute to coder/code-server development by creating an account on GitHub.
X Description: VS Code in the browser. Contribute to coder/code-server development by creating an account on GitHub.
Opengraph URL: https://github.com/coder/code-server
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Install fails on freebsd do to missing argon2","articleBody":"\u003c!--\r\n\r\nHi there! 👋\r\n\r\nThanks for reporting a bug.\r\n\r\nPlease search for existing issues before filing, as they may contain additional\r\ninformation about the problem and descriptions of workarounds. Provide as much\r\ninformation as you can, so that we can reproduce the issue. Otherwise, we may\r\nnot be able to help diagnose the problem, and may close the issue as\r\nunreproducible or incomplete. For visual defects, please include screenshots to\r\nhelp us understand the issue.\r\n-->\r\n\r\n## OS/Web Information\r\n\r\n- Web Browser: Firefox\r\n- Local OS: FreeBSD\r\n- Remote OS: FreeBSD\r\n- Remote Architecture: amd64\r\n- `code-server --version`:\r\n\r\n## Steps to Reproduce\r\n\r\n1. \"npm install -g code-server\"\r\n\r\n## Expected\r\n\r\nshould install fine\r\n\r\n## Actual\r\n\r\n```\r\nnpm ERR! 1 warning and 4 errors generated.\r\nnpm ERR! gmake: *** [argon2.target.mk:119: Release/obj.target/argon2/src/argon2_node.o] Error 1\r\nnpm ERR! gyp ERR! build error\r\nnpm ERR! gyp ERR! stack Error: `gmake` failed with exit code: 2\r\nnpm ERR! gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)\r\nnpm ERR! gyp ERR! stack at ChildProcess.emit (node:events:365:28)\r\nnpm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)\r\nnpm ERR! gyp ERR! System FreeBSD 13.0-RELEASE\r\nnpm ERR! gyp ERR! command \"/usr/local/bin/node\" \"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"build\" \"--fallback-to-build\" \"--module=/usr/local/lib/node_modules/code-server/node_modules/argon2/lib/binding/napi-v3/argon2.node\" \"--module_name=argon2\" \"--module_path=/usr/local/lib/node_modules/code-server/node_modules/argon2/lib/binding/napi-v3\" \"--napi_version=8\" \"--node_abi_napi=napi\" \"--napi_build_version=3\" \"--node_napi_label=napi-v3\"\r\nnpm ERR! gyp ERR! cwd /usr/local/lib/node_modules/code-server/node_modules/argon2\r\nnpm ERR! gyp ERR! node -v v16.2.0\r\nnpm ERR! gyp ERR! node-gyp -v v8.4.1\r\nnpm ERR! gyp ERR! not ok\r\nnpm ERR! node-pre-gyp ERR! build error\r\nnpm ERR! node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/usr/local/lib/node_modules/code-server/node_modules/argon2/lib/binding/napi-v3/argon2.node --module_name=argon2 --module_path=/usr/local/lib/node_modules/code-server/node_modules/argon2/lib/binding/napi-v3 --napi_version=8 --node_abi_napi=napi --napi_build_version=3 --node_napi_label=napi-v3' (1)\r\nnpm ERR! node-pre-gyp ERR! stack at ChildProcess.\u003canonymous> (/usr/local/lib/node_modules/code-server/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23)\r\nnpm ERR! node-pre-gyp ERR! stack at ChildProcess.emit (node:events:365:28)\r\nnpm ERR! node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1067:16)\r\nnpm ERR! node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)\r\nnpm ERR! node-pre-gyp ERR! System FreeBSD 13.0-RELEASE\r\nnpm ERR! node-pre-gyp ERR! command \"/usr/local/bin/node\" \"/usr/local/lib/node_modules/code-server/node_modules/.bin/node-pre-gyp\" \"install\" \"--fallback-to-build\"\r\nnpm ERR! node-pre-gyp ERR! cwd /usr/local/lib/node_modules/code-server/node_modules/argon2\r\nnpm ERR! node-pre-gyp ERR! node -v v16.2.0\r\nnpm ERR! node-pre-gyp ERR! node-pre-gyp -v v1.0.8\r\nnpm ERR! node-pre-gyp ERR! not ok\r\n```\r\n\r\n\r\n## Notes\r\nThis happen because argon didn't use to provide FreeBSD prebuild packages, however this is no longer the case, there binary node files now, and this includes FreeBSD:\r\n\r\nhttps://github.com/napi-rs/node-rs/releases\r\n\r\n\r\n","author":{"url":"https://github.com/mike-pt","@type":"Person","name":"mike-pt"},"datePublished":"2021-12-30T21:55:58Z","url":"https://github.com/coder/code-server/issues/4670"}
| 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 | /:user_id/:repository/issues/:id(.:format) |
| route-controller | issues |
| route-action | show |
| fetch-nonce | v2:1f32656d-a1ca-4680-5f3b-88c3a5969e1b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D21A:2270F4:2C296AC:3AA460D:6B01C732 |
| html-safe-nonce | c0eb482df0503a503797dc6d0713d15319713d0e9fd695a332bc55c60b016a6e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjFBOjIyNzBGNDoyQzI5NkFDOjNBQTQ2MEQ6NkIwMUM3MzIiLCJ2aXNpdG9yX2lkIjoiNjIzNzAyOTgwNTgzMDgxNzc4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 83a1d0e0af89f7c89ef00588df9dc90f95a22d557941ae48d60593734b5b9d0e |
| hovercard-subject-tag | repository:172953845 |
| 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/coder/code-server/issues/4670 |
| twitter:image | https://opengraph.githubassets.com/f8dbdac2ddbda1806b8a1a22661edb0b1367bd20d34eceae8c27634ff53b822b/coder/code-server |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f8dbdac2ddbda1806b8a1a22661edb0b1367bd20d34eceae8c27634ff53b822b/coder/code-server |
| og:image:alt | VS Code in the browser. Contribute to coder/code-server development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-cache |
| go-import | github.com/coder/code-server git https://github.com/coder/code-server.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 172953845 |
| octolytics-dimension-repository_nwo | coder/code-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 172953845 |
| octolytics-dimension-repository_network_root_nwo | coder/code-server |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width