Skip to content

Support for platforms openbsd and freebsd x64 LE #3047

Open
@vtamara

Description

@vtamara

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions