basarat / basarat/demo-react

tsconfig.json

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

I am getting error when I open tsconfig.json file:

JSON schema for the TypeScript compiler's configuration file

Cannot find type definition file for 'react-dom/next'.
The file is in the program because:
Entry point of type library 'react-dom/next' specified in compilerOptionsts
Cannot find type definition file for 'react-dom/next'.
The file is in the program because:
Entry point of type library 'react-dom/next' specified in compilerOptionsts

Why is this happening ?
But app works tho..

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with tsconfig.json and inspect the compilerOptions types entry that names react-dom/next. Check how TypeScript resolves that type library and compare the diagnostic with the fact that the app still runs; done means explaining the cause and identifying a project-supported configuration or dependency state that removes the error.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.