3

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

2 Answers 2

2

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

Sign up to request clarification or add additional context in comments.

Comments

0

I did get the same issue on android debug with VS code nativescript extension 0.1

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.