debugging - 在 ios 上启动调试后的 Nativescript 调试控制台消息

标签 debugging visual-studio-code output nativescript-angular

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

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

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

提前致谢!

亲切的问候, R

最佳答案

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

关于debugging - 在 ios 上启动调试后的 Nativescript 调试控制台消息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64700377/

相关文章:

powershell - 格式化Powershell脚本的结果

java - 使用 Eclipse 调试 jnlp 应用程序

c++ - 调试当前项目启动的进程

flutter - VS 代码不会在调试控制台中显示 Flutter 错误

visual-studio-code - 使日志文件荧光笔 VS 代码扩展适用于长文件

file - 编程中流的底层原理是什么?

java - 从外部运行的 jar 输出到 Eclipse 控制台

java - 将 watch 置于断点时,Java 调试器显示盒装整数而不是原始整数

visual-studio-2008 - 停止调试,但继续运行应用程序(VS2008 asp.net web 应用程序)

regex - Visual Studio Code 使用正则表达式搜索和替换