# Kas 마이그레이션 작업도중 os.type is not a function 에러가 발생되고 있습니다

**URL:** <https://devforum.kaia.io/t/kas-os-type-is-not-a-function/5232>\
**Category:** Caver\
**Created:** [5월 18, 2022, 9:39오전 UTC](https://devforum.kaia.io/t/kas-os-type-is-not-a-function/5232 "2022-05-18T09:39:52Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![margintop3498](https://yyz1.discourse-cdn.com/flex035/user_avatar/devforum.kaia.io/margintop3498/32/1750_2.png) [@margintop3498](https://devforum.kaia.io/u/margintop3498)\
**Post date:** [5월 18, 2022, 11:25오전 UTC](https://devforum.kaia.io/t/kas-os-type-is-not-a-function/5232/2 "2022-05-18T11:25:11Z")

</div>

안녕하세요

Next.js에서 브라우저에서 nodejs api를 사용할때 발생할 수 있는 오류인것같습니다.

webpack resolve fallback에 browserify 모듈을 추가해주시면 될것같습니다.

아래 포럼링크를 참고하셔서 진행해보시면 될것같습니다.

> [@Caver-js-ext-kas 에서 TypeError: os.type is not a function 오류](https://devforum.kaia.io/t/caver-js-ext-kas-typeerror-os-type-is-not-a-function/4130/2):
>
> 안녕하세요 해당 설정 확인부탁드립니다

---

_[View the full topic](https://devforum.kaia.io/t/kas-os-type-is-not-a-function/5232)._
