reisxd / revanced-builder

A NodeJS ReVanced builder
GNU General Public License v3.0
1.93k stars 172 forks source link

Failure to patch Instagram on macos #651

Closed nixbitpie closed 1 year ago

nixbitpie commented 1 year ago

Describe the bug

[builder] An error occured.
TypeError: Invalid Version: 271.0.043
    at new SemVer (/snapshot/revanced-builder/node_modules/semver/classes/semver.js:38:13)
    at compare (/snapshot/revanced-builder/node_modules/semver/functions/compare.js:3:3)
    at Object.lt (/snapshot/revanced-builder/node_modules/semver/functions/lt.js:2:29)
    at /snapshot/revanced-builder/wsEvents/getAppVersion.js:155:14
    at Array.sort (<anonymous>)
    at getAppVersion (/snapshot/revanced-builder/wsEvents/getAppVersion.js:154:17)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async WebSocket.<anonymous> (/snapshot/revanced-builder/index.js:199:9)

To Reproduce

  1. Select Instagram
  2. Select Patches to include
  3. Click continue
  4. See error

**revanced-builder Version: 3.8.0

Desktop (please complete the following information):