Error: Path must be a string. Received undefined / codorva add platform android

0

When I'm going to generate the android platform in the codorva, it starts to install the plugins, but on the whitelist does it get the following error?

    Installing "cordova-plugin-whitelist" for android

 This plugin is only applicable for versions of cordova-android greater than 4.0. If you have a previous platform version, you do *not* need this plugin since the whitelist will be built in.

    **Error: Path must be a string. Received undefined.**

Why does this happen? How can I heal?

    
asked by anonymous 10.11.2017 / 00:04

1 answer

0

Well, I've got a solution. As for the errors that occurred because of the version and such, this does not have problem, it is still generated, what kept all the process was this error:

Error: Path must be a string. Received undefined.

I found a random path, which I had not even touched why I was there, or what it was for. I simply removed it and it compiled perfectly, now let's test to see if it generates the app and run, thanks.

    
10.11.2017 / 05:13