GithubHelp home page GithubHelp logo

跑不起来,报错 about react-bilibili HOT 9 CLOSED

dxx avatar dxx commented on June 15, 2024
跑不起来,报错

from react-bilibili.

Comments (9)

dxx avatar dxx commented on June 15, 2024

有可能是 npm install 后依赖包的版本问题,对比看下 package-lock.json 中对应的版本。

from react-bilibili.

i-am-zhengyufang avatar i-am-zhengyufang commented on June 15, 2024

from react-bilibili.

mc1128-png avatar mc1128-png commented on June 15, 2024

报错1:Interface 'NodeRequire' cannot simultaneously extend types 'RequireFunction' and 'Require'. Named property 'resolve' of types 'RequireFunction' and 'Require' are not identical 报错2:Subsequent variable declarations must have the same type. Variable 'URL' must be of type '{ new (url: string, base?: string | URL): URL; prototype: URL; createObjectURL(object: any): string; revokeObjectURL(url: string): void; }', but here has type '{} | typeof URL'. 还有很多报错,暂时列出了这几个,网上找了很久也没找到答案

请问您解决了吗?

from react-bilibili.

mc1128-png avatar mc1128-png commented on June 15, 2024

有可能是 npm install 后依赖包的版本问题,对比看下 package-lock.json 中对应的版本。

能具体说一下吗,和启动过程
image

from react-bilibili.

dxx avatar dxx commented on June 15, 2024

React typescript 包相关的版本,你安装的可能不是 package.json 里面的版本,不兼容就报错了

from react-bilibili.

rxl123 avatar rxl123 commented on June 15, 2024

跑起来了,但是页面显示服务器 出错 @dxx

from react-bilibili.

dxx avatar dxx commented on June 15, 2024

@rxl123 服务端api运行起来了吗

from react-bilibili.

zhuimingdongma avatar zhuimingdongma commented on June 15, 2024

@rxl123 服务端api运行起来了吗

服务端api咋运行。哥

from react-bilibili.

zhuimingdongma avatar zhuimingdongma commented on June 15, 2024

@rxl123 服务端api运行起来了吗

跑起来了,牛逼啊 哥

from react-bilibili.

Related Issues (17)

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.