debugging - 在 ios 上启动调试后的 Nativescript 调试控制台消息
问题描述
在 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
,还要检查您是否必须使用更新 deps./node_modules/.bin/update-ns-webpack --deps
推荐阅读
- logstash - 如何在不同的关键字下将日志输出到不同的Kafka主题?
- android - How to achieve this custom marker?
- javascript - How can I use clipboard.js with a span tag onselect event?
- esoteric-languages - Befunge 程序在 @ 处意外循环
- c++ - 为什么 int x{ y = 5 } 可能?
- html - 盒子定位包装
- php - DataFixtures phpunit symfony 类型的预期值改为“整数”
- reactjs - 常规函数中的 Redux 钩子(钩子规则)
- sql - SQL:聚合总和和过滤的聚合总和
- api - Laravel 6 单元测试响应 401