简体   繁体   English

尝试运行retabot.js

[英]Attempting to run retabot.js

All I get is the following: 我所得到的是以下内容:

module.js:540
throw err;
^

Error: Cannot find module 'C:\Users\Peter\Downloads\EasyChanBot\retabot.js'
at Function.Module._resolveFilename (module.js:538:15)
at Function.Module._load (module.js:468:25)
at Function.Module.runMain (module.js:684:10)
at startup (bootstrap_node.js:187:16)
at bootstrap_node.js:608:3

Any ideas? 有任何想法吗? Any help is greatly appreciated! 任何帮助是极大的赞赏!

The first line of the stack trace says 堆栈跟踪的第一行说

Error: Cannot find module 'C:\\Users\\Peter\\Downloads\\EasyChanBot\\retabot.js'

Check if the file retabot.js is in the directory and also check if you can open it. 检查文件retabot.js是否在目录中,并检查是否可以打开它。

除了DobromirM的答案,还请检查您是否正确引用了文件位置,可能使用诸如../folder/filename类的../folder/filename

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM