Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
Tags
- table
- Sqoop
- plugin
- R
- Kotlin
- 보조정렬
- window
- vaadin
- xPlatform
- 공정능력
- Spring
- Android
- SSL
- IntelliJ
- hadoop
- Python
- Java
- tomcat
- GIT
- Express
- JavaScript
- SPC
- mybatis
- SQL
- MSSQL
- mapreduce
- react
- es6
- NPM
- Eclipse
Archives
- Today
- Total
DBILITY
react EsLint: Error: Failed to load config "react-app/jest" to extend from. 본문
front-end & ui/react
react EsLint: Error: Failed to load config "react-app/jest" to extend from.
DBILITY 2021. 12. 10. 18:41반응형
intellij로 react를 학습하다가 moment package를 설치하고, 그냥 npm audit fix --force를 실행했다가
다름과 같은 오류가 발생하였다.
Error: Failed to load config "react-app/jest" to extend from.
Referenced from: C:\Dev64\workspace\ex01\package.json
Error: Failed to load config "react-app/jest" to extend from.
Referenced from: C:\Dev64\workspace\ex01\package.json
at configMissingError (C:\Dev64\workspace\ex01\node_modules\eslint\lib\cli-engine\config-array-factory.js:265:9)
at ConfigArrayFactory._loadExtendedShareableConfig (C:\Dev64\workspace\ex01\node_modules\eslint\lib\cli-engine\config-array-factory.js:826:23)
at ConfigArrayFactory._loadExtends (C:\Dev64\workspace\ex01\node_modules\eslint\lib\cli-engine\config-array-factory.js:731:25)
at ConfigArrayFactory._normalizeObjectConfigDataBody (C:\Dev64\workspace\ex01\node_modules\eslint\lib\cli-engine\config-array-factory.js:660:25)
at _normalizeObjectConfigDataBody.next (<anonymous>)
at ConfigArrayFactory._normalizeObjectConfigData (C:\Dev64\workspace\ex01\node_modules\eslint\lib\cli-engine\config-array-factory.js:596:20)
at _normalizeObjectConfigData.next (<anonymous>)
at createConfigArray (C:\Dev64\workspace\ex01\node_modules\eslint\lib\cli-engine\config-array-factory.js:340:25)
at ConfigArrayFactory.loadInDirectory (C:\Dev64\workspace\ex01\node_modules\eslint\lib\cli-engine\config-array-factory.js:433:16)
at CascadingConfigArrayFactory._loadConfigInAncestors (C:\Dev64\workspace\ex01\node_modules\eslint\lib\cli-engine\cascading-config-array-factory.js:328:46)
Process finished with exit code -1
npm update를 하고 나니
Problem with ESLint reformatting:
App.js: Specify a path to the 'eslint' package
intellij IDE restart를 해보고 npm start하니 첫번째와 동일한 오류 발생. rendering은 되는데.
intellij IDE setttings -> Language & Frameworks -> JavaScript -> Code Quality Tools -> ESLint를 사용하지 않음을 처리하면 되긴 하는데, 이럼 코드분석이 안되니 난감.
package-lock.json하고, node_modules디렉토리를 삭제, npm install
그래도 안되면 package.json안에 jest부분을 제거하자. 우선 진도는 나가야 하니까.
반응형
'front-end & ui > react' 카테고리의 다른 글
react spinners for loading layer (0) | 2022.01.05 |
---|---|
react css transition (0) | 2021.12.31 |
react bootstrap (0) | 2021.12.30 |
react intellij PWA project generation (0) | 2021.12.14 |
react Warning: validateDOMNesting(...): <a> cannot appear as a descendant of <a>. (0) | 2021.12.11 |
Comments