Giter VIP home page Giter VIP logo

Comments (6)

corydeppen avatar corydeppen commented on May 18, 2024 3

PR #16 should resolve this.

from typescript-react-starter.

corydeppen avatar corydeppen commented on May 18, 2024 2

The version listed in package.json for the React typings is not valid. If you run npm i @types/[email protected] you'll see a message stating No compatible version found: @types/[email protected], followed by a list of valid install targets - 5.0.14 is not one of them, but 15.0.14 is. Simple to fix, but not sure what the intent was when originally installed.

from typescript-react-starter.

nitishdayal avatar nitishdayal commented on May 18, 2024 1

To reproduce: make fresh clone of repo, npm install.Listed version in package.json is "5.0.14", which has never been a version number of the @types/react package. Releases have ranged from 0.0.0 > 0.14.57, then 15.0.0-latest. Latest release of React type defs is 15.0.24, which works fine w/ this starter when installed to replace the broken version that's currently listed.

from typescript-react-starter.

jpggvilaca avatar jpggvilaca commented on May 18, 2024

React and @types/react are two different things. @types/react -> https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react and react ->https://github.com/facebook/react

So the versions are correct, and I haven't found any errors, can you show me steps to reproduce?

from typescript-react-starter.

tebeco avatar tebeco commented on May 18, 2024

@corydeppen issue is still open ?

from typescript-react-starter.

corydeppen avatar corydeppen commented on May 18, 2024

Should be resolved now that #16 has been merged.

from typescript-react-starter.

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.