작성
·
336
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
다음과 같은 에러가 뜹니다... 구글링해도 모르겠습니다 ㅠㅠ
지금 일주일 째 하고 있는데 별짓을 다해도 안되네용...