bramus / caniuse-cli

Command line tool for “Can I Use …” and MDN Browser Compat Data
MIT License
203 stars 2 forks source link

Autocomplete ends in error message #9

Closed dzschille closed 2 months ago

dzschille commented 2 months ago

In Ubuntu 24.04 with zsh and Node.js v21.1.0 i write "caniuse view" and hit the tab key for autocomplete. Then this error appears:

/home/user/.nvm/versions/node/v21.1.0/lib/node_modules/@bramus/caniuse-cli/index.js:455
    if (firefox_id.length > 0) {

TypeError: Cannot read properties of undefined (reading 'length')

Firefox 130.0-2 is installed as snap package.