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

按照项目中的操作指引无法正常运行。 #12

Open
CTCSU opened this issue Jan 21, 2023 · 0 comments
Open

按照项目中的操作指引无法正常运行。 #12

CTCSU opened this issue Jan 21, 2023 · 0 comments

Comments

@CTCSU
Copy link

CTCSU commented Jan 21, 2023

按Readme 中的运行指南:

# 克隆项目
git clone https://github.com/Neveryu/vue-cms.git

# 进入项目
cd vue-cms

# install dependencies
yarn install --registry https://registry.npm.taobao.org

// or
# 建议不要用 cnpm 安装 会有各种诡异的bug 可以通过如下操作解决 npm 下载速度慢的问题
npm install --registry=https://registry.npm.taobao.org

# serve with hot reload at localhost:8080
npm start

无法正常运行

使用node 版本为12.2.0

尝试解决方案:

  1. node 版本不对=>切换node 版本到12.2.0, yarn 命令可以正常运行
  2. npm start 启动报错没有该命令 => 尝试使用npm run serve,console log 提示localhost:3000 已监听,但是不是管理界面
  3. 尝试运行npm run 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

1 participant