본문 바로가기

반응형

분류 전체보기

(9429)
안드로이드 스튜디오 설치 방법 Android 스튜디오 설치 클릭 몇 번으로 Android 스튜디오를 설정할 수 있습니다. 먼저 시스템 요구사항을 확인하세요. 그런 다음 최신 버전의 Android 스튜디오를 다운로드합니다.Windows참고: ARM 기반 CPU를 사용하는 Windows 머신은 현재 지원되지 않습니다. Windows에 Android 스튜디오를 설치하려면 다음 단계를 따르세요..exe 파일을 다운로드한 경우(권장) 파일을 더블클릭하여 실행합니다..zip 파일을 다운로드한 경우:.zip의 압축을 풉니다.android-studio 폴더를 Program Files 폴더에 복사합니다.android-studio > bin 폴더를 엽니다.studio64.exe(64비트 컴퓨터) 또는 studio.exe(32비트 컴퓨터)를 실행합니다...
React Network Error 해결 방법 로컬에서 React 띄우고 서버에 있는 URL를 호출하면 Network 오류 발생 해결 방법 package.json"proxy": "http://www.sample.com/getDataList.php",  php 사용 할 경우 아래 스크립트 추가해 준다.header("Access-Control-Allow-Origin: *");header("Content-Type: application/json; charset=UTF-8");  header("Access-Control-Allow-Origin: *"); header("Access-Control-Allow-Methods: POST, GET, OPTIONS"); header("Access-Control-Allow-Headers: Content-Type")
Module not found: Error: Package path ./swiper-bundle.min.css is not exported from package 오류 해결 방법 오류 메시지Module not found: Error: Package path ./swiper-bundle.min.css is not exported from package C:\WebFront\sample\node_modules\swiper (see exports field in C:\WebFront\sample\node_modules\swiper\package.json) 해결방법아래와 같이 swiper-bundle.css 변경 한다.// Import Swiper styles// import "swiper/swiper-bundle.min.css";import "swiper/swiper-bundle.css"; C:\WebFront\sample\node_modules\swiper\package.json를 ..
Github에 node_modules 폴더 제외하는 방법 .gitignore 파일을 생성한다.# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.# dependencies/node_modules/.pnp.pnp.js# testing/coverage# production/build# misc.DS_Store.env.local.env.development.local.env.test.local.env.production.localnpm-debug.log*yarn-debug.log*yarn-error.log*
redirect in react 18에 오류 해결 방법 import { Navigate } from 'react-router-dom'; } /> import { BrowserRouter, Routes, Route, Navigate } from 'react-router-dom';import ErrorPage from './ErrorPage';import Home from './Home';function App() { return ( } /> {/* The next line is very important for the Navigate component to work */} } /> ..
This expression is not callable. Type 'typeof import("X:/xxx/node_modules/date-fns/format")' has no call signatures. 오류발생 부분export function formatDate(date: Date) { return format(date, 'yyyyMMdd') ;}  수정export function formatDate(date: Date): string { const day = date.getDate().toString().padStart(2, '0'); const month = (date.getMonth() + 1).toString().padStart(2, '0'); const year = date.getFullYear(); return `${year}${month}${day}`; // return format(date, 'yyyyMMdd') ;}
React, Module '"react-i18next"' has no exported member 'TFunction'. 오류 해결 Module '"react-i18next"' has no exported member 'TFunction'. 오류 발생. 아래 실행하여 해결yarn add react-i18next@11.8.15 --save-dev
Cannot find module 'ag-grid-react' or its corresponding type declarations. 오류 해결 아래 명령어 실행 후 정상 작동 yarn add ag-grid-react --save-dev

반응형