_mysql | 2022-04-19T20:28:50.252328Z 0 [ERROR] --initialize specified but the data directory has files in it. Aborting. app_mysql | 2022-04-19T20:28:50.252404Z 0 [ERROR] Aborting 안녕하세요. 현재 docker-compose up 로 실행을 시켜 보니 위와 같은 Error가 발생되서 Website (localhost:3000)에서 화면이 정상적으로 뜨지 않네요. 인터넷에서 찾아 봤지만 특별히 어떤 단계로 해결을 해야 할지 잘 모르겠습니다. 참고로 docker-compose.yml에서 mysql 부분은 아래와 같이 했습니다. mysql : build : ./mysql restart : unless-stopped container_name : app_mysql ports : - " 3306:3306 " expose : - 3306 volumes : - ./mysql/mysql_data:/var/lib/mysql - ./mysql/sqls/:/docker-entrypoint-initdb.d/ environment : MYSQL_ROOT_PASSWORD : danielsong1052 MYSQL_DATABASE : myapp
안녕하세요 제로초님 이번엔 코드 질문이 아니라 aws 에 대한 질문입니다. 제가 azure 를 잠깐 배웠을때, 인스턴스, 구독같은 서비스를 중지하거나 제거하지 않으면 요금이 부과되었던걸로 기억하는데요 해당 강좌에서 aws는 인스턴스와 탄력적 IP 를 연결하면 돈이 부과되지 않고 인스턴스를 중지하거나 삭제하고 탄력적IP를 삭제안하면 그때 돈이 나간다고 이해를 했는데요 그럼 그냥 인스턴스를 내내 켜놓고 있어도 요금이 0인건가요? 애져에서 배웠던대로 인스턴스 중지나 삭제하려다가 궁금해져서 질문남깁니다... 오늘은 일단 아무것도 건들지 말고 잠들어야겠네요...
안녕하세요! 우선 저는 커밋으로 불러오지 않고 깃허브에서 sign-up.html을 가져왔습니다. 그런데 9분쯤에 닉네님을 입력하셨을 때 validation 오류가 영어로 나오시는데 저는 왜 한글로 나오는지 잘 모르겠습니다. sign-up.html을 봐도 그런 부분은 없는것 같은데 ㅜㅜ
안녕하세요. 멀티 레이블 설명 관련해서 궁금한 점이 있어서 질문 남깁니다. 9분40초에서 한 모델에서 멀티 레이블할 수 있다고 하셨는데, 일반적으로 구현한다면 신발과 바지 각 모델을 만드나요? 아니면 한 모델에 멀티 레이블로 구현하나요?? 두 가지 방식중 어떤 방식을 선택할지 정하는 기준이 있나요?? 코로나에 걸리셨다고 들었는데, 하루빨리 쾌유하시길 바라겠습니다!
안녕하세요 제로초님!! 제가 현재 프론트 build 까지는 성공했고 sudo npx pm2 start npm -- start 를 하면 성공적으로 시작됐다고 뜨는데 막상 홈페이지에 들어가면 페이지를 찾을 수 없다고 하더라구요. monit 도 마찬가지로 로그에 아무것도 찍히지 않습니다. 다른 분들도 같은 현상을 겪는 분들이 많으신거 같은데 저는 sudo npx pm2 list 를 다시 하면 상태가 errored 라고 뜨더라구요 그래서 sudo npx pm2 logs 명령어로 로그를 쭉 봤는데요 잘 빌드가 되다가 이렇게 MODULE_NOT_FOUND 로 에러가 뜨더라구욥. 구글링 해보니까 rm -rf ~/.pm2 를 해보라 해서 작성 후 다시 start 해봐도 똑같은 에러가 발생합니다... 이 에러를 해결하려면 pm2 를 다시 재설치하는 수밖에 없을까요?? 추가로 front ec2 에서 보안포트 80도 추가된 상태입니다.
DB 서버에 DB 클라이언트로 접근할 때는 JSESSIONID만 같으면 어떤 connection이든 같은 클라이언트로 여겨졌고 같은 트렌젝션을 가지게 되는 것 같았습니다. 세션은 서버의 메모리에 남아서 커넥션보다 더 긴 생명주기를 가지고 stateless한 접속들을 stateful하게 처리하기 위한 방법이니까, 엄밀하게 말하면 어플리케이션에 있는 connection도 다른 connection과 JSESSIONID만 공유하면 같은 DB 세션과 트렌젝션을 가질 수 있어야 한다고 생각합니다. 그런데 그런 것이 되지 않는 이유는 자바 스펙에서 connection이라는 객체가 connection 자체가 아니라 실제 connection들을 만들어주는, JSESSIONID를 보관하는 객체이기 때문이라는 생각이 들었습니다. 한 마디로 getConnection()해서 커넥션을 획득해서 close()할 때가지 실질적으로는 하나의 커넥션이 생성되는게 아니라 preparedStatement의 executeQuery()와 executeUpdate()가 실행되어 tcp 통신이 이루어질 때마다 커넥션이 만들어졌다가 사라지고, 그때 connection 객체에서 관리되는 JSESSIONID에 의해서 같은 트렌젝션으로 관리된다는 생각이 들었습니다. 그리고 close()가 하는 역할은 커넥션의 종료라기 보다는 DB서버에 있는 세션을 메모리에서 내리는 역할을 한다는 생각이 들었습니다. 이런 제 생각이 맞을까요?
안녕하세요! 매번 질문이 많은 것 같아 죄송하네요 ㅠㅠ 39초~40초 부근에서 'OpenCV DNN은 다크넷을 다운로드받아야 한다'고 설명하셨습니다. OpenCV DNN으로 YOLO를 사용하려면 다크넷을 다운로드받아야 한다는 게 맞는 표현인 것이죠? 혹시나 해서 확인차 여쭈어봅니다 ^^
@Column('int', { name: 'OwnerId', nullable: true }) OwnerId: number | null; @ManyToOne(() => Users, (users) => users.Workspaces, { onDelete: 'SET NULL', onUpdate: 'CASCADE', }) @JoinColumn([{ name: 'OwnerId', referencedColumnName: 'id' }]) Owner: Users; https://github.com/ZeroCho/sleact/blob/master/nest-typeorm/src/entities/Workspaces.ts 에서 코드 가져왔습니다. name: "ownerId"가 서로 중복되어서 들어가 있는데, 이거를 어떻게 이해할 수 있을까요? --> 컴파일 과정에서 오류가 나지 않는 것이 궁금하다 이것입니다. 최소한 ambigious하다고 오류가 나야할 것만 같은 코드로 보입니다. https://www.inflearn.com/questions/248521 에서 보니 굳이 join을 하지 않고 참조 및 수정을 하기 위한 것으로 보이는데, (실제로 제로초님의 서비스를 보니 join 없이 senderId, ownerId 와 같이 바로바로 수정하는 것을 봤습니다.) joinColumn을 바로 수정하게 되면 join을 하지 않고도 그 안의 정보들이(실제 join되는) 수정 및 참조가 가능한 것인가요? //그런데 질문을 올리고 다시 생각해보니 @joinColumn은 자동으로 ownerId를 만들어 줄텐데, join column에서도 생성되고, 이미 생성을 또 해놓았는데 음... 사실 이 엔티티가 잘 이해가 되지 않습니다. //또 추가로 ManyToOne에서는 적지 않아도 joinColumn을 자동으로 만들어준다고 하면, 위의 코드를 이렇게만 적어도 문제가 안되지 않나 싶기도 합니다... @ManyToOne(() => Users, (users) => users.Workspaces, { onDelete: 'SET NULL', onUpdate: 'CASCADE', }) Owner: Users; //아니면 저렇게 적는 것이 join을 하지 않아도 joinColumn을 유지하기 위한 것인가요? --> 혹시 그렇다면 컴파일 과정에서 오류는 없는지 궁금합니다. 질문이 굉장히 두서없는 점 죄송합니다... 군대에서 연등시간에만 보고 빠르게 적고 하다보니 충분한 이해없이 질문한 거라면 죄송합니다.
a[i][k] == a[j][k] 여기에서요, i 번 학생과 j 번 학생을 비교하는건 이해를 하였는데요 i = 1 이고, j =1 이라면 같은 학생(1번학생) 의 학년을 비교하고 있는것이 아닌가요? if ( i != j && a[i][k] == a[j][k] ) 이렇게 번호가 겹치지 않게 해주어야 할것같은데 제가 무엇을 놓치고 있는지를 모르겠습니다.
강의를 보며 나름의 api를 만들어 보다가 궁금한점이 생겼습니다. 저는 http body가 들어갈 수 있다면, 대부분 body로 프론트에서 백으로 데이터를 보내고, 그렇지 못한 method에만 (get, delete와 같은) query, params를 이용했는데, 제로초님의 깃헙에서 코드도 보고 하니, post요청같은 경우에도 query와 params를 이용하시기도 하고 body를 이용하기도 하던데 본인만의 룰이 있어서 그렇게 하는건가요?? controller들을 잘 찾아보니 보통 생성하는 create에 해당하는 부분만 dto를 생성해서 데이터를 담던데, api를 깔끔하게 사용하기 위한 룰인지 궁금합니다...
react에서 새로운 라이브러릴 다운받고 사용할때 자주 일어나는 오류로 알고있습니다.. 구글링의 결과 삭제후 재설치를 대부분 권장하시길래, 기본적으로 package-lock.json과 node_modules폴더를 삭제 진행후 npm install 이후 실행하는 것을 몇번을 반복해도 아래와 같이 같은 결과가 나오네요ㅠㅠ 해결책을 아시는 분이 있다면,, 알려주시면 감사드리겠습니다.. Compiled with problems: X ERROR in ./node_modules/fs.realpath/index.js 8:9-22 Module not found: Error: Can't resolve 'fs' in 'C:\Users\A\Videos\React class\shop1\shop1\node_modules\fs.realpath' ERROR in ./node_modules/fs.realpath/old.js 21:17-32 Module not found: Error: Can't resolve 'path' in 'C:\Users\A\Videos\React class\shop1\shop1\node_modules\fs.realpath' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' - install 'path-browserify' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "path": false } ERROR in ./node_modules/fs.realpath/old.js 25:9-22 Module not found: Error: Can't resolve 'fs' in 'C:\Users\A\Videos\React class\shop1\shop1\node_modules\fs.realpath' ERROR in ./node_modules/glob/common.js 13:9-22 Module not found: Error: Can't resolve 'fs' in 'C:\Users\A\Videos\React class\shop1\shop1\node_modules\glob' ERROR in ./node_modules/glob/common.js 15:11-26 Module not found: Error: Can't resolve 'path' in 'C:\Users\A\Videos\React class\shop1\shop1\node_modules\glob' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' - install 'path-browserify' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "path": false } ERROR in ./node_modules/glob/glob.js 52:11-26 Module not found: Error: Can't resolve 'path' in 'C:\Users\A\Videos\React class\shop1\shop1\node_modules\glob' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' - install 'path-browserify' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "path": false } ERROR in ./node_modules/glob/glob.js 54:13-30 Module not found: Error: Can't resolve 'assert' in 'C:\Users\A\Videos\React class\shop1\shop1\node_modules\glob' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "assert": require.resolve("assert/") }' - install 'assert' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "assert": false } ERROR in ./node_modules/glob/glob.js 67:11-26 Module not found: Error: Can't resolve 'util' in 'C:\Users\A\Videos\React class\shop1\shop1\node_modules\glob' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "util": require.resolve("util/") }' - install 'util' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "util": false } ERROR in ./node_modules/glob/sync.js 12:11-26 Module not found: Error: Can't resolve 'util' in 'C:\Users\A\Videos\React class\shop1\shop1\node_modules\glob' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "util": require.resolve("util/") }' - install 'util' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "util": false } ERROR in ./node_modules/glob/sync.js 14:11-26 Module not found: Error: Can't resolve 'path' in 'C:\Users\A\Videos\React class\shop1\shop1\node_modules\glob' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' - install 'path-browserify' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "path": false } ERROR in ./node_modules/glob/sync.js 16:13-30 Module not found: Error: Can't resolve 'assert' in 'C:\Users\A\Videos\React class\shop1\shop1\node_modules\glob' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "assert": require.resolve("assert/") }' - install 'assert' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "assert": false } ERROR in ./node_modules/node-sass/lib/extensions.js 4:10-27 Module not found: Error: Can't resolve 'os' in 'C:\Users\A\Videos\React class\shop1\shop1\node_modules\node-sass\lib' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "os": require.resolve("os-browserify/browser") }' - install 'os-browserify' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "os": false } ERROR in ./node_modules/node-sass/lib/extensions.js 5:9-22 Module not found: Error: Can't resolve 'fs' in 'C:\Users\A\Videos\React class\shop1\shop1\node_modules\node-sass\lib' ERROR in ./node_modules/node-sass/lib/extensions.js 6:11-26 Module not found: Error: Can't resolve 'path' in 'C:\Users\A\Videos\React class\shop1\shop1\node_modules\node-sass\lib' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' - install 'path-browserify' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "path": false } ERROR in ./node_modules/node-sass/lib/index.js 4:11-26 Module not found: Error: Can't resolve 'path' in 'C:\Users\A\Videos\React class\shop1\shop1\node_modules\node-sass\lib' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' - install 'path-browserify' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "path": false } ERROR in ./node_modules/true-case-path/index.js 5:11-26 Module not found: Error: Can't resolve 'path' in 'C:\Users\A\Videos\React class\shop1\shop1\node_modules\true-case-path' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' - install 'path-browserify' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "path": false } -
강의 목자 : 보스 AI 동영상 시간 : 보스 버그 수정 : 10분 03 초 부분 영상에 나온 회전 노드는 플레이어 캐릭터 방향으로 너무 급격하게 2D 처럼 회전해서 너무 부자연 스럽습니다... 부드럽게 회전 하려면 어떤 노드로 해야 되는지 궁굼합니다. 자연스럽게 회전 하는 노드로 변경하고 싶어요 ㅠ_ㅠ