首页 > 解决方案 > 在 ios 上启动调试后的 Nativescript 调试控制台消息

问题描述

在 VSC 调试器中开始调试时,我收到以下消息。

尝试从路径“/Volumes/T7/Documents/1.Sources/app/webpack.config.js”请求 webpack.config.js 文件时出错。错误是:TypeError: host.onUnRecoverableConfigFileDiagnostic is not a function

有谁知道如何解决这个问题?

提前致谢!

亲切的问候,R

标签: debuggingvisual-studio-codeoutputnativescript-angular

解决方案


您必须将您的更新@nativescript/webpack到最新版本(在撰写本文时它将是 4.0.0)并webpack.config.js使用命令更新您的./node_modules/.bin/update-ns-webpack --configs,还要检查您是否必须使用更新 deps./node_modules/.bin/update-ns-webpack --deps


推荐阅读