# Npm caver-js 설치후 사용시 모듈 에러

**URL:** <https://devforum.kaia.io/t/npm-caver-js/4423>\
**Category:** Caver\
**Created:** [3월 17, 2022, 9:34오전 UTC](https://devforum.kaia.io/t/npm-caver-js/4423 "2022-03-17T09:34:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hananet0282](https://yyz1.discourse-cdn.com/flex035/user_avatar/devforum.kaia.io/hananet0282/32/2136_2.png) [@hananet0282](https://devforum.kaia.io/u/hananet0282)\
**Post date:** [3월 17, 2022, 9:34오전 UTC](https://devforum.kaia.io/t/npm-caver-js/4423/1 "2022-03-17T09:34:25Z")

</div>

안녕하세요.  
클레이튼 컨트렉트를 연동중에 caver-js를 설치까지는 잘되나, 사용하려고 하면  
This dependency was not found: friendly-errors 18:31:12  
friendly-errors 18:31:12

- fs in ./node\_modules/caver-js/packages/caver-ipfs/src/index.js friendly-errors 18:31:12  
friendly-errors 18:31:12  
To install it, you can run: npm install --save fs

해당 에러가 발생하고있습니다.

fs 는 메시지에 나와있는것처럼 설치도 해보고 전역으로도 설치해보앗지만  
전혀 해결이 안되고있습니다.

caver-js 를 require 하는것만으로도 오류가 나고있는 상태입니다.  
제가 무슨 잘못을했을지요 ㅠㅜ  
caver-js는 1.8.0 버전입니다.

---

<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:** [3월 17, 2022, 2:35오후 UTC](https://devforum.kaia.io/t/npm-caver-js/4423/2 "2022-03-17T14:35:22Z")

</div>

사용하시는 NPM 버젼도 같이 공유해주실 수 있으신가요?

---

<div class="post-metadata">

**Author:** ![hananet0282](https://yyz1.discourse-cdn.com/flex035/user_avatar/devforum.kaia.io/hananet0282/32/2136_2.png) [@hananet0282](https://devforum.kaia.io/u/hananet0282)\
**Post date:** [3월 18, 2022, 12:21오전 UTC](https://devforum.kaia.io/t/npm-caver-js/4423/3 "2022-03-18T00:21:37Z")

</div>

npm 버전은 8.1.0 입니다.

node 최신버전 사용중입니다.
