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的ES6语法 #2322

Closed
xiaohuacc opened this issue Apr 2, 2024 · 2 comments
Closed

node的ES6语法 #2322

xiaohuacc opened this issue Apr 2, 2024 · 2 comments

Comments

@xiaohuacc
Copy link

Qinglong version

2.17.3

Steps to reproduce

青龙面板如何使用nodejs的ES6语法,node脚本import导入依赖运行报错,并没有找到修改package.json文件。

What is expected?

What is actually happening?

System Info

No response

Any additional comments?

No response

@catlair
Copy link
Contributor

catlair commented Apr 4, 2024

是import?可以把后缀js改为mjs

@whyour
Copy link
Owner

whyour commented Apr 26, 2024

后缀可以改成 ts

@whyour whyour closed this as completed May 15, 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