Can't `ionic start` on windows 10

Update git to the last version of git. Done lik said above:

git config --global user.email "email@example.com"
git config --global user.name “Your Name”

and launched a new ionic project with the git cmd. Worked for me :smiley:

There were multiple releases of @ionic/app-scripts to fix this - starting a new project should now work again.

@gorgonwo, @Dragon, @ralphskie, @kocei, @nyffellare, @sanjib_dev, @Ucas_rajeshm, @marcocab, @mosesmatt, @stardigits Can you confirm that it now works without special hacks or software again?

1 Like

Working fine for me now. Thanks

1 Like

It’s working now. Thank you!

1 Like

It works like charm now! =D
Thank you!!

I don’t know what I’m doing wrong but I cant get it working on my side:

C:\Users\Graphefruit\Documents\playground\myApp>cd …

C:\Users\Graphefruit\Documents\playground>git config --global user.email “XX”

C:\Users\Graphefruit\Documents\playground>git config --global user.name “XX”

C:\Users\Graphefruit\Documents\playground>ionic start b

? What starter would you like to use: blank
V Creating directory .\b - done!
[INFO] Fetching app base (https://github.com/ionic-team/ionic2-app-base/archive/master.tar.gz)
V Downloading - done!
[INFO] Fetching starter template blank (https://github.com/ionic-team/ionic2-starter-blank/archive/master.tar.gz)
V Downloading - done!
V Updating package.json with app details - done!
V Creating configuration file ionic.config.json - done!
[INFO] Installing dependencies may take several minutes!

npm install
/ Running command

Results always in:
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Graphefruit\AppData\Roaming\npm-cache_logs\2017-09-20T09_37_50_650Z-debug.log

Information:
NPM: { npm: ‘5.4.2’,
ares: ‘1.10.1-DEV’,
http_parser: '2.7.0
icu: ‘58.2’,
modules: ‘48’,
node: ‘6.11.3’,
openssl: ‘1.0.2l’,
uv: ‘1.11.0’,
v8: ‘5.1.281.107’,
zlib: ‘1.2.11’ }

Ionic:
version: ‘3.10.3’

Cordova:
version: ‘7.0.1’

Git:
git version 2.14.1.windows.1

I’ve already uninstalled everything, and reinstalled.
Also I’ve updated NPM from 5.X to 6.X.

The trick with --skip-deps, installed it, but after that when I ran npm install, it results again in a crash.

Setting the username and email to git isn’t working aswell.

Removing and installing: npm install -g object-keys - works, but should this not just be an workaround?

Operating system: Windows 8.1

Anyone an idea?

Thanks in advance

I’m getting the same thing too. I’ve been able to start all other example Ionic starters except the conference one. It errors on “Could not read from remote repository”.

Just to clarify, I can start all other demo examples except for conference

Here is the output:

D:\Tests\Ionic-Pro>ionic start --pro-id <id>
[INFO] Using ionic-conference for name.

? What starter would you like to use: conference
√ Creating directory .\ionic-conference - done!
[INFO] Fetching app base (https://github.com/ionic-team/ionic2-app-base/archive/master.tar.gz)
√ Downloading - done!
[INFO] Fetching starter template conference (https://github.com/ionic-team/ionic-conference-app/archive/master.tar.gz)
√ Downloading - done!
√ Updating package.json with app details - done!
√ Creating configuration file ionic.config.json - done!
[INFO] Installing dependencies may take several minutes!
> npm install
× Running command - failed!
[ERROR] An error occurred while running npm install (exit code 1):


        npm ERR! git clone C:\Users\REDACTED\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-ionic-team-cordova-plugin-wkwebview-engine-git-ae2e0322
        C:\Users\REDACTED\AppData\Local\Temp\npm-4372-41c74435\git-cache-1097edd5\1cb767dbc775ae8ae7dcafa7c27ca2c6b90c21c1:
        Cloning into
        'C:\Users\REDACTED\AppData\Local\Temp\npm-4372-41c74435\git-cache-1097edd5\1cb767dbc775ae8ae7dcafa7c27ca2c6b90c21c1'...
        npm ERR! git clone C:\Users\REDACTED\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-ionic-team-cordova-plugin-wkwebview-engine-git-ae2e0322
        C:\Users\REDACTED\AppData\Local\Temp\npm-4372-41c74435\git-cache-1097edd5\1cb767dbc775ae8ae7dcafa7c27ca2c6b90c21c1:
        git-upload-pack 'C:\Users\REDACTED\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-ionic-team-cordova-plugin-wkwebview-engine-git-ae2e0322':
        git-upload-pack: command not found
        npm ERR! git clone C:\Users\REDACTED\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-ionic-team-cordova-plugin-wkwebview-engine-git-ae2e0322
        C:\Users\REDACTED\AppData\Local\Temp\npm-4372-41c74435\git-cache-1097edd5\1cb767dbc775ae8ae7dcafa7c27ca2c6b90c21c1:
        fatal: Could not read from remote repository.
        npm ERR! git clone C:\Users\REDACTED\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-ionic-team-cordova-plugin-wkwebview-engine-git-ae2e0322
        C:\Users\REDACTED\AppData\Local\Temp\npm-4372-41c74435\git-cache-1097edd5\1cb767dbc775ae8ae7dcafa7c27ca2c6b90c21c1:

        npm ERR! git clone C:\Users\REDACTED\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-ionic-team-cordova-plugin-wkwebview-engine-git-ae2e0322
        C:\Users\REDACTED\AppData\Local\Temp\npm-4372-41c74435\git-cache-1097edd5\1cb767dbc775ae8ae7dcafa7c27ca2c6b90c21c1:
        Please make sure you have the correct access rights
        npm ERR! git clone C:\Users\REDACTED\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-ionic-team-cordova-plugin-wkwebview-engine-git-ae2e0322
        C:\Users\REDACTED\AppData\Local\Temp\npm-4372-41c74435\git-cache-1097edd5\1cb767dbc775ae8ae7dcafa7c27ca2c6b90c21c1:
        and the repository exists.
        npm ERR! git clone C:\Users\REDACTED\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-ionic-team-cordova-plugin-wkwebview-engine-git-ae2e0322
        C:\Users\REDACTED\AppData\Local\Temp\npm-4372-41c74435\git-cache-1097edd5\1cb767dbc775ae8ae7dcafa7c27ca2c6b90c21c1:

        npm ERR! Windows_NT 10.0.15063
        npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program
        Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
        npm ERR! node v6.11.1
        npm ERR! npm  v3.10.10
        npm ERR! code 128

        npm ERR! Command failed: git -c core.longpaths=true clone C:\Users\REDACTED\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-ionic-team-cordova-plugin-wkwebview-engine-git-ae2e0322
        C:\Users\REDACTED\AppData\Local\Temp\npm-4372-41c74435\git-cache-1097edd5\1cb767dbc775ae8ae7dcafa7c27ca2c6b90c21c1
        npm ERR! Cloning into
        'C:\Users\REDACTED\AppData\Local\Temp\npm-4372-41c74435\git-cache-1097edd5\1cb767dbc775ae8ae7dcafa7c27ca2c6b90c21c1'...
        npm ERR! git-upload-pack 'C:\Users\REDACTED\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-ionic-team-cordova-plugin-wkwebview-engine-git-ae2e0322':
        git-upload-pack: command not found
        npm ERR! fatal: Could not read from remote repository.
        npm ERR!
        npm ERR! Please make sure you have the correct access rights
        npm ERR! and the repository exists.
        npm ERR!
        npm ERR!
        npm ERR! If you need help, you may report this error at:
        npm ERR!     <https://github.com/npm/npm/issues>

        npm ERR! Please include the following file with any support request:
        npm ERR!     D:\Tests\Ionic-Pro\ionic-conference\npm-debug.log


I had the same problem and it is solved if the run the ionic commands from git Bash. The other option to get it working from cmd as well is to add your git usr bin folder to Windows Path variable.

Hi how fid you got it working? Please help!