whyour / qinglong

支持 Python3、JavaScript、Shell、Typescript 的定时任务管理平台(Timed task management platform supporting Python3, JavaScript, Shell, Typescript)
https://qinglong.online
Apache License 2.0
16.37k stars 2.99k forks source link

npm安装报错 #2447

Closed 88484396 closed 4 months ago

88484396 commented 4 months ago

Qinglong version

最新

Steps to reproduce

npm安装,最后一步qinglong的时候,报错然后停止安装了: nginx: [emerg] invalid number of arguments in "listen" directive in /etc/nginx/conf.d/front.conf:19 没有别的操作,就npm换源了

What is expected?

.

What is actually happening?

.

System Info

最后一段:
+ pm2 l
+ echo -e '======================2. 安装依赖========================\n'
======================2. 安装依赖========================

+ patch_version
+ git config --global pull.rebase false
+ [[ -f /usr/lib/node_modules/@whyour/qinglong/db/cookie.db ]]
+ [[ -d /usr/lib/node_modules/@whyour/qinglong/db ]]
+ [[ -d /usr/lib/node_modules/@whyour/qinglong/scripts ]]
+ [[ -d /usr/lib/node_modules/@whyour/qinglong/log ]]
+ [[ -d /usr/lib/node_modules/@whyour/qinglong/config ]]
+ echo -e '======================3. 启动nginx========================\n'
======================3. 启动nginx========================

+ nginx -s reload
+ nginx -c /etc/nginx/nginx.conf
nginx: [emerg] invalid number of arguments in "listen" directive in /etc/nginx/conf.d/front.conf:19

Any additional comments?

No response

whyour commented 4 months ago

更新 @whyour/qinglong@2.17.9-rc.2 版本已修复

88484396 commented 4 months ago

感谢大佬

88484396 commented 4 months ago

更新 @whyour/qinglong@2.17.9-rc.2 版本已修复 npm install -gf @whyour/qinglong,之后还是报错啊

whyour commented 4 months ago

@88484396 看你更新后的版本变了没有,要使用官方源