Comments (6)
PR #16 should resolve this.
from typescript-react-starter.
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.
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.
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.
@corydeppen issue is still open ?
from typescript-react-starter.
Should be resolved now that #16 has been merged.
from typescript-react-starter.
Related Issues (20)
- Support sass loader HOT 3
- Object.entries() - Failed to compile: Property 'entries' does not exist on type 'ObjectConstructor'. HOT 2
- create-react-app-typescript is deprecated HOT 7
- Starter (tutorial?) HOT 1
- react-scripts-ts is vulnerable HOT 3
- Update readme to new way of configuring React TS project using CRA HOT 1
- Current project status HOT 2
- Your example doesn't work out of the box HOT 2
- these are wrong? you can help me find reason? HOT 1
- Update React version?
- update redux version
- Does this repo not use the <App/> component?
- TS error: Only a void function can be called with the 'new' keyword.ts(2350) HOT 1
- Why `export const INCREMENT_ENTHUSIASM` then `export type INCREMENT_ENTHUSIASM` again HOT 2
- Failed to compile when run npm start HOT 1
- How about React hooks?
- Update to the typescript-eslint configuration
- I got many errors when run `npm run start`
- I'm having a problem when I'm importing an image
- Please abandon this repo HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typescript-react-starter.