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

包含node低版本不支持语法,低版本node直接运行会报错 #96

Closed
fish-jade opened this issue May 29, 2024 · 3 comments
Closed

Comments

@fish-jade
Copy link

const traceId = ctx.tracer?.traceId || '-';

@fish-jade fish-jade changed the title 包含typescript语法,node直接运行会报错 包含node低版本不支持语法,低版本node直接运行会报错 May 29, 2024
@fengmk2
Copy link
Member

fengmk2 commented May 29, 2024

https://github.com/eggjs/egg-logger/blob/master/package.json#L52 请升级到 node 14 最新版本

@bloody-ux
Copy link

const traceId = ctx.tracer?.traceId || '-';

+1

@fengmk2
Copy link
Member

fengmk2 commented Jun 11, 2024

https://github.com/eggjs/egg-logger/blob/master/package.json#L52 请升级到 node 14 最新版本

@fengmk2 fengmk2 closed this as completed Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants