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

Request failed with status code 500 #14

Open
qiqingfu opened this issue Sep 3, 2019 · 2 comments
Open

Request failed with status code 500 #14

qiqingfu opened this issue Sep 3, 2019 · 2 comments

Comments

@qiqingfu
Copy link

qiqingfu commented Sep 3, 2019

mock的接口报错了好像

@qianzhaoy
Copy link
Owner

启动mock了服务了嘛
mock数据是本地的 启动就不会报错

@cngkqy
Copy link

cngkqy commented Nov 27, 2019

//全局安装 json-server
npm install -g json-server
//启动mock后台服务
npm run mock
//启动网页服务
npm run serve

一定要按这个顺序执行

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

3 participants