fex-team / fis3

FIS3
http://fis.baidu.com
BSD 2-Clause "Simplified" License
2.79k stars 693 forks source link

不兼容高版本 node #1336

Open heibaige123 opened 1 year ago

heibaige123 commented 1 year ago

[2023-07-17 12:20:20] node:internal/fs/utils:901 [2023-07-17 12:20:20] throw new ERR_INVALID_ARG_TYPE( [2023-07-17 12:20:20] ^ [2023-07-17 12:20:20] [2023-07-17 12:20:20] TypeError [ERR_INVALID_ARGTYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined [2023-07-17 12:20:20] at Object.writeFileSync (node:fs:2239:5) [2023-07-17 12:20:20] at .write (/root/ONLINE_SERVICE/other/ferry/task_workspace/baidu/image-fe/pcmediacy/node_modules/fis3/lib/util.js:733:8) [2023-07-17 12:20:20] at F.save (/root/ONLINE_SERVICE/other/ferry/task_workspace/baidu/image-fe/pcmediacy/node_modules/fis3/lib/cache.js:45:14) [2023-07-17 12:20:20] at /root/ONLINE_SERVICE/other/ferry/task_workspace/baidu/image-fe/pcmediacy/node_modules/fis3-command-release/index.js:62:15 [2023-07-17 12:20:20] at wrapped (/root/ONLINE_SERVICE/other/ferry/task_workspace/baidu/image-fe/pcmediacy/node_modules/fis3-command-release/lib/chains.js:30:58) [2023-07-17 12:20:20] at Object.run (/root/ONLINE_SERVICE/other/ferry/task_workspace/baidu/image-fe/pcmediacy/node_modules/fis3-command-release/lib/chains.js:39:9) [2023-07-17 12:20:20] at exports.run (/root/ONLINE_SERVICE/other/ferry/task_workspace/baidu/image-fe/pcmediacy/node_modules/fis3-command-release/index.js:114:7) [2023-07-17 12:20:20] at cli.run (/root/ONLINE_SERVICE/other/ferry/task_workspace/baidu/image-fe/pcmediacy/node_modules/fis3/lib/cli.js:259:11) [2023-07-17 12:20:20] at Liftoff. (/root/ONLINE_SERVICE/other/ferry/task_workspace/baidu/image-fe/pcmediacy/node_modules/fis3/bin/fis.js:36:11) [2023-07-17 12:20:20] at Liftoff. (/root/ONLINE_SERVICE/other/ferry/task_workspace/baidu/image-fe/pcmediacy/node_modules/liftoff/index.js:197:12) { [2023-07-17 12:20:20] code: 'ERR_INVALID_ARG_TYPE' [2023-07-17 12:20:20] }

FanFanFantastic commented 1 year ago

node 12 我的也崩了

nice2meu commented 1 year ago

邮件已收到 我会尽快给您回复 thks

ajiho commented 9 months ago

node - v18.14.2 崩了

bugkiwi commented 9 months ago

兼容了下,大家可以用这个:fis3@3.5.0-beta.4,node20验证通过