gshang2017 / docker

Synology nas docker
583 stars 108 forks source link

x86的qnap上无法启动johngong/baidunetdisk #92

Closed cikichen closed 2 years ago

cikichen commented 2 years ago
[app] starting Baidunetdisk...
(node:837) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
browser engine version: 1.0.2.11
(node:1035) Warning: require() of ES modules is not supported.
require() of /opt/baidunetdisk/resources/app.asar/node_modules/@baidu/disk-ee/lib/index.min.js from /opt/baidunetdisk/resources/app.asar/dist/electron/index.html is an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which defines all .js files in that package scope as ES modules.
Instead rename index.min.js to end in .cjs, change the requiring code to use import(), or remove "type": "module" from /opt/baidunetdisk/resources/app.asar/node_modules/@baidu/disk-ee/package.json.
gshang2017 commented 2 years ago

你可以试下旧版的,例如 docker pull johngong/baidunetdisk:v_3.5.0。

cikichen commented 2 years ago

你可以试下旧版的,例如 docker pull johngong/baidunetdisk:v_3.5.0。

感谢,3.5.0可用