Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Nativescript debug console message after starting debug on ios

Im getting the following message when start debugging in VSC debugger.

Error when trying to require webpack.config.js file from path '/Volumes/T7/Documents/1.Sources/app/webpack.config.js'. Error is: TypeError: host.onUnRecoverableConfigFileDiagnostic is not a function

Anyone who knows how to fix this?

Thanks in advance!

Kind regards, R

like image 728
Rdev Avatar asked Jul 07 '26 23:07

Rdev


1 Answers

You have to update your @nativescript/webpack to latest (at time of this write it would be 4.0.0) and also update your webpack.config.js using the command ./node_modules/.bin/update-ns-webpack --configs, also check if you have to update deps using ./node_modules/.bin/update-ns-webpack --deps

like image 55
Diego Fernando Murillo Valenci Avatar answered Jul 10 '26 12:07

Diego Fernando Murillo Valenci



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!