# \<초보개발\>명품영수증어플리케이션 상품 등록시 오류 로그

**URL:** <https://devforum.kaia.io/t/topic/693>\
**Category:** KAS (아카이브)\
**Tags:** klaytn\
**Created:** [2월 20, 2021, 12:35오후 UTC](https://devforum.kaia.io/t/topic/693 "2021-02-20T12:35:47Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![maha0313](https://yyz1.discourse-cdn.com/flex035/user_avatar/devforum.kaia.io/maha0313/32/400_2.png) [@maha0313](https://devforum.kaia.io/u/maha0313)\
**Post date:** [2월 20, 2021, 12:35오후 UTC](https://devforum.kaia.io/t/topic/693/1 "2021-02-20T12:35:47Z")

</div>

안녕하세요. 초보 개발자입니다. 관심이 있어 샘플 구성 중

명풍 영수증 어플 상품 등록시 아래 오류가 발생하고 있는데 며칠째 진전이 없어 도움을 받을 수 있을까 하여 글 올리게되었습니다.

Invalid JSON RPC response: “RBAC: access denied”  
Invalid JSON RPC response: “RBAC: access denied”  
post /api/products  
name test symbol test1 sellerPrivateKey 0x21a9de779f11023eb7a3fe  
Refused to set unsafe header “origin”  
Refused to set unsafe header “origin”  
Refused to set unsafe header “origin”  
Invalid JSON RPC response: “RBAC: access denied”  
Invalid JSON RPC response: “RBAC: access denied”  
Invalid JSON RPC response: “RBAC: access denied”  
(node:8588) UnhandledPromiseRejectionWarning: Error: Invalid JSON RPC response: “RBAC: access denied”  
at Object.InvalidResponse (C:\Users\yyhwe\New\node\_modules\caver-js\packages\caver-core-helpers\src\errors.js:79:16)  
at XMLHttpRequest.request.onreadystatechange (C:\Users\yyhwe\New\node\_modules\caver-js\packages\caver-core-requestmanager\caver-providers-http\src\index.js:107:36)  
at XMLHttpRequestEventTarget.dispatchEvent (C:\Users\yyhwe\New\node\_modules\xhr2-cookies\dist\xml-http-request-event-target.js:34:22)  
at XMLHttpRequest.\_setReadyState (C:\Users\yyhwe\New\node\_modules\xhr2-cookies\dist\xml-http-request.js:208:14)  
at XMLHttpRequest.\_onHttpResponseEnd (C:\Users\yyhwe\New\node\_modules\xhr2-cookies\dist\xml-http-request.js:318:14)  
at IncomingMessage. (C:\Users\yyhwe\New\node\_modules\xhr2-cookies\dist\xml-http-request.js:289:61)  
at IncomingMessage.emit (events.js:194:15)  
at endReadableNT (\_stream\_readable.js:1125:12)  
at process.\_tickCallback (internal/process/next\_tick.js:63:19)  
(node:8588) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 10)

감사합니다.

---

<div class="post-metadata">

**Author:** ![hwlee](https://yyz1.discourse-cdn.com/flex035/user_avatar/devforum.kaia.io/hwlee/32/138_2.png) [@hwlee](https://devforum.kaia.io/u/hwlee)\
**Post date:** [2월 22, 2021, 2:42오전 UTC](https://devforum.kaia.io/t/topic/693/2 "2021-02-22T02:42:54Z")

</div>

@maha0313

마하님 안녕하세요. 올려주신 로그만으로는 현재 처하신 문제 상황이나 맥락을 파악하기 어렵습니다.

커뮤니티에 계신 다른 분들이 좀 더 잘 도와줄 수 있게 맥락을 좀 더 자세하게 써주실 수 있을까요?  
아래 글들을 참고해보신 뒤 질문을 보강해주시면 좋을 것 같습니다 😉

> **[개발자 커뮤니티에 질문 잘 하는 방법](https://medium.com/@kiwanjung/%EA%B0%9C%EB%B0%9C%EC%9E%90-%EC%BB%A4%EB%AE%A4%EB%8B%88%ED%8B%B0%EC%97%90-%EC%A7%88%EB%AC%B8-%EC%9E%98-%ED%95%98%EB%8A%94-%EB%B0%A9%EB%B2%95-18863f06a1b6)**
>
> “질문 많이 하세요. 바보 같은 질문은 없습니다 ^^”

> **[질문을 잘하는 개발자](https://jbee.io/essay/good_questionor/)**
>
> …

> **[개발자 질문하는 방법 !!](https://www.dsun.kr/11)**
>
>  안녕하세요? 이번 티스토링에서는 개발자 질문하는 방법에 대한 내용입니다. 잉여개발자의 꿀위키에서 내용을 가져 왔습니다.  네이버 지식iN이나 다음 지식에서 검색이 올라오는 내용이 보면 답변하기 곤란한..

---

<div class="post-metadata">

**Author:** ![hwlee](https://yyz1.discourse-cdn.com/flex035/user_avatar/devforum.kaia.io/hwlee/32/138_2.png) [@hwlee](https://devforum.kaia.io/u/hwlee)\
**Post date:** [2월 22, 2021, 3:09오전 UTC](https://devforum.kaia.io/t/topic/693/3 "2021-02-22T03:09:31Z")

</div>

@maha0313

포럼에 올라온 글 중에는 아래 질문 참고해보시면 좋을 것 같아요.  
상황에 대한 구체적인 설명 + 코드 스니펫이 들어가 있어서 답변자 분께서 답변주기 용이한 질문이었던 것 같습니다. 👍

> [@Error: {"code":1034210,"message":"Unsupported method - klay\_sendTransaction"}](https://devforum.kaia.io/t/error-code-1034210-message-unsupported-method-klay-sendtransaction/690):
>
> Hi, I’m facing a issue when trying to call contract method “send”. What I understand is that I can send a transaction to call un function on my contract with a caver.contract instance. I works correctly for a “call” method, but no chance with a “send” method. In order to avoid this error, I have to create a transaction from scratch with my input data. But I suppose that I missing something. Thank you. Here the code: const caver = new Caver(new Caver.providers.HttpProvider("https://node-api…

---

<div class="post-metadata">

**Author:** ![maha0313](https://yyz1.discourse-cdn.com/flex035/user_avatar/devforum.kaia.io/maha0313/32/400_2.png) [@maha0313](https://devforum.kaia.io/u/maha0313)\
**Post date:** [2월 22, 2021, 6:51오전 UTC](https://devforum.kaia.io/t/topic/693/4 "2021-02-22T06:51:58Z")

</div>

네 감사합니다. 잘 참고하여 더 정확하게 질문올리도록 하겠습니다.

---

<div class="post-metadata">

**Author:** ![Melvin](https://yyz1.discourse-cdn.com/flex035/user_avatar/devforum.kaia.io/melvin/32/266_2.png) [@Melvin](https://devforum.kaia.io/u/Melvin)\
**Post date:** [2월 22, 2021, 7:55오전 UTC](https://devforum.kaia.io/t/topic/693/5 "2021-02-22T07:55:16Z")

</div>

안녕하세요 해당 튜토리얼 작성자입니다.  
구체적인 재현 환경 및 시나리오를 말씀해주시면 도움이 될 것 같습니다!

---

<div class="post-metadata">

**Author:** ![maha0313](https://yyz1.discourse-cdn.com/flex035/user_avatar/devforum.kaia.io/maha0313/32/400_2.png) [@maha0313](https://devforum.kaia.io/u/maha0313)\
**Post date:** [2월 23, 2021, 12:35오전 UTC](https://devforum.kaia.io/t/topic/693/6 "2021-02-23T00:35:27Z")

</div>

넵.

우선 윈도우10에서 크롬 브라우저로 해당 튜토리얼 셋업 및 Test 하였습니다.

accessKeyID와 secretKey는 [KAS Console](https://console.klaytnapi.com/%EC%97%90%EC%84%9C) 발급받아  
‘server.js’ 와 'ProductAdd.js’에 적용하였고 'yarn dev’실행 후 웹 페이지에서  
'제품 추가하기’를 하여 이미지 및 네임, 심볼 입력 후 '추가’버튼을 누르니 제품 등록 오류가 나면서 콘솔에서 발생한 에러 로그였습니다.

이 후, server.js에 console로그를 실행 부위별로 찍어 보았는데

const keyring = caver.wallet.keyring.createFromPrivateKey(  
req.body.sellerPrivateKey  
);  
console.log(keyring);

부분에 Null값으로 발생되는 오류라 확인되어 집니다.

혹시 keyring 변수에 Null 발생사유가 제가 조치를 누락할 만한 부분이 있는지 알 수 있을까요?

---

<div class="post-metadata">

**Author:** ![maha0313](https://yyz1.discourse-cdn.com/flex035/user_avatar/devforum.kaia.io/maha0313/32/400_2.png) [@maha0313](https://devforum.kaia.io/u/maha0313)\
**Post date:** [2월 23, 2021, 1:04오전 UTC](https://devforum.kaia.io/t/topic/693/7 "2021-02-23T01:04:41Z")

</div>

혹시 제가 Seller Private Key를

[https://docs.klaytnapi.com/getting-started/account](https://docs.klaytnapi.com/getting-started/account)

위 참조를 통한 Wallet API로 만드는 방식을 잘 못해서

[https://baobab.wallet.klaytn.com/](https://baobab.wallet.klaytn.com/)

에서 만든 개발 계정 PrivateKey를 Seller Private Key로 입력하였는데 이 사유도 문제의 원인일 수 있을까요?

---

<div class="post-metadata">

**Author:** ![Melvin](https://yyz1.discourse-cdn.com/flex035/user_avatar/devforum.kaia.io/melvin/32/266_2.png) [@Melvin](https://devforum.kaia.io/u/Melvin)\
**Post date:** [2월 23, 2021, 11:59오후 UTC](https://devforum.kaia.io/t/topic/693/8 "2021-02-23T23:59:19Z")

</div>

@maha0313 상세한 답변 감사합니다. 혹시 `req.body.sellerPrivateKey` 에는 값이 잘 들어갔는지 확인해보실 수 있을까요? [wallet.klaytn.com](http://wallet.klaytn.com) 을 통해서 발급받은 키는 잘 작동해야하는 것이 맞습니다. (저도 튜토리얼을 만들 때 [wallet.klaytn.com](http://wallet.klaytn.com) 을 통해 발급받은 키로 작업을 했습니다)

---

<div class="post-metadata">

**Author:** ![maha0313](https://yyz1.discourse-cdn.com/flex035/user_avatar/devforum.kaia.io/maha0313/32/400_2.png) [@maha0313](https://devforum.kaia.io/u/maha0313)\
**Post date:** [2월 24, 2021, 12:14오전 UTC](https://devforum.kaia.io/t/topic/693/9 "2021-02-24T00:14:00Z")

</div>

답변 감사드립니다.

우선 req.body.sellerPrivateKey 값이

사이트에서 입력한 판매자 개인키가 넘어가는 것은

console.log(req.body.sellerPrivateKey)

로 확인하였습니다.

여기까지는 이상이 없어보이는데

caber.wallet.keyring.createFromPrivateKey()

가 동작을 안하는 듯 합니다.

npm module에 caver-js도 있어 모듈 누락 의심도 아닌긔 같은데 혹시 추가적으로 조치해야 하는 상황이 있을런지요…

답변 감사드립니다.

---

<div class="post-metadata">

**Author:** ![Melvin](https://yyz1.discourse-cdn.com/flex035/user_avatar/devforum.kaia.io/melvin/32/266_2.png) [@Melvin](https://devforum.kaia.io/u/Melvin)\
**Post date:** [2월 24, 2021, 3:46오전 UTC](https://devforum.kaia.io/t/topic/693/10 "2021-02-24T03:46:00Z")

</div>

안녕하세요. 아래 코드를 [wallet.klaytn.com](http://wallet.klaytn.com) 에서 발급받은 키로 생성했을 때에는 잘 되는 것을 확인했습니다. 혹시 괜찮으시다면 해당 키를 melvin.woo@groundx.xyz 로 보내주실 수 있을까요? 저희쪽에서도 해당 키를 가지고 디버깅해보는 것 이외에는 뚜렷한 방법은 없어보입니다. 혹시 새로 키를 발급해서 사용하셔도 동일한 증상이 나타나시나요?

```auto
const keyring = caver.wallet.keyring.createFromPrivateKey(
req.body.sellerPrivateKey
);
console.log(keyring);
```

---

<div class="post-metadata">

**Author:** ![maha0313](https://yyz1.discourse-cdn.com/flex035/user_avatar/devforum.kaia.io/maha0313/32/400_2.png) [@maha0313](https://devforum.kaia.io/u/maha0313)\
**Post date:** [2월 24, 2021, 4:00오전 UTC](https://devforum.kaia.io/t/topic/693/11 "2021-02-24T04:00:37Z")

</div>

와…감사합니다.

제가 새로 발급받아 다시 적용해보고 안될경우 메일 발송하도록하겠습니다.

정말 감사드립니다.

---

<div class="post-metadata">

**Author:** ![Melvin](https://yyz1.discourse-cdn.com/flex035/user_avatar/devforum.kaia.io/melvin/32/266_2.png) [@Melvin](https://devforum.kaia.io/u/Melvin)\
**Post date:** [2월 24, 2021, 4:20오전 UTC](https://devforum.kaia.io/t/topic/693/12 "2021-02-24T04:20:10Z")

</div>

네 감사합니다. 좋은 하루 보내세요!

---

<div class="post-metadata">

**Author:** ![11112](https://yyz1.discourse-cdn.com/flex035/user_avatar/devforum.kaia.io/11112/32/382_2.png) [@11112](https://devforum.kaia.io/u/11112)\
**Post date:** [2월 24, 2021, 8:19오전 UTC](https://devforum.kaia.io/t/topic/693/13 "2021-02-24T08:19:26Z")

</div>

저도 같은 오류로 상품 등록이 제대로 작동하지 않고 있습니다… 하루 빨리 문제가 해결되었으면 좋겠습니다.

---

<div class="post-metadata">

**Author:** ![maha0313](https://yyz1.discourse-cdn.com/flex035/user_avatar/devforum.kaia.io/maha0313/32/400_2.png) [@maha0313](https://devforum.kaia.io/u/maha0313)\
**Post date:** [2월 24, 2021, 9:44오후 UTC](https://devforum.kaia.io/t/topic/693/14 "2021-02-24T21:44:56Z")

</div>

안녕하세요.

지금 테스트해보고 계속 안되어 메일 드렸습니다.

확인 부탁드리겠습니다.

---

<div class="post-metadata">

**Author:** ![maha0313](https://yyz1.discourse-cdn.com/flex035/user_avatar/devforum.kaia.io/maha0313/32/400_2.png) [@maha0313](https://devforum.kaia.io/u/maha0313)\
**Post date:** [2월 24, 2021, 11:14오후 UTC](https://devforum.kaia.io/t/topic/693/15 "2021-02-24T23:14:07Z")

</div>

혹시 제 node 버전이  
10.15.3 이고

Npm버전이  
6.4.1 인데

버전 업을 해야할까요?

---

<div class="post-metadata">

**Author:** ![Melvin](https://yyz1.discourse-cdn.com/flex035/user_avatar/devforum.kaia.io/melvin/32/266_2.png) [@Melvin](https://devforum.kaia.io/u/Melvin)\
**Post date:** [3월 9, 2021, 7:53오전 UTC](https://devforum.kaia.io/t/topic/693/16 "2021-03-09T07:53:58Z")

</div>

> [@명품 영수증 관리 애플리케이션 실습](https://devforum.kaia.io/t/topic/733):
>
> 며칠 정도 지나도 이전 질문에 답변이 올라오지 않아서 다시 올렸습니다. 명품 영수증 관리 애플리케이션을 튜토리얼 그대로 실습하고 있는데 상품 등록이 제대로 되지 않습니다. klaytn wallet도 발급 받아서 적용했습니다. 어떻게 하면 될지 궁금합니다.

안녕하세요. @maha0313 님, 제가 위 질문에도 답변을 남겼는데, 최신 KAS API와 호출 방법이 맞지 않아서 생긴 문제로 파악됩니다. 위의 링크에 제가 단 답변을 참조하셔서 최신 코드로도 한번 확인해주실 수 있을까요? 최신 코드로 업데이트한 다음, 정상작동하는 것을 확인하였습니다.

감사합니다.

---

<div class="post-metadata">

**Author:** ![maha0313](https://yyz1.discourse-cdn.com/flex035/user_avatar/devforum.kaia.io/maha0313/32/400_2.png) [@maha0313](https://devforum.kaia.io/u/maha0313)\
**Post date:** [3월 11, 2021, 9:37오후 UTC](https://devforum.kaia.io/t/topic/693/17 "2021-03-11T21:37:40Z")

</div>

안녕하십니까 Melvin님!

도움받아 지금 제품 등록은 문제없이 잘 되었습니다.

하지만 등록된 제품의 영수증 발행하기에서 이미지 등록시

“Localhost:망했다”

가 메시지 출력되고 다시 영수증 발행하기 버튼을 누르면 아래 errro로그가 콘솔에서 확인되면서 영수증은 발행되지 않습니다.

[0] get /api/customers/:addr 0x69a6b58ec381a4eaaf2316946d0b90bd293f6d88  
[0] post /api/receipts  
[0] req.body.sellerPrivateKey: 0x21a9de779f11023eb7a3fe1f0dbc2c04c920ee0f704197909001d229e4e100f2  
[0] req.body.productID: 22  
[0] req.body.toAddr: 0xfd3886581c0919d4dab2b5a69094a9354393794e64c3b84534202ab906127073  
[0] end of /api/products post  
[0] keyring.address 0x69a6b58ec381a4eaaf2316946d0b90bd293f6d88  
[0] contractAddr 0x56ECb8f3140c60b6b94D36c8737245DA3A98CE9B  
[0] randomID 7448206930741831  
[0] we can mint  
[0] (node:9436) UnhandledPromiseRejectionWarning: Error: invalid address (arg=“to”, coderType=“address”, value=“0xfd3886581c0919d4dab2b5a69094a9354393794e64c3b84534202ab906127073”, version=4.0.48)  
[0] at Object.throwError (C:\Users\yyhwe\New\node\_modules\ethers\errors.js:76:17)  
[0] at CoderAddress.encode (C:\Users\yyhwe\New\node\_modules\ethers\utils\abi-coder.js:507:20)  
[0] at C:\Users\yyhwe\New\node\_modules\ethers\utils\abi-coder.js:645:59  
[0] at Array.forEach ()  
[0] at pack (C:\Users\yyhwe\New\node\_modules\ethers\utils\abi-coder.js:644:12)  
[0] at CoderTuple.encode (C:\Users\yyhwe\New\node\_modules\ethers\utils\abi-coder.js:804:16)  
[0] at AbiCoder.encode (C:\Users\yyhwe\New\node\_modules\ethers\utils\abi-coder.js:941:77)  
[0] at ABICoder.encodeParameters (C:\Users\yyhwe\New\node\_modules\caver-js\packages\caver-abi\src\index.js:98:27)  
[0] at C:\Users\yyhwe\New\node\_modules\caver-js\packages\caver-contract\src\index.js:540:28  
[0] at Array.map ()  
[0] (node:9436) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 16)

혹시 다시한번 도움좀 받을 수 있을까요?

---

<div class="post-metadata">

**Author:** ![11112](https://yyz1.discourse-cdn.com/flex035/user_avatar/devforum.kaia.io/11112/32/382_2.png) [@11112](https://devforum.kaia.io/u/11112)\
**Post date:** [3월 12, 2021, 1:56오전 UTC](https://devforum.kaia.io/t/topic/693/18 "2021-03-12T01:56:03Z")

</div>

저도 같은 오류가 발생하고 있습니다…

저한테서 발생했던 브라우저 로그입니다.  
Warning: Each child in a list should have a unique “key” prop.

Check the render method of `ReceiptPage`. See [https://fb.me/react-warning-keys](https://fb.me/react-warning-keys) for more information.  
in WithStyles(ForwardRef(TableCell)) (at ReceiptPage.js:178)  
in ReceiptPage (created by WithStyles(ReceiptPage))  
in WithStyles(ReceiptPage) (at Product.js:9)  
in div (created by ForwardRef(Container))  
in ForwardRef(Container) (created by WithStyles(ForwardRef(Container)))  
in WithStyles(ForwardRef(Container)) (at Product.js:8)  
in Product (created by Context.Consumer)  
in Route (at App.js:18)  
in Switch (at App.js:17)  
in div (created by Styled(MuiBox))  
in Styled(MuiBox) (at App.js:10)  
in App (at Root.js:7)  
in Router (created by BrowserRouter)  
in BrowserRouter (at Root.js:6)  
in Root (at src/index.js:22)  
in ThemeProvider (at src/index.js:21) index.js:1  
e index.js:1  
React 5  
render ReceiptPage.js:174  
React 8  
unstable\_runWithPriority scheduler.development.js:653  
React 6  
Warning: Can’t perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.  
in ProductPage (created by WithStyles(ProductPage))  
in WithStyles(ProductPage) (at Product.js:10)  
in div (created by ForwardRef(Container))  
in ForwardRef(Container) (created by WithStyles(ForwardRef(Container)))  
in WithStyles(ForwardRef(Container)) (at Product.js:8)  
in Product (created by Context.Consumer) index.js:1  
getReceipts: [object Object] ReceiptPage.js:131  
Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See [https://fb.me/react-unsafe-component-lifecycles](https://fb.me/react-unsafe-component-lifecycles) for details.

- Move data fetching code or side effects to componentDidUpdate.
- If you’re updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: [https://fb.me/react-derived-state](https://fb.me/react-derived-state)
- Rename componentWillReceiveProps to UNSAFE\_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE\_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.

Please update the following components: Reader react-dom.development.js:88  
handleClose

---

<div class="post-metadata">

**Author:** ![Melvin](https://yyz1.discourse-cdn.com/flex035/user_avatar/devforum.kaia.io/melvin/32/266_2.png) [@Melvin](https://devforum.kaia.io/u/Melvin)\
**Post date:** [3월 12, 2021, 2:26오전 UTC](https://devforum.kaia.io/t/topic/693/19 "2021-03-12T02:26:53Z")

</div>

@11112 @maha0313 안녕하세요. 영수증 발급시 요청되는 이미지는 영수증 수신자 주소를 나타내는 QR코드인 경우입니다. QR코드가 있으시면 이미지를 등록하셔도 되지만, 그렇지 않다면 아래의 입력창에 수신자 주소값만 입력해주셔도 정상 동작합니다. 에러 문구를 적절하게 수정해야겠네요. 두 분 다 한번 해보시고 다시 알려주실 수 있을까요?

---

<div class="post-metadata">

**Author:** ![11112](https://yyz1.discourse-cdn.com/flex035/user_avatar/devforum.kaia.io/11112/32/382_2.png) [@11112](https://devforum.kaia.io/u/11112)\
**Post date:** [3월 12, 2021, 2:46오전 UTC](https://devforum.kaia.io/t/topic/693/20 "2021-03-12T02:46:26Z")

</div>

말씀하신대로 했더니 판매자 탭은 제대로 작동합니다. 제가 아무 이미지나 올려야 되는 줄 알고 착각했네요;; 하지만 고객 탭에서 불러올 때 에러가 떠서 제대로 불러와지질 않네요… 오류 좀 봐 주셨으면 합니다.

브라우저  
Warning: Each child in a list should have a unique “key” prop.

Check the render method of `CustomerReceiptPage`. See [https://fb.me/react-warning-keys](https://fb.me/react-warning-keys) for more information.  
in WithStyles(ForwardRef(TableCell)) (at CustomerReceiptPage.js:174)  
in CustomerReceiptPage (created by WithStyles(CustomerReceiptPage))  
in WithStyles(CustomerReceiptPage) (at Customer.js:9)  
in div (created by ForwardRef(Container))  
in ForwardRef(Container) (created by WithStyles(ForwardRef(Container)))  
in WithStyles(ForwardRef(Container)) (at Customer.js:7)  
in Customer (created by Context.Consumer)  
in Route (at App.js:15)  
in Switch (at App.js:13)  
in div (created by Styled(MuiBox))  
in Styled(MuiBox) (at App.js:10)  
in App (at Root.js:7)  
in Router (created by BrowserRouter)  
in BrowserRouter (at Root.js:6)  
in Root (at src/index.js:22)  
in ThemeProvider (at src/index.js:21) index.js:1  
e index.js:1  
React 5  
render CustomerReceiptPage.js:170  
React 8  
unstable\_runWithPriority scheduler.development.js:653  
React 26  
js index.js:20  
Webpack 7  
getReceipts CustomerReceiptPage.js:124  
Warning: Can’t perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.  
in ProductPage (created by WithStyles(ProductPage))  
in WithStyles(ProductPage) (at Product.js:10)  
in div (created by ForwardRef(Container))  
in ForwardRef(Container) (created by WithStyles(ForwardRef(Container)))  
in WithStyles(ForwardRef(Container)) (at Product.js:8)  
in Product (created by Context.Consumer)  
in Route (at App.js:19)

Node js  
[1] Proxy error: Could not proxy request /api/receipts from localhost:3000 to [http://localhost:5000/](http://localhost:5000/).  
[1] See [Errors | Node.js v15.11.0 Documentation](https://nodejs.org/api/errors.html#errors_common_system_errors) for more information (ECONNRESET).

[다음 페이지](https://devforum.kaia.io/t/topic/693.md?page=2)
