下面是将现有工作应用程序升级到NextJs时所遇到的错误:
Error: Element type is invalid: expected a string (for built-in components但是,即使在删除之后,仍会出现高于错误的结果。(以上错误是删除custome _document.js后发生的)。无法在此共享应用程序代码。但是,下面是第483行周围.next\server\static\development\pages\_document.js文件的代码
我已经卸载了node和NPM,并重新安装,我也尝试了很多步骤,并在这里建议了解决方案,但它不适合我的问题。AssertionError [ERR_ASSERTION]: Task never defined: node_modules/scss/bootstrap.scss at normalizeArgs (C:\Users\Saviour\Desktop\Portfolio\Bootstrap\Project1\node_modules\as