René's URL Explorer Experiment


Title: Building Code-server in freebsd error with npm and node path error · Issue #529 · coder/code-server · GitHub

Open Graph Title: Building Code-server in freebsd error with npm and node path error · Issue #529 · coder/code-server

X Title: Building Code-server in freebsd error with npm and node path error · Issue #529 · coder/code-server

Description: code-server version: Github Master OS Version: FreeBSD 11.2 Description Try to build the code server. $ node --version v11.6.0 $ yarn --version 1.12.3 $ npm --version 6.4.1 then: ./scripts/build.sh which halted at : yarn run v1.12.3 $ ts...

Open Graph Description: code-server version: Github Master OS Version: FreeBSD 11.2 Description Try to build the code server. $ node --version v11.6.0 $ yarn --version 1.12.3 $ npm --version 6.4.1 then: ./scripts/build.sh...

X Description: code-server version: Github Master OS Version: FreeBSD 11.2 Description Try to build the code server. $ node --version v11.6.0 $ yarn --version 1.12.3 $ npm --version 6.4.1 then: ./scripts/build.sh...

Opengraph URL: https://github.com/coder/code-server/issues/529

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Building Code-server in freebsd error with npm and node path error","articleBody":"\u003c!-- Please search existing issues to avoid creating duplicates. -->\r\n\u003c!-- All extension-specific issues should be created with the `Extension Bug` template. -->\r\n\r\n- `code-server` version: Github Master\r\n- OS Version: FreeBSD 11.2\r\n## Description\r\n\r\nTry to build the code server. \r\n\r\n```\r\n$ node --version\r\nv11.6.0\r\n$ yarn --version\r\n1.12.3\r\n$ npm --version\r\n6.4.1\r\n```\r\nthen:\r\n./scripts/build.sh which halted at :\r\n\r\n```\r\nyarn run v1.12.3\r\n$ ts-node -r tsconfig-paths/register build/tasks.ts build:server:binary\r\nINFO  BUILD:SERVER:BINARY Starting...\r\nINFO  VSCODE:INSTALL Starting...\r\nINFO  VSCODE:INSTALL Executing 'git [\"reset\",\"--hard\"]' {\"options\":{\"cwd\":\"/usr/home/system/code-server/lib/vscode\"}}\r\nINFO  VSCODE:INSTALL Completed! time=770ms {\"time\":{\"expected\":9007199254740991,\"ms\":1555582202397}}\r\nINFO  BUILD:BOOTSTRAP-FORK Starting...\r\nINFO  BUILD:WEB Starting...\r\nINFO  BUILD:SERVER:BUNDLE Starting...\r\nINFO  BUILD:SERVER:BUNDLE Executing 'npm [\"run\",\"build\"]' {\"options\":{\"cwd\":\"/usr/home/system/code-server/packages/server\"}}\r\nINFO  BUILD:APP:BROWSER Starting...\r\nINFO  VSCODE:PATCH Starting...\r\nINFO  BUILD:APP:BROWSER Executing 'npm [\"run\",\"build\"]' {\"options\":{\"cwd\":\"/usr/home/system/code-server/packages/app/browser\"}}\r\nINFO  VSCODE:PATCH Executing 'git [\"apply\",\"--unidiff-zero\",\"/usr/home/system/code-server/scripts/vscode.patch\"]' {\"options\":{\"cwd\":\"/usr/home/system/code-server/lib/vscode\"}}\r\nINFO  VSCODE:PATCH Completed! time=29ms {\"time\":{\"expected\":9007199254740991,\"ms\":1555582203171}}\r\nINFO  BUILD:BOOTSTRAP-FORK Executing 'npm [\"run\",\"build:bootstrap-fork\"]' {\"options\":{\"cwd\":\"/usr/home/system/code-server/packages/vscode\"}}\r\nINFO  BUILD:WEB Executing 'npm [\"run\",\"build\"]' {\"options\":{\"cwd\":\"/usr/home/system/code-server/packages/web\"}}\r\nINFO  BUILD:APP:BROWSER Completed! time=4762ms {\"time\":{\"expected\":9007199254740991,\"ms\":1555582203171}}\r\nINFO  BUILD:SERVER:BUNDLE Completed! time=9376ms {\"time\":{\"expected\":9007199254740991,\"ms\":1555582203168}}\r\nINFO  BUILD:BOOTSTRAP-FORK Completed! time=12902ms {\"time\":{\"expected\":9007199254740991,\"ms\":1555582203167}}\r\nINFO  BUILD:WEB Completed! time=19778ms {\"time\":{\"expected\":9007199254740991,\"ms\":1555582203168}}\r\nINFO  BUILD:SERVER:BINARY:PACKAGE Starting...\r\nINFO  BUILD:SERVER:BINARY:COPY Starting...\r\nINFO  BUILD:SERVER:BINARY:COPY Completed! time=1865ms {\"time\":{\"expected\":9007199254740991,\"ms\":1555582222946}}\r\nINFO  BUILD:SERVER:BINARY:PACKAGE Executing 'npm [\"run\",\"build:binary\"]' {\"options\":{\"cwd\":\"/usr/home/system/code-server/packages/server\"}}\r\nERROR BUILD:SERVER:BINARY:PACKAGE failed {\"exitCode\":1,\"stdout\":\"\\n> server@ build:binary /usr/home/system/code-server/packages/server\\n> ts-node scripts/nbin.ts\\n\\n\\u001b[1m\\u001b[38;2;0;143;191mINFO  \\u001b[0mPackaged module\\u001b[38;2;140;140;140m {\\\"module\\\":\\\"spdlog\\\"}\\n\\u001b[1m\\u001b[38;2;0;143;191mINFO  \\u001b[0mPackaged module\\u001b[38;2;140;140;140m {\\\"module\\\":\\\"node-pty\\\"}\\n\\u001b[1m\\u001b[38;2;0;143;191mINFO  \\u001b[0mPackaged module\\u001b[38;2;140;140;140m {\\\"module\\\":\\\"mkdirp\\\"}\\n\\u001b[1m\\u001b[38;2;0;143;191mINFO  \\u001b[0mPackaged module\\u001b[38;2;140;140;140m {\\\"module\\\":\\\"bindings\\\"}\\n\\u001b[1m\\u001b[38;2;0;143;191mINFO  \\u001b[0mFetching\\u001b[38;2;140;140;140m {\\\"url\\\":\\\"https://nbin.cdr.sh/1.1.2/node-10.15.1-freebsd-x86_64\\\"}\\n\",\"stderr\":\"npm WARN lifecycle The node binary used for scripts is /tmp/yarn--1555582201821-0.772229819417033/node but npm is using /usr/local/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.\\n✔ Wrote 1128 files!\\n✔ Wrote 1 file!\\nError: Forbidden\\n    at e.Binary.\u003canonymous> (/usr/home/system/code-server/packages/server/node_modules/@coder/nbin/out/api.js:1:43397)\\n    at Generator.next (\u003canonymous>)\\n    at s (/usr/home/system/code-server/packages/server/node_modules/@coder/nbin/out/api.js:1:40627)\\n    at process.internalTickCallback (internal/process/next_tick.js:77:7)\\nnpm ERR! code ELIFECYCLE\\nnpm ERR! errno 1\\nnpm ERR! server@ build:binary: `ts-node scripts/nbin.ts`\\nnpm ERR! Exit status 1\\nnpm ERR! \\nnpm ERR! Failed at the server@ build:binary script.\\nnpm ERR! This is probably not a problem with npm. There is likely additional logging output above.\\n\\nnpm ERR! A complete log of this run can be found in:\\nnpm ERR!     /home/system/.npm/_logs/2019-04-18T10_10_26_210Z-debug.log\\n\"}\r\nERROR BUILD:SERVER:BINARY:PACKAGE Failed: Failed to package binary: npm WARN lifecycle The node binary used for scripts is /tmp/yarn--1555582201821-0.772229819417033/node but npm is using /usr/local/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.\r\n✔ Wrote 1128 files!\r\n✔ Wrote 1 file!\r\nError: Forbidden\r\n    at e.Binary.\u003canonymous> (/usr/home/system/code-server/packages/server/node_modules/@coder/nbin/out/api.js:1:43397)\r\n    at Generator.next (\u003canonymous>)\r\n    at s (/usr/home/system/code-server/packages/server/node_modules/@coder/nbin/out/api.js:1:40627)\r\n    at process.internalTickCallback (internal/process/next_tick.js:77:7)\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! errno 1\r\nnpm ERR! server@ build:binary: `ts-node scripts/nbin.ts`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the server@ build:binary script.\r\nnpm ERR! This is probably not a problem with npm. There is likely additional logging output above.\r\n\r\nnpm ERR! A complete log of this run can be found in:\r\nnpm ERR!     /home/system/.npm/_logs/2019-04-18T10_10_26_210Z-debug.log\r\n\r\nERROR BUILD:SERVER:BINARY:PACKAGE Stack: Error: Failed to package binary: npm WARN lifecycle The node binary used for scripts is /tmp/yarn--1555582201821-0.772229819417033/node but npm is using /usr/local/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.\r\n✔ Wrote 1128 files!\r\n✔ Wrote 1 file!\r\nError: Forbidden\r\n    at e.Binary.\u003canonymous> (/usr/home/system/code-server/packages/server/node_modules/@coder/nbin/out/api.js:1:43397)\r\n    at Generator.next (\u003canonymous>)\r\n    at s (/usr/home/system/code-server/packages/server/node_modules/@coder/nbin/out/api.js:1:40627)\r\n    at process.internalTickCallback (internal/process/next_tick.js:77:7)\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! errno 1\r\nnpm ERR! server@ build:binary: `ts-node scripts/nbin.ts`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the server@ build:binary script.\r\nnpm ERR! This is probably not a problem with npm. There is likely additional logging output above.\r\n\r\nnpm ERR! A complete log of this run can be found in:\r\nnpm ERR!     /home/system/.npm/_logs/2019-04-18T10_10_26_210Z-debug.log\r\n\r\n    at Object.runner_1.register [as func] (/usr/home/system/code-server/build/tasks.ts:39:9)\r\n    at process.internalTickCallback (internal/process/next_tick.js:77:7)\r\nerror Command failed with exit code 1.\r\n\r\n```","author":{"url":"https://github.com/emanzx","@type":"Person","name":"emanzx"},"datePublished":"2019-04-18T10:17:56Z","url":"https://github.com/coder/code-server/issues/529"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:42555a5c-fecd-56c9-f2e2-81f3ee9f99b3
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idEBFC:3DCD28:B5E1B9:F1B1C5:6B01C250
html-safe-nonceeefabdfdf1d97420f29e874631db4454c14bc0290f0736c52c114071fa5e297c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQkZDOjNEQ0QyODpCNUUxQjk6RjFCMUM1OjZCMDFDMjUwIiwidmlzaXRvcl9pZCI6IjM1NjEwOTY4NTczODE4ODA0MDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac9cc88f6465508d88e5f1f091797459929659971a906a87904bbe2edf4e67cf46
hovercard-subject-tagissue:434695453
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/code-server/529/issue_layout
twitter:imagehttps://opengraph.githubassets.com/22a57e3436bb6ce9fc5227bdd3b6fc7535bf3c35064cd3037054a10d7d9174a0/coder/code-server/issues/529
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/22a57e3436bb6ce9fc5227bdd3b6fc7535bf3c35064cd3037054a10d7d9174a0/coder/code-server/issues/529
og:image:altcode-server version: Github Master OS Version: FreeBSD 11.2 Description Try to build the code server. $ node --version v11.6.0 $ yarn --version 1.12.3 $ npm --version 6.4.1 then: ./scripts/build.sh...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameemanzx
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/coder/code-server git https://github.com/coder/code-server.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id172953845
octolytics-dimension-repository_nwocoder/code-server
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id172953845
octolytics-dimension-repository_network_root_nwocoder/code-server
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/coder/code-server/issues/529#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcode-server%2Fissues%2F529
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcode-server%2Fissues%2F529
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=coder%2Fcode-server
Reloadhttps://github.com/coder/code-server/issues/529
Reloadhttps://github.com/coder/code-server/issues/529
Reloadhttps://github.com/coder/code-server/issues/529
coderhttps://github.com/coder
code-serverhttps://github.com/coder/code-server
Codehttps://github.com/coder/code-server
Issues147 (147)https://github.com/coder/code-server/issues
Pull requests17 (17)https://github.com/coder/code-server/pulls
Discussionshttps://github.com/coder/code-server/discussions
Actionshttps://github.com/coder/code-server/actions
Projectshttps://github.com/coder/code-server/projects
Security and quality3 (3)https://github.com/coder/code-server/security
Insightshttps://github.com/coder/code-server/insights
https://github.com/coder/code-server
New issuehttps://github.com/login?return_to=https://github.com/coder/code-server/issues/529
New issuehttps://github.com/login?return_to=https://github.com/coder/code-server/issues/529
Building Code-server in freebsd error with npm and node path errorhttps://github.com/coder/code-server/issues/529#top
bugSomething isn't workinghttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/emanzx
emanzxhttps://github.com/emanzx
on Apr 18, 2019https://github.com/coder/code-server/issues/529#issue-434695453
emanzxhttps://github.com/emanzx
bugSomething isn't workinghttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22bug%22
on Apr 18, 2019https://github.com/coder/code-server/issues/529#event-2285242947
https://github.com/nol166
nol166https://github.com/nol166
on Apr 18, 2019https://github.com/coder/code-server/issues/529#issuecomment-484566047
https://github.com/sdirkwinkel
sdirkwinkelhttps://github.com/sdirkwinkel
on Apr 24, 2019https://github.com/coder/code-server/issues/529#issuecomment-486157719
https://github.com/sdirkwinkel
sdirkwinkelhttps://github.com/sdirkwinkel
on Apr 24, 2019https://github.com/coder/code-server/issues/529#issuecomment-486170895
https://github.com/emanzx
emanzxhttps://github.com/emanzx
on Apr 29, 2019https://github.com/coder/code-server/issues/529#issuecomment-487487195
https://github.com/sdirkwinkel
sdirkwinkelhttps://github.com/sdirkwinkel
on Apr 29, 2019https://github.com/coder/code-server/issues/529#issuecomment-487561223
code-server_1.ziphttps://github.com/cdr/code-server/files/3127239/code-server_1.zip
https://github.com/emanzx
emanzxhttps://github.com/emanzx
on Apr 30, 2019https://github.com/coder/code-server/issues/529#issuecomment-487873582
https://github.com/emanzx
emanzxhttps://github.com/emanzx
on May 7, 2019https://github.com/coder/code-server/issues/529#issuecomment-489981362
https://github.com/sdirkwinkel
sdirkwinkelhttps://github.com/sdirkwinkel
on May 7, 2019https://github.com/coder/code-server/issues/529#issuecomment-490024554
https://github.com/sdirkwinkel
sdirkwinkelhttps://github.com/sdirkwinkel
on May 7, 2019https://github.com/coder/code-server/issues/529#issuecomment-490025440
#655https://github.com/coder/code-server/issues/655
https://code.visualstudio.com/docs/remote/faq#_why-arent-the-remote-development-extensions-or-their-components-open-sourcehttps://code.visualstudio.com/docs/remote/faq#_why-arent-the-remote-development-extensions-or-their-components-open-source
https://github.com/nhooyr
nhooyrhttps://github.com/nhooyr
on Jan 28, 2020https://github.com/coder/code-server/issues/529#issuecomment-579029008
coder/nbin#42https://github.com/coder/nbin/issues/42
nhooyrhttps://github.com/nhooyr
completedhttps://github.com/coder/code-server/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jan 28, 2020https://github.com/coder/code-server/issues/529#event-2983935612
Sign up for freehttps://github.com/signup?return_to=https://github.com/coder/code-server/issues/529
Sign in to commenthttps://github.com/login?return_to=https://github.com/coder/code-server/issues/529
bugSomething isn't workinghttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.