Skip to content

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

Open
@coding-climber

Description

@coding-climber

问题描述: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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions