VSCodeのエラー一覧と解決方法(10件)
実在のVSCodeエラーメッセージを収録。各ページで原因と直し方を日本語で解説しています。
- Cannot find name 'process'. Do you need @types/node?
- JSX element implicitly has type 'any'
- Cannot use import statement outside a module
- Parameter 'x' implicitly has an 'any' type
- Property does not exist on type
- File is not a module
- Cannot redeclare block-scoped variable
- Object is possibly 'null'
- Type 'string | undefined' is not assignable to type 'string'
- Relative import paths need explicit file extensions in ECMAScript imports
エラー文を貼って探すならエラーメッセージ検索ツールが便利です。