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

为啥我再vscode上运行会显示 #31

Closed
2 of 3 tasks
Xuzan9396 opened this issue Jul 17, 2023 · 8 comments
Closed
2 of 3 tasks

为啥我再vscode上运行会显示 #31

Xuzan9396 opened this issue Jul 17, 2023 · 8 comments
Labels
bug Something isn't working

Comments

@Xuzan9396
Copy link

在此之前...

  • 我已经搜索了现有的issues
  • 我在提问题之前至少花费了5分钟来思考和准备
  • 我正在使用最新版的NIKKE-scripts,否则请在下文中说明使用的版本

问题描述

为啥我再vscode上运行会显示 Error: Can't resolve relative module ID "./utils.js",这个是怎么运行的,我单个文件没问题

如何复现

No response

相关日志

module (/android_asset/modules/jvm-npm.js#87)
Error: Can't resolve relative module ID "./utils.js" when require() is used outside of a module
at Require (/android_asset/modules/jvm-npm.js:87:0)
at [remote]0点日常.js:2:0

14:25:15.680/V:

出错截图

No response

其他内容

No response

@Xuzan9396 Xuzan9396 added the bug Something isn't working label Jul 17, 2023
@Xuzan9396
Copy link
Author

我是在vscode ,运行的 0点日常.js ,然后报错

@Zebartin
Copy link
Owner

需要把依赖到的文件比如utils.js也放到手机autox脚本目录里

@Zebartin
Copy link
Owner

0点日常.js只是我用来签到米游社的,如果你想要的是nikke的脚本,可以看一下NIKKE目录下的README

@Xuzan9396
Copy link
Author

好的谢谢

@Xuzan9396
Copy link
Author

@Zebartin 楼主大大,我想问下,有什么调试的工具吗,比如显示这个按钮对应的控件,和图片采集颜色等,我是mac 上开发

@Xuzan9396
Copy link
Author

能可视化看这些控件 ,例如以前玩的appium等

@Zebartin
Copy link
Owner

autox应用内自带布局查看功能,其他调试工具你可以去找他们的群组问问

@Xuzan9396
Copy link
Author

好的,谢了

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

2 participants