본문 바로가기

개발오류14

[React/리액트] Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17 [React/리액트] Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17 어제 리액트 프로젝트를 처음 깔아서 실행을 해보는데 콘솔창에 자꾸 저렇게 거슬리는 Warning이 떴다. ReactDOM.render는 React 17까지의 레거시 메소드이기 때문에 React 18부터는 createRoot 라는 메소드를 사용하라는 의미이다. import React from 'react'; import ReactDOM from 'react-dom'; import App fr.. 2022. 4. 1.
[WebStorm/IntelliJ] eslint typeerror this.clienginector is not a constructor 오류 [WebStorm/IntelliJ] eslint typeerror this.clienginector is not a constructor 오류 React 공부좀 해보려고 webstorm에 리액트 프로젝트를 만들었는데 TypeError: this.cliEngineCtor is not a constructor at ESLintPlugin.invokeESLint (C:\Program Files\JetBrains\WebStorm 2021.1.2\plugins\JavaScriptLanguage\languageService\eslint\bin\eslint-plugin.js:103:25) at ESLintPlugin.getErrors (C:\Program Files\JetBrains\WebStorm 2021.1.2\.. 2022. 4. 1.
[mariaDB/mysql] Incorrect string value: '\xEC\x96\x8C\xEC\x8A\xA4...' for column : 한글 입력 오류 해결 [mariaDB/mysql] Incorrect string value: '\xEC\x96\x8C\xEC\x8A\xA4...' for column : 한글 입력 오류 해결 요즘 오랜만에 다시 자바를 하느라 인스타그램 클론코딩을 만들어보는 중이다. local DB 스키마도 새로 짜고 DB 계정도 새로 만들어서 권한주고 user table을 만들었는데 name에 한글을 입력했더니 오류가 났다. 개발 = 오류 해결 과정 alter table user default character set = utf8; 처음에는 default character set을 utf8로 바꿔주었는데 여전히 오류가 해결이 안됐다, alter table user convert to charset utf8; 그래서 charset을 utf8로.. 2022. 3. 25.
[Jenkins] github private repository 연동하기 / Credentials 오류 날 때 [Jenkins] github private repository 연동하기 / Credentials 오류날 때 Jenkins와 github 연동하는 방법을 따라가던 중 private repository 연동하기에 자꾸 실패했다. 아무래도 Credentials 생성이 잘못되었던것 같았다. 블로그에는 Kind : Secret text 로 바꾸고 Secret에 깃 토큰, ID는 원하는 단어 넣고 생성하면 된다고 했는데 이 방법을 따라니 자꾸 오류가 났다. Failed to connect to repository : Command "git.exe ls-remote -h -- https://github.com/@@@/@@@@ HEAD" returned status code 128: stdout: stderr: Lo.. 2022. 3. 23.
php8 Method Illuminate\Database\Schema\Blueprint::varchar does not exist & int does not exist 오류 php8 Method Illuminate\Database\Schema\Blueprint::varchar does not exist & int does not exist 오류 make:migration create_테이블명_table 로 마이그레이션 파일을 만든 뒤 테이블 컬럼을 작성 하고 migrate를 했더니 Method Illuminate\Database\Schema\Blueprint::varchar does not exist. 라는 오류를 만났다. varchar 스펠링 틀린게 없는데 대체 뭐가 문제일까 싶었는데 migrate로 테이블을 생성할때는 문자열을 varchar가 아닌 string으로 입력해주어야 한다. ex) $table->varchar('테이블명', 10); -> 오류 $table->st.. 2021. 2. 6.
php migrate 오류 -> could not be opened in append mode: failed to open stream: Permission denied php migrate 오류 -> could not be opened in append mode: failed to open stream: Permission denied 현재 sudo chown -R www-data:www-data ~/projectName/storage 로 권한 설정이 되어있는 상태. php artisan migrate를 하니 자꾸 could not be opened in append mode: failed to open stream: Permission denied 오류가 뜬다. 권한 설정을 해주 었는데 왜 자꾸 오류가 뜨는걸까? 외부에서 웹페이지로 접속을 하게 하기 위해서는 www-data:www-data 로 권한 설정을 해야하지만 지금 migrate는 로컬 피씨에서 진행을 하고 있.. 2021. 2. 6.
728x90
반응형