GithubHelp home page GithubHelp logo

Comments (3)

yxf14789632 avatar yxf14789632 commented on May 30, 2024 1

npm install @ant-design/[email protected] 就可以解决了,不用改别的

from react-ant-admin.

chenchifeng avatar chenchifeng commented on May 30, 2024

npm install去安装就可以了.

这个你应该是用了yarn来安装吧,我今天也是遇到同样的问题了,然后后面发现是typescript版本的问题.
这里的typescript版本比较低,然后用yarn安装的时候没有lock版本信息,然后有些依赖安装了新版的,而typescript是旧版的,所以就报错跑不起来了.
我试过把typescript的版本给升了,但是发现这里面有些依赖又是旧版的,然后又报了其他的错.
最后直接用npm install去安装,里面有npm的依赖版本锁文件,然后安装的就是正确版本的依赖,然后就跑起来了.

from react-ant-admin.

chengzhenguo1 avatar chengzhenguo1 commented on May 30, 2024

npm 安装@Ant设计/[email protected] 件,分期分批分批

感谢,已经能跑了

from react-ant-admin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.