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

SyntaxError: missing ) after argument list #814

Open
joywek opened this issue Apr 3, 2024 · 1 comment
Open

SyntaxError: missing ) after argument list #814

joywek opened this issue Apr 3, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@joywek
Copy link

joywek commented Apr 3, 2024

卸载并重新安装了 @serverless-devs/s,运行 s 命令时报以下错误:

# s -v
/usr/local/lib/node_modules/@serverless-devs/s/bin/s:2
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
          ^^^^^^^

SyntaxError: missing ) after argument list
    at internalCompileFunction (node:internal/vm:73:18)
    at wrapSafe (node:internal/modules/cjs/loader:1176:20)
    at Module._compile (node:internal/modules/cjs/loader:1218:27)
    at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
    at Module.load (node:internal/modules/cjs/loader:1117:32)
    at Module._load (node:internal/modules/cjs/loader:958:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:23:47

Node.js v18.16.0
@joywek joywek added the bug Something isn't working label Apr 3, 2024
@zxypro1
Copy link
Collaborator

zxypro1 commented Apr 8, 2024

尝试新开一个终端窗口试一下?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants