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

Bug: What happen #1397

Open
onepunya opened this issue May 12, 2024 · 1 comment
Open

Bug: What happen #1397

onepunya opened this issue May 12, 2024 · 1 comment
Labels
bug BUG env specific 特定环境限定问题 has solution 已存在解决办法

Comments

@onepunya
Copy link

Describe the bug

/home/container/node_modules/@koishijs/loader/lib/index.js:50
static {
^

SyntaxError: Unexpected token '{'
at wrapSafe (internal/modules/cjs/loader.js:1029:16)
at Module._compile (internal/modules/cjs/loader.js:1078:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10)
at Module.load (internal/modules/cjs/loader.js:979:32)
at Function.Module._load (internal/modules/cjs/loader.js:819:12)
at Module.require (internal/modules/cjs/loader.js:1003:19)
at require (internal/modules/cjs/helpers.js:107:18)
at Object. (/home/container/node_modules/koishi/lib/index.cjs:36:29)
at Module._compile (internal/modules/cjs/loader.js:1114:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10)

Steps to reproduce

P

Expected behavior

Help

Screenshots

P

Versions

  • OS:
  • Platform:
  • Node version:
  • Koishi version:

Additional context

Is there any problem?

@onepunya onepunya added the bug BUG label May 12, 2024
@shigma
Copy link
Member

shigma commented May 12, 2024

Please upgrade your node.js version.

https://nodejs.org/en

@shigma shigma added has solution 已存在解决办法 env specific 特定环境限定问题 labels May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug BUG env specific 特定环境限定问题 has solution 已存在解决办法
Projects
None yet
Development

No branches or pull requests

2 participants