Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for platforms openbsd and freebsd x64 LE #3047

Open
vtamara opened this issue Jun 4, 2024 · 0 comments
Open

Support for platforms openbsd and freebsd x64 LE #3047

vtamara opened this issue Jun 4, 2024 · 0 comments
Labels
Feature New feature or request

Comments

@vtamara
Copy link

vtamara commented Jun 4, 2024

From an OpenBSD/adJ 7.5 that runs node v18.19.1 running

doas npm install -g @bufbuild/buf

Produces

npm ERR! code 1                                                                                                                                                 
npm ERR! path /usr/local/lib/node_modules/@bufbuild/buf
npm ERR! command failed                                                         
npm ERR! command sh -c node ./install.js                                        
npm ERR! /usr/local/lib/node_modules/@bufbuild/buf/install.js:52                
npm ERR!     throw new Error(`Unsupported platform: ${platformKey}`);           
npm ERR!           ^                                                            
npm ERR!                                                                                                                                                        
npm ERR! Error: Unsupported platform: openbsd x64 LE                                                                                                            
npm ERR!     at pkgAndSubpathForCurrentPlatform (/usr/local/lib/node_modules/@bufbuild/buf/install.js:52:11)
npm ERR!     at checkAndPreparePackage (/usr/local/lib/node_modules/@bufbuild/buf/install.js:94:28)
npm ERR!     at checkAllBinaries (/usr/local/lib/node_modules/@bufbuild/buf/install.js:115:30)                                                                  
npm ERR!     at Object.<anonymous> (/usr/local/lib/node_modules/@bufbuild/buf/install.js:162:1)
npm ERR!     at Module._compile (node:internal/modules/cjs/loader:1356:14)
npm ERR!     at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)                                                                               
npm ERR!     at Module.load (node:internal/modules/cjs/loader:1197:32)                                                                                          
npm ERR!     at Module._load (node:internal/modules/cjs/loader:1013:12)
npm ERR!     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)                                                             
npm ERR!     at node:internal/main/run_main_module:28:49                        
npm ERR!                                
npm ERR! Node.js v18.19.1                                                                                                                                       
                                                                                
npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-06-04T19_36_10_559Z-debug-0.log
@doriable doriable added the Feature New feature or request label Jun 10, 2024
@bufdev bufdev changed the title Support for platform openbsd x64 LE Support for platforms openbsd and freebsd x64 LE Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants