2022 30분 요약 강좌 시즌 1 : HTML, CSS, Linux, Bootstrap, Python, JS, jQuery&Ajax
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. html 태그 중에 <input type="checkbox" name="언어" id="python" value="Python" /> 일때, value의 역할은 무엇인가요?
firstProduct의 데이터를 먼저 가져온다음에서야 GET /api/product/:productId 통합테스트가 통과가 되는데요 그럼 모든 테스트의 순서는 파일의 처음부터 파일의 끝 순으로 위아래로 차례로 실행이되는건가요 ??? 제가 자바 Junit할때는 랜덤으로 실행이됬던것같아서 Order라는 어노테이션을 따로 붙혀줬었던걸로 기억을해서요! 물론 자바는 이 강의와 전혀 무관한 내용인데 예를 들어서 죄송합니다 ㅠㅠ
Failed to compile. ModuleNotFoundError: Module not found: Error: Can't resolve 'react-dom' in '/home/ubuntu/react-nodebird/front/node_modules/next/dist/client' 이렇게 뜨길래 프론트 서버에서 npm i react-dom 하고 빌드 하니까 되긴 됐는데 괜찮겠죠? 로컬에 먼저 npm i react-dom하고 깃헙에 푸시하고 aws에서 풀 받아서 하려했는데 로컬에서 npm i react-dom하니까 이미 next 내장인가보더라고요. 로컬과 서버가 싱크 안 맞아도 괜찮겠죠..?
제로초님 안녕하세요 친절한 설명덕분에 감사하게 강의를 성공적으로 따라갈 수 있었습니다 배포한 이후에 post들을 싹 삭제하고 싶으면 혹시 어떻게 삭제해야하나요?? aws에 들어가서 어떻게 삭제해야하는지 혹시 여쭤봐도될까요? 기존에 로컬에서 진행할때는 mySql때는 Workbench에 들어가서 Post테이블 싹 지우면 됐는데 싹 지우고 싶은이유는 삭제버튼을 눌러서 삭제하면 해당 id는 빈상태로 나오기 때문입니다. 또한 제가 아닌 다른사람이 이상한글을 썼을때 삭제를 하기 위해서 다른사람이 쓴 글도 삭제하고싶기때문입니다.
제로초님, 안녕하세요! npm run build 하고 index.html 라이브 서버 켜봤는데 화면에 아무것도 나오지 않습니다..! dist 폴더와 App.js 파일은 잘 생겼구요 아래는 에러 내용입니다. 제로초님의 소스코드를 살펴보니 package.json에 emotion/babel-plugin은 설치되어 있지 않았는데ㅜㅜ 그걸 설치하면 해결되는걸까요? $ npm run build > client@1.0.0 build C:\Users\user\Desktop\coding\sleact\client > cross-env TS_NODE_PROJECT="tsconfig-for-webpack-config.json" webpack asset app.js 4.28 KiB [emitted] (name: app) ./client.tsx 39 bytes [built] [code generated] [1 error] ERROR in ./client.tsx Module build failed (from ./node_modules/babel-loader/lib/index.js): Error: Cannot find module '@emotion/babel-plugin' Require stack: - C:\Users\user\Desktop\coding\sleact\client\node_modules\@babel\core\lib\config\files\plugins.js - C:\Users\user\Desktop\coding\sleact\client\node_modules\@babel\core\lib\config\files\index.js - C:\Users\user\Desktop\coding\sleact\client\node_modules\@babel\core\lib\index.js - C:\Users\user\Desktop\coding\sleact\client\node_modules\babel-loader\lib\index.js - C:\Users\user\Desktop\coding\sleact\client\node_modules\loader-runner\lib\loadLoader.js - C:\Users\user\Desktop\coding\sleact\client\node_modules\loader-runner\lib\LoaderRunner.js - C:\Users\user\Desktop\coding\sleact\client\node_modules\webpack\lib\NormalModuleFactory.js - C:\Users\user\Desktop\coding\sleact\client\node_modules\webpack\lib\Compiler.js - C:\Users\user\Desktop\coding\sleact\client\node_modules\webpack\lib\webpack.js - C:\Users\user\Desktop\coding\sleact\client\node_modules\webpack\lib\index.js - C:\Users\user\Desktop\coding\sleact\client\node_modules\webpack-cli\lib\webpack-cli.js - C:\Users\user\Desktop\coding\sleact\client\node_modules\webpack-cli\lib\bootstrap.js - C:\Users\user\Desktop\coding\sleact\client\node_modules\webpack-cli\bin\cli.js - C:\Users\user\Desktop\coding\sleact\client\node_modules\webpack\bin\webpack.js at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15) at resolve (C:\Users\user\Desktop\coding\sleact\client\node_modules\v8-compile-cache\v8-compile-cache.js:164:23) at resolveStandardizedName (C:\Users\user\Desktop\coding\sleact\client\node_modules\@babel\core\lib\config\files\plugins.js:111:7) at resolvePlugin (C:\Users\user\Desktop\coding\sleact\client\node_modules\@babel\core\lib\config\files\plugins.js:55:10) at loadPlugin (C:\Users\user\Desktop\coding\sleact\client\node_modules\@babel\core\lib\config\files\plugins.js:63:20) at loadPlugin.next (<anonymous>) at createDescriptor (C:\Users\user\Desktop\coding\sleact\client\node_modules\@babel\core\lib\config\config-descriptors.js:187:16) at createDescriptor.next (<anonymous>) at step (C:\Users\user\Desktop\coding\sleact\client\node_modules\gensync\index.js:261:32) at evaluateAsync (C:\Users\user\Desktop\coding\sleact\client\node_modules\gensync\index.js:291:5) sleact (webpack 5.51.1) compiled with 1 error in 1475 ms npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! client@1.0.0 build: `cross-env TS_NODE_PROJECT="tsconfig-for-webpack-config.json" webpack` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the client@1.0.0 build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\user\AppData\Roaming\npm-cache\_logs\2021-08-24T16_04_56_594Z-debug.log
안녕하세요 강사님! 다름이 아니라 boiler-plate 클론 이후 Movie-App 만들기 까지 완료하였는데요, NavBar 의 메인 로고 부분의 이미지를 변경해보고 싶어서 다른 이미지를 삽입하고자 하는데 도대체 어디 부분을 건드려야 할지 잘 모르겠습니다!! 기존에 movie-app-ko 파일에는 components파일에 assets/images 라는 폴더가 있고, 내부에 movieapp 의 이미지가 저장되어있는데 이 저장된 이미지를 어느부분에서 사용하시고 있는지 전혀 모르겠습니다...!! img src 를 통해서 새로운 이미지를 삽입해보려고 하면 계속 오류가 생겨서... 답변 부탁드립니다!!
강의와 똑같이 진행했다고 생각했는데 어디서 문제가 발생했는지 모르겠네요.. 온라인 컴파일러로 실행시켰을때도 아래와 같은 애러가 뜨네요 ㅠㅠ Storage.cpp:(.text+0x0): multiple definition of `Storage::print()' /tmp/ccGcctjd.o:main.cpp:(.text+0x0): first defined here collect2: error: ld returned 1 exit status 제가 작성한 코드 아래에 주소 남깁니다 ㅠ https://onlinegdb.com/AnTPCcmZC
메뉴 자체도 선생님이랑 다르고 save() run이라고 표시되질 않아요 C:\Users\user\OneDrive - ( ) ̳ \ ȭ \hello-spring\src\test\java\hello\hellospring\HelloSpringApplicationTests.java:4: error: package org.springframework.boot.test.context does not exist import org.springframework.boot.test.context.SpringBootTest; ^ C:\Users\user\OneDrive - ( ) ̳ \ ȭ \hello-spring\src\test\java\hello\hellospring\HelloSpringApplicationTests.java:6: error: cannot find symbol @SpringBootTest ^ symbol: class SpringBootTest 2 errors FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':compileTestJava'. > Compilation failed; see the compiler error output for details. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 1s 3 actionable tasks: 1 executed, 2 up-to-date 오류는 이렇게 발생하는데 아무리 검색해봐도 비슷한것도 나오질 않는데 어떻게 해야하나요?
Run 하는 부분부터 선생님이랑 뜨는 메뉴도 다르고 save() run 이라고 표시되지도 않아요 오류 창에는 C:\Users\user\OneDrive - ( ) ̳ \ ȭ \hello-spring\src\test\java\hello\hellospring\HelloSpringApplicationTests.java:4: error: package org.springframework.boot.test.context does not exist import org.springframework.boot.test.context.SpringBootTest; ^ C:\Users\user\OneDrive - ( ) ̳ \ ȭ \hello-spring\src\test\java\hello\hellospring\HelloSpringApplicationTests.java:6: error: cannot find symbol @SpringBootTest ^ symbol: class SpringBootTest 2 errors FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':compileTestJava'. > Compilation failed; see the compiler error output for details. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 1s 3 actionable tasks: 1 executed, 2 up-to-date 이런식으로 뜨는데 오류내용을 아무리 검색해봐도 비슷한것도 나오질 않아요 어떻게 해야하나요?
안녕하세요 선생님. 선생님의 강의를 듣고 사이드 프로젝트를 진행하고 있습니다. 그러던 중 API 명세와 관련되서 고민되는 점이 있어 조언을 얻고자 질문을 남깁니다. API 명세를 위한 tool을 찾아보던 중 swagger를 알게되었고 적용을 하려했으나 러닝커브가 있어 망설여지네요. 선생님께서는 API 명세를 작성할 때 어떤 방식으로 진행하시는지 궁금합니다! 감사합니다!
프론트 컨트롤러 도입 전에는 3개의 요청(Form, List, Save)으로 서블릿 객체가 3개 생성되서 싱글톤으로 관리됐다면, 프론트 컨트롤러 도입 후에는 FrontController 서블릿 객체 1개로 관리가 되는건가요? 만약 맞다면, 관리하는 서블릿 객체의 갯수가 줄었다는 점이 프론트 컨트롤러의 장점 중 하나라고 생각해도 되나요?