# Caver-js는 nodejs 환경이 아니면 실행을 못하는 것인가요?

**URL:** <https://devforum.kaia.io/t/caver-js-nodejs/5113>\
**Category:** Caver\
**Tags:** caver-js\
**Created:** [5월 7, 2022, 4:54오전 UTC](https://devforum.kaia.io/t/caver-js-nodejs/5113 "2022-05-07T04:54:43Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![lorance.call](https://yyz1.discourse-cdn.com/flex035/user_avatar/devforum.kaia.io/lorance.call/32/1653_2.png) [@lorance.call](https://devforum.kaia.io/u/lorance.call)\
**Post date:** [5월 8, 2022, 5:21오후 UTC](https://devforum.kaia.io/t/caver-js-nodejs/5113/2 "2022-05-08T17:21:19Z")

</div>

안녕하세요, webpack 5 버젼과 관련된 오류입니다.

아래 webpack.config.js 에 추가 해야하는 부분에 대한 가이드 확인 부탁드립니다.

> **[GitHub - klaytn/caver-js: Official caver-js repository](https://github.com/klaytn/caver-js#using-webpack--5)**
>
> Official caver-js repository. Contribute to klaytn/caver-js development by creating an account on GitHub.

buffer 에러가 상기 방법을 적용하는 경우에도 발생되는 경우 아래와 같이 추가해주시면 됩니다.  
`buffer: require.resolve("buffer/"),`

도움되셨길 바랍니다. 감사합니다.

---

_[View the full topic](https://devforum.kaia.io/t/caver-js-nodejs/5113)._
