Closed ThunderAnimal closed 6 years ago
Hey @ThunderAnimal,
The issue you are reporting seems similar to this one - https://github.com/NativeScript/nativescript-dev-webpack/issues/607. The version of nativescript-dev-webpack that you are using contains the fix, but since you are still getting these errors, could you try deleting platforms and node_modules and then try building with webpack again?
@tsvetie
Thanks for the information. Just upgraded @ngtools/webpack to 6.1.0-rc.3. And it works now.
Please, provide the details below:
Did you verify whether this issue has already been reported here?
Yes
Tell us about the problem
Can't bundle iOS app with webpack - webpack failed with exit code 2. Get all he time the error that
Module not found
...Which platform(s) does the issue occur on?
iOS (tns-ios: 4.1.1) init build with windows 10
Provide the following version numbers that the issue occurs with:
NativeScript Sidekick Desktop: 1.11.0-v.2018.7.12.1
NativeScript CLI: 4.1.0
CLI extension nativescript-cloud: 1.11.0
CLI extension nativescript-starter-kits: 0.3.4
webpack: 4.16.0
nativescript-dev-webpack: 0.14.4
Tell us how to recreate the issue in as much detail as possible
Does this issue happen every time?
Yes
Send the client logs
https://gist.github.com/ThunderAnimal/22a147ced7143668669c9f265dc05867
@teobugslayer