55,000원
다른 수강생들이 자주 물어보는 질문이 궁금하신가요?
- 미해결앵귤러 파이어베이스 완전정복 - PetStore 쇼핑몰 프로젝트
initializeApp 부분에 오류가 납니다.
강의 내용 중 initializeApp 추가하는 부분에 빨간줄이 그어지면서 인식을 못하네요. 마우스를 올려보면 Property 'initializeApp' does not exist on type 'typeof import("d:/\uAC1C\uC778\uD30C\uC77C/\uC575\uADE4\uB7EC/angular-petlist/node_modules/firebase/index")'. 다음과 같은 에러가 뜨는데 어떻게 해결하면 좋을까요?? 파이어베이스는 강의에 나온대로 설치 완료한 상태입니다!
- 미해결앵귤러 파이어베이스 완전정복 - PetStore 쇼핑몰 프로젝트
오류가 납니다
선생님이 작성해주신 ng g @angualr/material:material-nav --name=nav 이 코드를 치니까 An unhandled exception occurred: Collection "@angualr/material" cannot be resolved. See "C:\Users\heidi\AppData\Local\Temp\ng-uE61rO\angular-errors.log" for further details. 이런 문구가 뜨면서 작동을 안 하네요 ㅠㅠ 어떻게 해결하면 좋을까요?
- 미해결앵귤러 파이어베이스 완전정복 - PetStore 쇼핑몰 프로젝트
섹션2 FireBase의 petList활용하기에서 에러나네요
설명대로 다운로드받은 폴더에서 복사하고 새로 생성한 프로젝트에 붙여넣기했는데 저도 저 위와 같은 오류문구가 나오네요 ./src/app/services/item.service.ts:2:0-41 - Error: Module not found: Error: Can't resolve 'firebase/app' in 'C:\Users\jun\Documents\angular-08liter\angular-petlist\src\app\services' ./src/app/services/item.service.ts:3:0-27 - Error: Module not found: Error: Can't resolve 'firebase/database' in 'C:\Users\jun\Documents\angular-08liter\angular-petlist\src\app\services' Error: src/app/classes/item.ts:2:5 - error TS2564: Property 'key' has no initializer and is not definitely assigned in the constructor. 2 key: string; ~~~ Error: src/app/classes/item.ts:3:5 - error TS2564: Property 'id' has no initializer and is not definitely assigned in the constructor. 3 id: string; ~~ Error: src/app/classes/item.ts:4:5 - error TS2564: Property 'name' has no initializer and is not definitely assigned in the constructor. 4 name: string; ~~~~ Error: src/app/classes/item.ts:5:5 - error TS2564: Property 'available' has no initializer and is not definitely assigned in the constructor. 5 available: boolean; ~~~~~~~~~ Error: src/app/item/item.component.html:4:27 - error TS2341: Property 'item' is private and only accessible within class 'ItemComponent'. 4 <input [(ngModel)]="item.id" placeholder="ID"/> ~~~~ src/app/item/item.component.ts:8:16 8 templateUrl: './item.component.html', m ~~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component ItemComponent. Error: src/app/item/item.component.html:4:27 - error TS2341: Property 'item' is private and only accessible within class 'ItemComponent'. 4 <input [(ngModel)]="item.id" placeholder="ID"/> ~~~~ src/app/item/item.component.ts:8:16 8 templateUrl: './item.component.html', ~~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component ItemComponent. Error: src/app/item/item.component.html:9:27 - error TS2341: Property 'item' is private and only accessible within class 'ItemComponent'. 9 <input [(ngModel)]="item.name" placeholder="Name"/> ~~~~ src/app/item/item.component.ts:8:16 8 templateUrl: './item.component.html', ~~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component ItemComponent. Error: src/app/item/item.component.html:9:27 - error TS2341: Property 'item' is private and only accessible within class 'ItemComponent'. 9 <input [(ngModel)]="item.name" placeholder="Name"/> ~~~~ src/app/item/item.component.ts:8:16 8 templateUrl: './item.component.html', ~~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component ItemComponent. Error: src/app/item/item.component.html:14:27 - error TS2341: Property 'item' is private and only accessible within class 'ItemComponent'. 14 <input [(ngModel)]="item.available" type="checkbox"/> ~~~~ src/app/item/item.component.ts:8:16 8 templateUrl: './item.component.html', ~~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component ItemComponent. Error: src/app/item/item.component.html:14:27 - error TS2341: Property 'item' is private and only accessible within class 'ItemComponent'. 14 <input [(ngModel)]="item.available" type="checkbox"/> ~~~~ src/app/item/item.component.ts:8:16 8 templateUrl: './item.component.html', ~~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component ItemComponent. Error: src/app/item/item.component.ts:34:9 - error TS2322: Type 'Item | undefined' is not assignable to type 'Item'. Type 'undefined' is not assignable to type 'Item'. 34 this.item = this.itemService.getItem(id); ~~~~~~~~~ Error: src/app/services/item.service.ts:4:27 - error TS2307: Cannot find module 'firebase/app' or its corresponding type declarations. 4 import * as firebase from 'firebase/app'; ~~~~~~~~~~~~~~ Error: src/app/services/item.service.ts:36:33 - error TS7006: Parameter 'snapshot' implicitly has an 'any' type. 36 this.itemList.on('value', snapshot => { ~~~~~~~~ Error: src/app/services/item.service.ts:37:27 - error TS7006: Parameter 'snap' implicitly has an 'any' type. 37 snapshot.forEach( snap => { 라고 나고있는데 진행이 안되고있어요
- 미해결앵귤러 파이어베이스 완전정복 - PetStore 쇼핑몰 프로젝트
9:12
Error: src/app/classes/item.ts:2:5 - error TS2564: Property 'id' has no initializer and is not definitely assigned in the constructor. 2 id: string; src/app/classes/item.ts:3:5 - error TS2564: Property 'name' has no initializer and is not definitely assigned in the constructor. 3 name: string; src/app/classes/item.ts:4:5 - error TS2564: Property 'available' has no initializer and is not definitely assigned in the constructor. 4 available: boolean; src/app/services/item.service.ts:15:31 - error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'. Type 'null' is not assignable to type 'string'. 15 this.items = JSON.parse(localStorage.getItem('items')); src/app/item/item.component.ts:33:9 - error TS2322: Type 'Item | undefined' is not assignable to type 'Item'. Type 'undefined' is not assignable to type 'Item'. 33 this.item = this.itemService.getItem(id); 오류가 생깁니다..
- 미해결앵귤러 파이어베이스 완전정복 - PetStore 쇼핑몰 프로젝트
6:45
그대로 가져왔는데 order을 계속 인식하지 못합니다. 어떻게 해야 할가요
- 미해결앵귤러 파이어베이스 완전정복 - PetStore 쇼핑몰 프로젝트
2:16 질문
강사님과 코드가 모두 같은 것을 확인을 했습니다. 왜 오류인지 모르겠습니다. angular-material.module.ts 파일의 19번재 줄 angular-petstore/node_modules/@angular/material/index.d.ts' is not a module. 문제가 일어납니다 어떻게 해결해야 하나요?
- 미해결앵귤러 파이어베이스 완전정복 - PetStore 쇼핑몰 프로젝트
2:15 어디서 카피할 수 있나요?
앵귤러 100분 강의에 있나요?
- 미해결앵귤러 파이어베이스 완전정복 - PetStore 쇼핑몰 프로젝트
구문 문의
angular관련 초보자라서 좀 헷갈리는 부분이 있는데 아래 구문에서 child의 의미는 무엇인가요? 파일 : app.component.ts 소스구문 ... this.commonService.userProfile.child(user.uid).update ...
- 해결됨앵귤러 파이어베이스 완전정복 - PetStore 쇼핑몰 프로젝트
소스코드를 찾지 못했습니다. 도움 부탁드립니다.
안녕하세요. 앵귤러 파이어베이스 관련해서.. 공부를 하다가 소스를 받아야 할거 같아서 creApple에 가서 Sample Code를 받았는데.. 해당 소스가 기초강좌에 있는 소스랑 같은 소스가 다운되는거 같습니다. 아니면 제가 소스 다운받는 위치를 잘못 알고 있는지 답변 부탁드립니다. 감사합니다.
- 미해결앵귤러 파이어베이스 완전정복 - PetStore 쇼핑몰 프로젝트
Angualr-Petstore 소스 위치를 알고싶습니다
안녕하세요, 좋은 강의 잘 듣고 있습니다. 시원시원한 설명 감사합니다. 혹시나 몰라 이전 강의를 찾아보았지만 angular-petlist에 대해서는 creapple 에서 src 파일을 복사-붙여넣기 하라는 안내가 있었습니다만 petstore 에 대한 언급은 찾을 수 없었습니다. 그리고 creapple에서 받은 petstore 는 아무래도 강의 마지막까지 진도가 다 나간 결과물인 것 같습니다. 결과값이 아닌 지금단계에 해당하는 (상품데이터 가져오기를 이제 듣고 있습니다) 소스의 위치를 알 수 있을까요?
- 미해결앵귤러 파이어베이스 완전정복 - PetStore 쇼핑몰 프로젝트
Database에 petlist가 추가되지 않습니다
설명이 너무나 시원시원하시고 깔끔하시어 요새 선생님 강의로 집중 공부하고있습니다. 강의 정말 좋아요ㅎㅎ 지금 ItemService에 static petlist = "/petlist/";을 생성한 후 addItem() 에서 //this.saveItem(); return this.fireData.ref(ItemService.petlist).push(item) 을 주고 save 후 데이터를 추가해 보았습니다. 그런데 파이어베이스 콘솔 상에서 petlist가 추가되지 않습니다. 그래서 이전강의에서 파이어베이스 설정에 누락이 없었는지 찾아보고 있습니다만 안보이네요.. 관련이 있을까 싶기는 하지만 creapple에서 가져온 firepetstore-export.json 을 export 했을때 강의와는 다르게 account, category, supplier 까지만 있고 강의에 있는 order 카테고리는 없습니다. 이건 제가 잘못 파일을 가져온걸까요. creapple에서 찾아보았지만 보이지 않아 문의드립니다. 확인 부탁드립니다^^
- 미해결앵귤러 파이어베이스 완전정복 - PetStore 쇼핑몰 프로젝트
enviorenment.ts 파일에 강사님의 api 정보가 포함되어있는거 같습니다.
제목 그대로 environment.ts 파일에 강사님의 파이어스토 정보가 들어가있는거 같은데, 대체하면 좋을거 같아 게시판에 글 남깁니다~