How can I resolve a compiling error in Gatsby? The issue occurs when I'm trying to run develop with command - Stack Over

I need help with this oneERRORUNKNOWNThere was an error compiling the html.js component for the dev

I need help with this one

ERROR UNKNOWN

There was an error compiling the html.js component for the development server. See our docs page on debugging HTML builds for help /debug-html TypeError: Cannot read properties of undefined (reading 'ContextRegistry')

894 | } 895 | }

896 | else { | ^ 897 | const valueDate = ref.valueAsDate || new Date(inputValue); 898 | const convertTimeToDate = (time) => new Date(new Date().toDateString() + ' ' + time); 899 | const isTime = ref.type == 'time';

WebpackError: TypeError: Cannot read properties of undefined (reading 'ContextRegistry')

  • index.esm.mjs:896 [gatsby-starter-default]/[react-hook-form]/dist/index.esm.mjs:896:1

  • index.esm.mjs:1405 [gatsby-starter-default]/[react-hook-form]/dist/index.esm.mjs:1405:1

  • bootstrap:19 gatsby-starter-default/webpack/bootstrap:19:1

  • index.esm.mjs:1421 [gatsby-starter-default]/[react-hook-form]/dist/index.esm.mjs:1421:1

  • bootstrap:19 gatsby-starter-default/webpack/bootstrap:19:1

  • bootstrap:19 gatsby-starter-default/webpack/bootstrap:19:1

  • index.js:367 [gatsby-starter-default]/[query-string]/index.js:367:3

  • bootstrap:19 gatsby-starter-default/webpack/bootstrap:19:1

  • index.esm.mjs:162 [gatsby-starter-default]/[react-hook-form]/dist/index.esm.mjs:162:1

  • bootstrap:19 gatsby-starter-default/webpack/bootstrap:19:1

  • dev-404-page.js:43 gatsby-starter-default/.cache/dev-404-page.js:43:43

  • bootstrap:19 gatsby-starter-default/webpack/bootstrap:19:1

not finished Building development bundle - 3.841s

I don't know what can I do to fix this problem

I rebuilded npm, and install all dependecies again

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744187077a4562256.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信