我正在尝试使用Vue.JS运行应用程序,当我执行“ nuxt build”时,cmd返回此错误,有人知道如何解决吗?
ERROR (node:4572) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead FATAL dep.getResourceIdentifier is not a function 17:46:16 at addDependency (C:\Users\Developer\AppData\Roaming\npm\node_modules\nuxt\node_modules\webpack\lib\Compilation.js:690:30) at iterationOfArrayCallback (C:\Users\Developer\AppData\Roaming\npm\node_modules\nuxt\node_modules\webpack\lib\Compilation.js:194:3) at addDependenciesBlock (C:\Users\Developer\AppData\Roaming\npm\node_modules\nuxt\node_modules\webpack\lib\Compilation.js:712:5) at Compilation.processModuleDependencies (C:\Users\Developer\AppData\Roaming\npm\node_modules\nuxt\node_modules\webpack\lib\Compilation.js:723:4) at afterBuild (C:\Users\Developer\AppData\Roaming\npm\node_modules\nuxt\node_modules\webpack\lib\Compilation.js:855:15) at buildModule.err (C:\Users\Developer\AppData\Roaming\npm\node_modules\nuxt\node_modules\webpack\lib\Compilation.js:899:11) at callback (C:\Users\Developer\AppData\Roaming\npm\node_modules\nuxt\node_modules\webpack\lib\Compilation.js:628:5) at module.build.error (C:\Users\Developer\AppData\Roaming\npm\node_modules\nuxt\node_modules\webpack\lib\Compilation.js:676:12) at handleParseResult (C:\Users\Developer\AppData\Roaming\npm\node_modules\nuxt\node_modules\webpack\lib\NormalModule.js:456:12) at doBuild.err (C:\Users\Developer\AppData\Roaming\npm\node_modules\nuxt\node_modules\webpack\lib\NormalModule.js:478:6) at runLoaders (C:\Users\Developer\AppData\Roaming\npm\node_modules\nuxt\node_modules\webpack\lib\NormalModule.js:342:12) at C:\Users\Developer\AppData\Roaming\npm\node_modules\nuxt\node_modules\loader-runner\lib\LoaderRunner.js:370:3 at iterateNormalLoaders (C:\Users\Developer\AppData\Roaming\npm\node_modules\nuxt\node_modules\loader-runner\lib\LoaderRunner.js:211:10) at iterateNormalLoaders (C:\Users\Developer\AppData\Roaming\npm\node_modules\nuxt\node_modules\loader-runner\lib\LoaderRunner.js:218:10) at C:\Users\Developer\AppData\Roaming\npm\node_modules\nuxt\node_modules\loader-runner\lib\LoaderRunner.js:233:3 at context.callback (C:\Users\Developer\AppData\Roaming\npm\node_modules\nuxt\node_modules\loader-runner\lib\LoaderRunner.js:111:13) ╭────────────────────────────────────────────────────────────╮ │ │ │ ✖ Nuxt Fatal Error │ │ │ │ TypeError: dep.getResourceIdentifier is not a function │ │ │