개발일지 (10) 썸네일형 리스트형 VSCode - GIT 연동 시 오류 모든 연동이 된 후 D:\ridingbackend> git push -u origin main error: src refspec main does not match any error: failed to push some refs to 'https://github.com/shi........ 오류가 계속 발생. error: src refspec main does not match any. 무언가 꼬인걸로 봐서 .git 파일을 삭제 한 후 다음과 같은 명령어를 입력하여 정상 작동. 1. git init Reinitialized existing Git repository in D:/ridingbackend/.git/ 2. git branch -m main 3. git remote add origin "http.. appBar에서 PreferredSizeWidget 오류 발생시. Widget build(BuildContext context) { return Scaffold( appBar: navigationBar(widget.groupChannel), body: body(context), ); } Widget navigationBar(GroupChannel channel) { return AppBar( automaticallyImplyLeading: true, backgroundColor: Colors.white, centerTitle: false, 위와 같은 코드에서 navigationBar에서 PreferredSizedWidget 과 관련된 오류 발생. @override Widget build(BuildContext context) { return Scaffold( // ba.. Reactjs 2일차 1. eslint - VSC 터미널에서 실행 - 코드에 문제가 없는지 검출해주는 역할 npm i -D eslint 2. Prettier - 코드 formatter - 사이트: https://prettier.io/docs/en/install.html Prettier · Opinionated Code Formatter Opinionated Code Formatter prettier.io - VSC 터미널에서 실행 npm install --save-dev --save-exact prettier 3. VSC에서 package.json 체크. "devDependencies": { "css-loader": "^6.7.3", "css-minimizer-webpack-plugin": "^5.0.0", "eslint":.. React 1일차 1. VSC 설치 2. Terminal에서 npm init -y 실행. > npm init -y npm : 'npm' 용어가 cmdlet, 함수, 스크립트 파일 또는 실행할 수 있는 프로그램 이름으로 인 식되지 않습니다. 이름이 정확한지 확인하고 경로가 포함된 경우 경로가 올바른지 검증한 다 음 다시 시도하십시오. 위치 줄:1 문자:1 + npm init -y + ~~~ + CategoryInfo : ObjectNotFound: (npm:String) [], CommandNotFoundExceptio n + FullyQualifiedErrorId : CommandNotFoundException VSC에서 Terminal이 powershell로 되어있는 경우 발생되는 오류. ctrl+shift+p를 눌러 .. Error: unable to find git in your PATH. D:\rider_application> flutter emulators --launch 33rider Error: Unable to find git in your PATH. 위와 같은 오류 메시지의 경우 아래 URL로 이동하여 Git을 설치해준다. https://git-scm.com/downloads Git - Downloads Downloads macOS Windows Linux/Unix Older releases are available and the Git source repository is on GitHub. GUI Clients Git comes with built-in GUI tools (git-gui, gitk), but there are several third-party tools fo.. [PHP] Laravel 프로젝트 VSC 세팅 OS : Window 1. PHP가 설치되어 있지 않은 경우 PHP를 먼저 설치해야 합니다. https://www.php.net/downloads에서 다운로드. 2. VSC 에서 php 호출 하여 Laravel 프로젝트 실행 시 다음과 같이 ㄷ실행되지 않음. 3. VSC에서 File> Preference > Settings 실행 4. php를 검색해서 setting.json 을 수정한다. 5. settings.json에 내 pc에 설치된 php.exe 경로를 입력해준다. "php.validate.executablePath": "C:\\apm\\php8\\php.exe" 6. VSC를 모두 껐다 키면 정상적으로 작동. Flutter Study 1일차 - 기본 Widget 1 많이 사용되는 Flutter 기본 위젯들 1. Scaffold: provided a basic structure for a screen, including a top app bar, a body, and a bottom navigation bar. 2. Container : contain other widgets and can be styled with properties like padding, margin and color. 3. Text: display text on the screen and can be styled with properties like font size, font weight and color 4. Row: used to lay out widgets in a horizontal .. Flutter -Visual Studio CODE - develop for Windows (the doctor check crashed) ERROR Flutter window install error issue! VSC Terminal에서 실행 > flutter doctor > Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at https://github.com/flutter/flutter/issues. X Exception: Bad UTF-8 encoding (U+FFFD; REPLACEMENT CHARACTER) found while decoding string: [ .... 구글에서 찾았던 Solution. Move to C:\Program Files (x86.. 이전 1 2 다음