求助serv00 pm2装不上

bash <(curl -s https://raw.githubusercontent.com/k0baya/alist_repl/main/serv00/install-pm2.sh)
npm error config prefix cannot be changed from project config: /usr/home/linuxdoc/.npmrc.

这咋办呢,我把脚本下载下来传上去运行就一直这样
image

1 个赞

pm2似乎被serv00薄纱

帮顶

用第二个服务器 SSH Serv00 登录 ,
用Tmux 搁那 放 一夜 ,第二天醒来 就有了 嗯

我的也不行

就是 慢

你等等十几分钟(看视频等的),就会发现,还是装不了,系统会try20次,然后显示give up

过几天再登,以及脚本如果没有报错并终止,就一直等待,可能等15到20分钟都是正常的

对的

stop 然后 rm -rf .npm*
在运行

bash <(curl -s https://raw.githubusercontent.com/k0baya/alist_repl/main/serv00/install-pm2.sh)

什么时候注册的号 今天注册的明天再试 或者试试我的脚本

bash <(curl -s https://raw.githubusercontent.com/Shadownc/serv00-sh/main/install-pm2.sh)

我试试,mark一下

建议不用PM2,用简易的shell脚本:

#!/bin/bash

# Define process name and start command
PROCESS_NAME="command"
START_COMMAND="/path/to/your/command"

# Check if the process is running
if ! pgrep -f "$PROCESS_NAME" > /dev/null
then
    echo "Process $PROCESS_NAME is not running, starting it now..."
    # Start the process
    $START_COMMAND &
    if [ $? -eq 0 ]; then
        echo "Process $PROCESS_NAME started successfully."
    else
        echo "Failed to start process $PROCESS_NAME."
    fi
else
    echo "Process $PROCESS_NAME is already running."
fi
1 个赞

我等一小时了……还是这样

几天之前注册的了

我也是、晚点再看看

用你的脚本出Installing了,感谢大佬

用pm2+青龙面板保活应该还行吧

装上就成 时快时慢的也是 哈哈

佬,还是不行

bash <(curl -s https://raw.githubusercontent.com/Shadownc/serv00-sh/main/install-pm2.sh)
npm error config prefix cannot be changed from project config: /usr/home/xshang/.npmrc.
npm error config prefix cannot be changed from project config: /usr/home/xshang/.npmrc.
Setting npm registry to CNPM mirror for faster installation...
npm error config prefix cannot be changed from project config: /usr/home/xshang/.npmrc.
Installing pm2. This may take a few moments...

added 138 packages in 10m
\ Installing... (Press Ctrl+C to cancel)
Failed to install pm2. Please check your permissions and try again.