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

A JavaScript error occurred in the main process #96

Closed
Jumbo-WJB opened this issue Aug 28, 2018 · 8 comments
Closed

A JavaScript error occurred in the main process #96

Jumbo-WJB opened this issue Aug 28, 2018 · 8 comments

Comments

@Jumbo-WJB
Copy link

环境:mac
版本:AntSword v2.0.0
启动方式:源码启动、加载器启动、npm start都不行,老版本没问题
报错:

A JavaScript error occurred in the main process
Uncaught Exception:
TypeError: Path must be a string. Received undefined
    at assertPath (path.js:7:11)
    at Object.join (path.js:1213:7)
    at new Conf (/Users/w/Downloads/antSword/modules/config.js:24:26)
    at Object.<anonymous> (/Users/w/Downloads/antSword/modules/config.js:94:18)
    at Module._compile (module.js:556:32)
    at Object.Module._extensions..js (module.js:565:10)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Module.require (module.js:483:17)
@Medicean
Copy link
Collaborator

参考最下方:

https://doc.u0u.us/zh-hans/getting_started/get_antsword.html

@Jumbo-WJB
Copy link
Author

@Medicean 试过了,启动方式:源码启动、加载器启动、npm start都不行,老版本没问题里面的源码启动就是这个意思,直接clone下来,然后加载器选择相关目录不可行,也报错

@Jumbo-WJB
Copy link
Author

image
是我的权限问题吗

@Jumbo-WJB
Copy link
Author

没问题了,可以关闭了,谢谢!

@Wh0ale
Copy link

Wh0ale commented Dec 27, 2018

我也遇到了 表哥是怎么解决的呀

@Medicean
Copy link
Collaborator

@Wh0ale 按照文档一步一步走

@PuPp1T
Copy link

PuPp1T commented Nov 24, 2022

@Wh0ale 按照文档一步一步走

参考最下方:

https://doc.u0u.us/zh-hans/getting_started/get_antsword.html

文档打不开了哇师傅

@Medicean
Copy link
Collaborator

@Wh0ale 按照文档一步一步走

参考最下方:
https://doc.u0u.us/zh-hans/getting_started/get_antsword.html

文档打不开了哇师傅

文档已经全面更换为 yuque

https://www.yuque.com/antswordproject/antsword

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants