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

我用midway-init test 初始化了一个项目,用npm start 启动访问的时候报错。 #120

Closed
arden opened this issue Jan 21, 2019 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@arden
Copy link

arden commented Jan 21, 2019

我用midway-init test 初始化了一个项目,用npm start 启动访问的时候报错,Internal Server Error, real status: 500,但是我用npm run dev 启动访问的时候就是正常的,就是简单的初始化了一个项目而已,什么事情都没做。

@czy88840616
Copy link
Member

start 走的是线上部署的模式,你需要先在本地或者服务器端构建 (执行 npm run build)

@czy88840616 czy88840616 added the help wanted Extra attention is needed label Jan 21, 2019
@zhump
Copy link

zhump commented Feb 17, 2019

npm run build 会报错
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Development

No branches or pull requests

3 participants