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
450mb… what the hell are you uploading.
Whatever your current approach is it’s WRONG!!!
You really should not ever have a need to upload that much.
I’m guessing there’s lots of embedded content. Make that a post-install download.
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.
Judgewest2000:
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.
Which command should I run for removing it? Editted my .gitignore but will not work.
Runned these commands.
Now pushed it to my own bitbucket repository.
Now when I want to link it to ionic again it’s giving the same errors:
$ git push ionic master
Counting objects: 26711, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (24714/24714), done.
Killed by signal 2.1% (268/26711)
Writing obfatal: jTects: 1%he remote (27e3/2n6d hung up u711nex), 2.02 MiB | 30pectedly
fatal: sha1 file '<stdout>' write error: Broken pipe
fatal: The remote end hung up unexpectedly
Tried everything that has been suggested over there.
No success…
People are talking about large files.
Should I push my platforms or add this one in .gitignore to?
Here’s what you should have as a minimum for your .gitignore…
# Specifies intentionally untracked files to ignore when using Git
# http://git-scm.com/docs/gitignore
*.sw[mnpcod]
*.log
*.tmp
*.tmp.*
log.txt
*.sublime-project
*.sublime-workspace
.vscode/
npm-debug.log*
.idea/
.sourcemaps/
.sass-cache/
.tmp/
.versions/
coverage/
dist/
node_modules/
temp/
hooks/
platforms/
plugins/
plugins/android.json
plugins/ios.json
$RECYCLE.BIN/
.DS_Store
Thumbs.db
UserInterfaceState.xcuserstate