首页 > 系统相关 >qq音乐linux报错

qq音乐linux报错

时间:2023-03-20 10:34:28浏览次数:42  
标签:qq node rejection handled linux electron promise 11578 报错

错误如下:

./qqmusic-1.1.5.AppImage 
(electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently "false".  It will change to be "true" in Electron 9.  For more information please check https://github.com/electron/electron/issues/18397
(node:11578) UnhandledPromiseRejectionWarning: undefined
(node:11578) UnhandledPromiseRejectionWarning: undefined
(node:11578) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:11578) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:11578) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:11578) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
login refresh fail
(node:11578) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 1)
(node:11578) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 1)
(electron) 'setUserAgent function' is deprecated and will be removed. Please use 'userAgent property' instead.
[11578:0320/100901.906890:FATAL:gpu_data_manager_impl_private.cc(1034)] The display compositor is frequently crashing. Goodbye.
[1]    11578 trace trap (core dumped)  ./qqmusic-1.1.5.AppImage

启动的时候加入 --no-sandbox即可,但是每次都用命令行启动比较麻烦
这里添加一个desktop文件到/usr/share/applications

[Desktop Entry]
Name=QQMusic
Exec=/usr/bin/qqmusic-1.1.5.AppImage --no-sandbox
Terminal=false
Type=Application
Icon=/usr/share/icons/Adwaita/512x512/mimetypes/audio-x-generic.png
Categories=Network;
Comment=QQMusic

标签:qq,node,rejection,handled,linux,electron,promise,11578,报错
From: https://www.cnblogs.com/feipeng8848/p/17235403.html

相关文章

  • linux服务器时间不准确
    Linux计算机系统有两个时钟,一个是BIOS,或者CMOS,或者说“硬件时钟”,还有一个就是“系统(操作系统)时钟”,平时电脑显示的是系统时钟,就会产生这个问题。date//查看当前的linux......
  • C# - sql执行结果转对象报错(Object must implement IConvertible.)
    ObjectmustimplementIConvertible.对象必须实现IConvertible。sql执行结果中存在GUID的值,但对象对应字段为String,在Dapper中会报错:ObjectmustimplementIConvertibl......
  • Linux操作系统中命令行方式获取文件完整路径
    1、 whereis whereis命令用于搜索给定命令的二进制、源码和手册页文件,不能搜索普通文件(whereis可以列出命令、源文件和帮助文档的位置) 2、 which which返回在终......
  • linux下时间戳的转换
    thenumberofsecondssincetheUNIXepoch#date-d(--date)+%s格式为秒$date-d"Aug19:02"+%s$date-d'2022-01-0112:00'Sat01Jan202212:00:00PM......
  • Linux crontab定时任务设置方法
    一、命令crontab-l表示列出所有的定时任务crontab-r表示删除用户的定时任务,当执行此命令后,所有用户下面的定时任务会被删除,执行crontab-l后会提示用户:nocrontabf......
  • petalinux创建及工程配置
    2023-03-1921:56:47下载petalinux安装包petalinux_2022下载download用于离线编译downloads_2022sstate下载这个部分不容易在线失败,跳过库安装sudoapt-getinst......
  • vscode中使用#include<bits/stdc++.h>报错,已解决.
    最近使用vscode写c++代码时,使用万能头文件#include<bits/stdc++.h>居然报错了。在网上查找资料时,看到一个大佬的评论,最终顺利解决。方案如下:将鼠标停留在错误波浪线处,点......
  • linux释放内存空间
    释放内存前先使用sync命令做同步,以确保文件系统的完整性,将所有未写的系统缓冲区写到磁盘中,包含已修改的i-node、已延迟的块I/O和读写映射文件。否则在释放缓存的过程中,可......
  • Linux释放SWAP空间
    swap的概述swap的作用可简单描述为:当内存不够用时,将存储器中的数据块从DRAM移到swap的磁盘空间中,以释放更多的空间给当前进程使用。当再次需要那些数据时,就可以将swap磁盘中......
  • Linux Debian11安装VirtualBox虚拟机平台
    一、VirtualBox虚拟机简介VirtualBox是一款开源虚拟机软件。VirtualBox是由德国Innotek公司开发,由SunMicrosystems公司出品的软件,使用Qt编写,在Sun被Oracle收购后......