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

请教一个问题 #6

Open
myisclq opened this issue Feb 1, 2018 · 1 comment
Open

请教一个问题 #6

myisclq opened this issue Feb 1, 2018 · 1 comment

Comments

@myisclq
Copy link

myisclq commented Feb 1, 2018

运行 npm run dev
报如下的错误
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "F:\vs\2017\Professional\Web\External\Node.exe" "F:\vs\201
7\Professional\Web\External\node_modules\npm\bin\npm-cli.js" "run" "dev"
npm ERR! node v5.4.1
npm ERR! npm v3.3.4
npm ERR! code ELIFECYCLE
npm ERR! [email protected] dev: node build/dev-server.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] dev script 'node build/dev-server.js'.
npm ERR! This is most likely a problem with the litadmin package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node build/dev-server.js
npm ERR! You can get their info via:
npm ERR! npm owner ls litadmin
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\李庆\Downloads\LitAdmin-master\npm-debug.log

@yxy9022
Copy link
Owner

yxy9022 commented May 7, 2018

启动服务端
(1)新开一个命令行窗口
(2)定位到项目中的server目录并安装依赖

cd 你自己的位置/LitAdmin/server
npm install
(3)依赖安装成功后执行启动命令
npm start

显示如下内容说明服务端启动成功

Server is runing... Listening on port 3000

Listening at http://localhost:3000

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