Open Mtoly opened 1 year ago
使用debian打包x64客户端后安装运行提示 打包期间有三个错误提示 WARNING Compiled with 3 warnings 2:24:56 PM
warning in ./node_modules/NeteaseCloudMusicApi/server.js
Critical dependency: the request of a dependency is an expression
warning in ./node_modules/discord-rpc/node_modules/ws/lib/buffer-util.js
Module not found: Error: Can't resolve 'bufferutil' in '/www/wwwroot/ymc-built/node_modules/discord-rpc/node_modules/ws/lib'
warning in ./node_modules/discord-rpc/node_modules/ws/lib/validation.js
Module not found: Error: Can't resolve 'utf-8-validate' in '/www/wwwroot/ymc-built/node_modules/discord-rpc/node_modules/ws/lib' 我应该如何排除错误
windows用yarn electron:build --windows nsis:ia32打包也会报这个错,用package.json里的命令打包就没问题
使用debian打包x64客户端后安装运行提示 打包期间有三个错误提示 WARNING Compiled with 3 warnings 2:24:56 PM
warning in ./node_modules/NeteaseCloudMusicApi/server.js
Critical dependency: the request of a dependency is an expression
warning in ./node_modules/discord-rpc/node_modules/ws/lib/buffer-util.js
Module not found: Error: Can't resolve 'bufferutil' in '/www/wwwroot/ymc-built/node_modules/discord-rpc/node_modules/ws/lib'
warning in ./node_modules/discord-rpc/node_modules/ws/lib/validation.js
Module not found: Error: Can't resolve 'utf-8-validate' in '/www/wwwroot/ymc-built/node_modules/discord-rpc/node_modules/ws/lib' 我应该如何排除错误