Node.js Dev, QA, Prod 환경 별 프로퍼티 설정

설치 npm i -D env-cmd env-cmdrc.js 생성하여 JS 파일로 프로퍼티를 관리할 수 있다. module.exports = Promise.resolve({ common: { ENV_PROP1: ‘값1’, ENV_PROP2: ‘값2’ }, dev: { db_url: ‘mariadb://127.0.0.1:3306/dbname’, dp_user: ‘test’, dp_psssword: ‘test’ }, prod: { db_url: ‘mariadb://xxx.xxx.xxx.xxx:3306/dbname’,…

Failed to load config “react-app” to extend from.

1. Create React App에서 사용하는 ESLint 구성 패키지를 추가 yarn add eslint-config-react-app -D 2. package.json의 extends에서 react-app를 삭제하는 방법도 사용하는 것 같다. “extends”: [ “react-app” ] }, 3.package.json 파일 저장 package.json 파일을 열고 Ctrl+s로 저장한다. 4. eslint-config-react-app 버전 6으로…

@ag-grid-community/react

오류 메시지 No overload matches this call. Overload 1 of 2, ‘(props: AgGridReactProps<any> | AgReactUiProps<any> | Readonly<AgGridReactProps<any> | AgReactUiProps<any>>): AgGridReact<…>’, gave the following error. Type ‘{ children: never[]; rowData: { make: string; model: string; price:…