Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

ssr-config(1) does not exist, try --help #15

Closed
DrayChou opened this issue Mar 5, 2018 · 7 comments
Closed

ssr-config(1) does not exist, try --help #15

DrayChou opened this issue Mar 5, 2018 · 7 comments
Labels

Comments

@DrayChou
Copy link

DrayChou commented Mar 5, 2018

在树莓派上执行的时候提示下面的内容。

pi@raspberrypi:/usr/local/bin $ node -v
v8.9.4
pi@raspberrypi:/usr/local/bin $ npm -v
5.6.0
pi@raspberrypi:/usr/local/bin $ ssr -V
v1.1.0
pi@raspberrypi:/usr/local/bin $ ssr config /srv/approot/shadowsocksr/

  ssr-config(1) does not exist, try --help

pi@raspberrypi:/usr/local/bin $ ssr status

  ssr-status(1) does not exist, try --help

pi@raspberrypi:/usr/local/bin $ uname -m
armv6l
@noahziheng
Copy link
Owner

未能复现,建议检查 Node.js 版本

@jizusun
Copy link

jizusun commented Feb 1, 2019

我这边也有这个问题,需要什么 Node.js 版本呢?

➜  bin node -v
v10.14.2
➜  bin ssr -V
v1.1.2
➜  bin ssr status
error: ssr-status(1) does not exist, try --help
➜  bin ssr config
error: ssr-config(1) does not exist, try --help
➜  bin lsb_release -a
LSB Version:    core-9.20160110ubuntu0.2-amd64:core-9.20160110ubuntu0.2-noarch:security-9.20160110ubuntu0.2-amd64:security-9.20160110ubuntu0.2-noarch
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.5 LTS
Release:        16.04
Codename:       xenial

@noahziheng
Copy link
Owner

@jizusun
理论上,v6 以上支持 ES6 就可以,你这前面的 bin 是提示符还是什么?

@noahziheng noahziheng reopened this Feb 1, 2019
@jizusun
Copy link

jizusun commented Feb 1, 2019

哦,bin是当前路径 😸

Installing with yarn global add ssr-helper can reproduce this issue,
while installing with npm i -g ssr-helper will work without any problem.

Seems an upstream issue: tj/commander.js#786

@noahziheng noahziheng added the bug label Feb 1, 2019
@noahziheng
Copy link
Owner

感觉是上游的锅,先用 npm 装用着吧,观察一下先

@zhangnew
Copy link

zhangnew commented Mar 7, 2019

yarn 安装后确实不行,建议先修改一下 README

@noahziheng
Copy link
Owner

yarn 安装后确实不行,建议先修改一下 README

👌

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

No branches or pull requests

4 participants