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

npm install 安装依赖报错问题解决 #124

Open
coding-climber opened this issue Oct 8, 2024 · 0 comments
Open

npm install 安装依赖报错问题解决 #124

coding-climber opened this issue Oct 8, 2024 · 0 comments

Comments

@coding-climber
Copy link

问题描述:npm install时候一直报错,依赖无法安装成功。

主要问题:主要问题集中在vue-class-component和vuex的版本上。

问题解决:

  1. node版本用14,鄙人用的是14.16.0
  2. 修改package.json文件:
  • vue-class-componen版本号为7.2.6
  • vuex的版本号改为4.0.0
    image
    image
  1. 运行命令
    npm install
    npm start
  2. 运行结果:
    登录页:
    image
    首页:
    image
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