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

devServer.js无法正常启动 #6

Open
pingan8787 opened this issue Dec 26, 2019 · 1 comment
Open

devServer.js无法正常启动 #6

pingan8787 opened this issue Dec 26, 2019 · 1 comment

Comments

@pingan8787
Copy link

1. 操作流程:

npm i
npm start

出现服务无法正常启动,像下面这样卡住。
image

2. 尝试解决

查看了下issues上的问题,在 devServer.js 中做修改:

- app.use(KoaStatic(path.join(__dirname, '../')), {
+ app.use(KoaStatic(path.join(__dirname, './')), {
    maxAge: 365 * 24 * 60 * 60
});

然后服务正常启动,index.html 正常访问。

不知道是否只有我会出现这个问题,还是其他人也会?

@jiang-24-gdufs
Copy link

改了也不行, tracker.min.js还是没有加载, 我最后build之后看效果的

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

2 participants