Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node.js 版本為 v18.14.0 時,安裝出現錯誤 #597

Open
gfhghfghfh opened this issue Feb 4, 2023 · 4 comments
Open

Node.js 版本為 v18.14.0 時,安裝出現錯誤 #597

gfhghfghfh opened this issue Feb 4, 2023 · 4 comments

Comments

@gfhghfghfh
Copy link

  • Version:
  • Interface:
  • Arguments:
@gfhghfghfh
Copy link
Author

gfhghfghfh commented Feb 4, 2023

image
下載 gh-updater 更新工具...
GitHub.updater.node.js: 29355 bytes.
下載並更新 CeJS 網路小說漫畫下載工具...
Read the latest version from cache file work_crawler-master.version.json
Get the infomation of latest version of work_crawler...
Already have the latest version: 2023-01-31T20:46:41Z
下載並更新 Colorless echo JavaScript kit (CeJS) 組件...
Read the latest version from cache file CeJS-master.version.json
Get the infomation of latest version of CeJS...
Already have the latest version: 2023-02-03T11:39:50Z
更新 OpenCC 中文繁簡體轉換工具...
更新執行時需要用到的組件 [electron-updater]...
update_using_npm: Running command at D:\ZAAA\work_crawler-master: npm update electron-updater@latest
npm ERR! code EUPDATEARGS
npm ERR! Update arguments must only contain package names, eg:
npm ERR! npm update electron-updater

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\b\AppData\Local\npm-cache_logs\2023-02-04T14_22_36_303Z-debug-0.log
node:child_process:960
throw err;
^

Error: Command failed: npm update electron-updater@latest
at checkExecSyncError (node:child_process:885:11)
at Object.execSync (node:child_process:957:15)
at update_using_npm (D:\ZAAA\work_crawler-master\GitHub.updater.node.js:110:27)
at Object.update_package (D:\ZAAA\work_crawler-master\GitHub.updater.node.js:146:2)
at update_dependencies (D:\ZAAA\work_crawler-master\work_crawler.updater.js:149:11)
at updater.update.fetch_opencc (D:\ZAAA\work_crawler-master\work_crawler.updater.js:122:4)
at prepare_to_callback (D:\ZAAA\work_crawler-master\GitHub.updater.node.js:920:5)
at finish (D:\ZAAA\work_crawler-master\GitHub.updater.node.js:866:3)
at download_opencc (D:\ZAAA\work_crawler-master\GitHub.updater.node.js:887:3) {
status: 1,
signal: null,
output: [ null, null, null ],
pid: 13864,
stdout: null,
stderr: null
}

Node.js v18.14.0

@gfhghfghfh
Copy link
Author

gfhghfghfh commented Feb 4, 2023

Node.js 版本為 v18.14.0 時
執行work_crawler.updater
出現圖中的錯誤
請問這是正常的嗎

@kanasimi
Copy link
Owner

kanasimi commented Feb 4, 2023

npm 版本更新了

@gfhghfghfh
Copy link
Author

不好意思
這邊想另外請教一下
這邊後來是裝回了舊版Node18.13.0
下方是安裝完的畫面

螢幕擷取畫面 2023-03-13 222653

所以如果使用圖形介面下載時
沒有遇到問題的話

就不需要再執行下方的指令嗎
npm audit fix --force

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants