fis3 icon indicating copy to clipboard operation
fis3 copied to clipboard

不兼容高版本 node

Open heibaige123 opened this issue 2 years ago • 4 comments

[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_ARG_TYPE]: 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] }

heibaige123 avatar Jul 17 '23 14:07 heibaige123

node 12 我的也崩了

FanFanFantastic avatar Sep 07 '23 03:09 FanFanFantastic

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

nice2meu avatar Sep 07 '23 03:09 nice2meu

node - v18.14.2 崩了

ajiho avatar Nov 14 '23 05:11 ajiho

兼容了下,大家可以用这个:[email protected],node20验证通过

bugkiwi avatar Nov 24 '23 03:11 bugkiwi