When I try to link my app to Ionic Pro I’m getting an fault.
I’ve linked the app.
After that I’ve to run for an connect existing app the following:
git push ionic master
While running that getting this message:
Thijmen@MSI MINGW64 ~/Desktop/ionic-old (master)
$ git push ionic master
Warning: Permanently added the ECDSA host key for IP address '22.214.171.124' to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Yeah, probably. It’s useless this push speed.
Taking ages to push 450MB.
Nice, it shuts down with the following message
Connection to git.ionicjs.com closed by remote host.0 KiB/s
Wrifatal: The remoteti ng obejectsn:d hung up 1 8% (u4nex888/2pecte6690dly
fatal: sha1 file '<stdout>' write error: Broken pipe
fatal: The remote end hung up unexpectedly
You need to .gitignore the node_modules directory.
If you do a new project (ionic start abc) then copy the .gitignore you’re closer there.
If you’ve already checked it in with the node_modules directory you need to do a little git trickery to get it out as the .gitignore won’t do it.
So, adding it to .gitignore will fix this problem?
How the hell am I going to include the existing node-modules to my project while cloning?
It has so many more modules installed that are not delivered by default.
Which command should I run for removing it? Editted my .gitignore but will not work.