vue版本的wpsjs运行wpsjs debug报错,用原生js版本的就没有问题,请问下该如何解决呢。
PS D:\Code\BiddingFileMakerWpsjs> wpsjs debug
配置D:\Program Files\WPS Office\11.1.0.15319\office6\cfgs/oem.ini失败,请尝试以管理员重新运行!!
Error: spawn EINVAL
at ChildProcess.spawn (node:internal/child_process:421:11)
at Object.spawn (node:child_process:761:9)
at DebugVue (C:\Users\aglsv\AppData\Roaming\nvm\v20.13.1\node_global\node_modules\wpsjs\src\lib\debug.js:143:7)
at C:\Users\aglsv\AppData\Roaming\nvm\v20.13.1\node_global\node_modules\wpsjs\src\lib\debug.js:122:41
at C:\Users\aglsv\AppData\Roaming\nvm\v20.13.1\node_global\node_modules\wpsjs\src\lib\debug.js:513:5
at C:\Users\aglsv\AppData\Roaming\nvm\v20.13.1\node_global\node_modules\wpsjs\src\lib\debug.js:504:3
at C:\Users\aglsv\AppData\Roaming\nvm\v20.13.1\node_global\node_modules\wpsjs\src\lib\debug.js:491:4
at ChildProcess.exithandler (node:child_process:414:7)
at ChildProcess.emit (node:events:519:28)
at maybeClose (node:internal/child_process:1105:16) {
errno: -4071,
code: 'EINVAL',
syscall: 'spawn'
}
配置D:\Program Files\WPS Office\11.1.0.15319\office6\cfgs/oem.ini失败,请尝试以管理员重新运行!!
powerShell是管理员打开的,没太明白为什么配置失败