Ionic CLI - New sample project failed to push on GitHub Repository

Dear All,

I am having a bit of a bizarre situation with my machine. I am trying to figure out what is going on. Any help much appreciated.

I have created a blank repository on GitHub account.

And Open using GitHub Desktop and Open VSCode.

Open a new terminal
And run following successfully.

rlodhiya@MacBook-Pro temptest % ionic start test

Pick a framework! :grin:

Please select the JavaScript framework to use for your new app. To bypass this prompt next time, supply a value for the
–type option.

? Framework: Angular

Let’s pick the perfect starter template! :muscle:

Starter templates are ready-to-go Ionic apps that come packed with everything you need to build your app. To bypass this
prompt next time, supply template, the second argument to ionic start.

? Starter template: blank
[INFO] Existing git project found (/Users/rlodhiya/Desktop/projects/temptest). Git operations are disabled.
:heavy_check_mark: Preparing directory ./test in 1.52ms
:heavy_check_mark: Downloading and extracting blank starter in 207.14ms
? Integrate your new app with Capacitor to target native iOS and Android? No

Installing dependencies may take several minutes.

──────────────────────────────────────────────────────────────────────

  Ionic Enterprise, platform and solutions for teams by Ionic

              A powerful library of native APIs ⚑️
             A supercharged platform for teams πŸ’ͺ

              πŸ‘‰  https://ion.link/enterprise  πŸ‘ˆ

──────────────────────────────────────────────────────────────────────

npm i
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm, WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm, WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated

fsevents@1.2.13 install /Users/rlodhiya/Desktop/projects/temptest/test/node_modules/watchpack-chokidar2/node_modules/fsevents
node install.js

SOLINK_MODULE(target) Release/.node
CXX(target) Release/obj.target/fse/fsevents.o
SOLINK_MODULE(target) Release/fse.node

fsevents@1.2.13 install /Users/rlodhiya/Desktop/projects/temptest/test/node_modules/webpack-dev-server/node_modules/fsevents
node install.js

SOLINK_MODULE(target) Release/.node
CXX(target) Release/obj.target/fse/fsevents.o
SOLINK_MODULE(target) Release/fse.node

core-js@3.6.4 postinstall /Users/rlodhiya/Desktop/projects/temptest/test/node_modules/core-js
node -e β€œtry{require(’./postinstall’)}catch(e){}”

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:

https://opencollective.com/core-js
https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

@angular/cli@10.0.8 postinstall /Users/rlodhiya/Desktop/projects/temptest/test/node_modules/@angular/cli
node ./bin/postinstall/script.js

npm notice created a lockfile as package-lock.json. You should commit this file.
added 1506 packages from 1234 contributors and audited 1508 packages in 59.836s

74 packages are looking for funding
run npm fund for details

found 1 high severity vulnerability
run npm audit fix to fix them, or npm audit for details

Join the Ionic Community! :blue_heart:

Connect with millions of developers on the Ionic Forum and get access to live events, news updates, and more.

? Create free Ionic account? No

Your Ionic app is ready! Follow these next steps:

  • Go to your new project: cd ./test
  • Run ionic serve within the app directory to see your app in the browser
  • Run ionic capacitor add to add a native iOS or Android project using Capacitor
  • Generate your app icon and splash screens using Cordova-res --skip-config --copy
  • Explore the Ionic docs for components, tutorials, and more: https://ion.link/docs
  • Building an enterprise app? Ionic has Enterprise Support and Features: https://ion.link/enterprise-edition
    rlodhiya@MacBook-Pro temptest %

After that, I have committed those changes to a new branch (i.e. develop)

I am trying to push these changes to the remote repository and causing failure. (I know it could be anything - but for the sake of argument - I have 20 different project - non-ionic and none of them giving me such error)


The error I got is as below.

Enumerating objects: 51 done.
Counting objects: 100% (51/51), done.
Delta compression using up to 8 threads
Compressing objects: 100% (47/47), done.
Writing objects: 100% (50/50), 146.75 KiB | 8.15 MiB/s, done.
Total 50 (delta 2), reused 0 (delta 0), pack-reused 0
remote: fatal: early EOF
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date

Am I the only one who has this problem?

Can you see if the problem persists when using SSH as opposed to HTTP as a transfer mechanism?