Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.4.1
Description
Running the cordova clean windows command in a Windows Cordova platform project fails with the following error:
Error: TypeError: Cannot read property 'root' of undefined
at cleanImages (C:\project\myapp\platforms\windows\cordova\lib\prepare.js:396:71)
It looks like the cleanImages function in prepare.js isn't being passed the locations parameter on line 484.
If I change line 484 from
cleanImages(projectRoot, projectConfig);
to
cleanImages(projectRoot, projectConfig, self.locations);
it completes the icon and splash screen image removal as expected.
Attachments
Issue Links
- links to