본문으로 건너뛰기
DevIndiQuasar
전체 글소개

개발

Module not found: Error: Can't resolve 'fs'

2023.10.101분 읽기AI

three.js 모듈중 ttf 로더를 사용 했을 경우 nuxt build error 가 발생하였다.

opentype.module.js 내부에서 nodejs 의 ‘fs’ 라는 모듈을 사용하는데 nuxt 에서 이 키워드가 충돌 되나 보다. nuxt config 에서 해당 키워드를 지워주면 에러가 사라진다.

https://alithedeveloper.tistory.com/entry/node-gyp-build-%EC%97%90%EB%9F%AC-Module-not-found-Error-Cant-resolve-fs-in-path

← 이전 글if I want to make generative AI platform, what knowledges need to me? book, youtube, lecture anything recommends.다음 글 →이미지 포맷 판별 방법
© 2017–2026 IndiQuasarRSS · 전체 글 · 소개