• 카테고리

    질문 & 답변
  • 세부 분야

    프론트엔드

  • 해결 여부

    미해결

섹션3 MD파일을 사용하기 위한 라이브러리 세팅하기에서

23.06.21 12:27 작성 조회수 258

0

gatsby-config.js 파일을 수정하면 에러가 뜹니다..

C:\blog\my-blog>gatsby develop
success compile gatsby files - 1.894s
success load gatsby config - 0.032s

 ERROR  UNKNOWN

require() of ES Module C:\blog\my-blog\node_modules\unist-util-find\index.js from
C:\blog\my-blog\node_modules\gatsby-remark-external-links\index.js not supported.
Instead change the require of C:\blog\my-blog\node_modules\unist-util-find\index.js in
C:\blog\my-blog\node_modules\gatsby-remark-external-links\index.js to a dynamic import() which is available in all
CommonJS modules. (plugins)



  Error: [ERR_REQUIRE_ESM]: require() of ES Module C:\blog\my-blog\node_modules\unist-util-find\index.js from C:\blog\my
  -blog\node_modules\gatsby-remark-external-links\index.js not supported.
  Instead change the require of C:\blog\my-blog\node_modules\unist-util-find\index.js in C:\blog\my-blog\node_modules\ga
  tsby-remark-external-links\index.js to a dynamic import() which is available in all CommonJS modules.

  - index.js:2 Object.<anonymous>
    [my-blog]/[gatsby-remark-external-links]/index.js:2:14


not finished load plugins - 0.538s

다음과 같은 에러가 뜹니다... 구글링해도 모르겠습니다 ㅠㅠ

답변 1

답변을 작성해보세요.

1

전민지님의 프로필

전민지

2023.06.22

저도 동일한 에러가 계속 뜨네요 ㅠㅠ

이수환님의 프로필

이수환

질문자

2023.06.22

지금 일주일 째 하고 있는데 별짓을 다해도 안되네용...