Skip to content
Advertisement

Ionic cordova add platform (Error: socket hang up)

I am creating an app with ionic framework. I created an API via a cheerio scrape afterwards and connected to heroku to make a Hattp call. the problem is that while adding the android platform i get a ‘socket hang up’ error. How can I go about solving the problem? Thank you in advance. This is my code:

JavaScript

Advertisement

Answer

I solved it, it wasn’t an API problem. I just re-installed the dependencies of: node.js, ionic, crodova- res.

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement