powercord-org / powercord

A lightweight @discord client mod focused on simplicity and performance.
MIT License
1.2k stars 147 forks source link

Powercord doesn't launch (JS error) #618

Closed kujonello79 closed 2 years ago

kujonello79 commented 2 years ago

Describe the bug Powercord doesn't work when installed on Arch Linux and distros based on it from AUR.

To Reproduce Steps to reproduce the behavior: Install from AUR Run with command powercord

Expected behavior Powercord launches without any errors.

Desktop (please complete the following information):

Additional context

Add any other context about the problem here.

Full logs:   ~ ❯ powercord Hello from Powercord! Loading Discord DiscordCanary 0.0.133

(electron:5393): Gtk-WARNING **: 17:07:35.989: Theme parsing error: gtk-widgets.css:1126:11: 'max-height' is not a valid property name Starting app. Starting updater. [Modules] Modules initializing [Modules] Distribution: remote [Modules] Host updates: enabled [Modules] Module updates: enabled [Modules] Module install path: /home/kujonello/.config/discordcanary/0.0.133/modules [Modules] Module installed file path: /home/kujonello/.config/discordcanary/0.0.133/modules/installed.json [Modules] Module download path: /home/kujonello/.config/discordcanary/0.0.133/modules/pending file:///usr/lib/discord-canary/app.asar/appbootstrap/splash/index.html [Modules] No updates to install [Modules] Checking for host updates. [Modules] Host is up to date. [Modules] Checking for module updates at https://discord.com/api/modules/canary/versions.json [Modules] No module updates available. Module ./ElectronTestRpc was not included. https://canary.discord.com/app?=1645200456555 Uncaught exception: TypeError: Cannot read property 'isEncryptionAvailable' of undefined at IpcMainImpl. (/home/kujonello/.config/discordcanary/0.0.133/modules/discord_desktop_core/core.asar/app/discord_native/browser/safeStorage.js:12:44) at IpcMainImpl.emit (events.js:315:20) at IpcMainImpl.EventEmitter.emit (domain.js:467:12) at Object. (electron/js2c/browser_init.js:161:10307) at Object.emit (events.js:315:20) at Object.EventEmitter.emit (domain.js:467:12) TypeError: Cannot read property 'isEncryptionAvailable' of undefined at IpcMainImpl. (/home/kujonello/.config/discordcanary/0.0.133/modules/discord_desktop_core/core.asar/app/discord_native/browser/safeStorage.js:12:44) at IpcMainImpl.emit (events.js:315:20) at IpcMainImpl.EventEmitter.emit (domain.js:467:12) at Object. (electron/js2c/browser_init.js:161:10307) at Object.emit (events.js:315:20) at Object.EventEmitter.emit (domain.js:467:12)

kujonello79 commented 2 years ago

Btw just installed

cyyynthia commented 2 years ago

AUR packages are not official, and unsupported by us. The only official means of installing Powercord on Arch is on the discord-canary package and via manual install documented at https://powercord.dev/installation.