Description:
I just installed the newest node v8.1.2 (which comes with npm 5.0.3) and ran ionic start blank blank to create a new project. Fails with this output:
PS C:\Users\Jan\Documents> ionic start blank blank
✔ Creating directory .\blank - done!
[INFO] Fetching app base (https://github.com/ionic-team/ionic2-app-base/archive/master.tar.gz)
✔ Downloading - done!
[INFO] Fetching starter template blank (https://github.com/ionic-team/ionic2-starter-blank/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 WARN deprecated [email protected]: Please update to the latest object-keys
npm ERR! code 128
npm ERR! Command failed: C:\Program Files\Git\cmd\git.EXE submodule update -q --init --recursive
npm ERR! fatal: 'submodule' appears to be a git command, but we were not
npm ERR! able to execute it. Maybe git-submodule is broken?
npm ERR!
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Jan\AppData\Roaming\npm-cache\_logs\2017-06-28T08_05_39_476Z-debug.log
The mentioned complete log:
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'install' ]
2 info using [email protected]
3 info using [email protected]
4 verbose npm-session 4d3217ba1585c683
5 silly install runPreinstallTopLevelLifecycles
6 silly preinstall [email protected]
7 info lifecycle [email protected]~preinstall: [email protected]
8 silly lifecycle [email protected]~preinstall: no script for preinstall, continuing
9 silly install loadCurrentTree
10 silly install readLocalPackageData
11 silly install loadIdealTree
12 silly install cloneCurrentTreeToIdealTree
13 silly install loadShrinkwrap
14 silly install loadAllDepsIntoIdealTree
[...]
1486 silly resolveWithNewModule [email protected] checking installable status
1487 silly pacote version manifest for [email protected] fetched in 38ms
1488 silly resolveWithNewModule [email protected] checking installable status
1489 silly pacote version manifest for [email protected] fetched in 15ms
1490 silly resolveWithNewModule [email protected] checking installable status
1491 silly pacote version manifest for [email protected] fetched in 17ms
1492 silly resolveWithNewModule [email protected] checking installable status
1493 silly fetchPackageMetaData error for bonjour@github:resin-io/bonjour Command failed: C:\Program Files\Git\cmd\git.EXE submodule update -q --init --recursive
1493 silly fetchPackageMetaData fatal: 'submodule' appears to be a git command, but we were not
1493 silly fetchPackageMetaData able to execute it. Maybe git-submodule is broken?
1494 verbose stack Error: Command failed: C:\Program Files\Git\cmd\git.EXE submodule update -q --init --recursive
1494 verbose stack fatal: 'submodule' appears to be a git command, but we were not
1494 verbose stack able to execute it. Maybe git-submodule is broken?
1494 verbose stack
1494 verbose stack at ChildProcess.exithandler (child_process.js:270:12)
1494 verbose stack at emitTwo (events.js:125:13)
1494 verbose stack at ChildProcess.emit (events.js:213:7)
1494 verbose stack at maybeClose (internal/child_process.js:897:16)
1494 verbose stack at Socket.stream.socket.on (internal/child_process.js:340:11)
1494 verbose stack at emitOne (events.js:115:13)
1494 verbose stack at Socket.emit (events.js:210:7)
1494 verbose stack at Pipe._handle.close [as _onclose] (net.js:548:12)
1495 verbose cwd C:\Users\Jan\Documents\blank
1496 verbose Windows_NT 10.0.15063
1497 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
1498 verbose node v8.1.2
1499 verbose npm v5.0.3
1500 error code 128
1501 error Command failed: C:\Program Files\Git\cmd\git.EXE submodule update -q --init --recursive
1501 error fatal: 'submodule' appears to be a git command, but we were not
1501 error able to execute it. Maybe git-submodule is broken?
1502 verbose exit [ 1, true ]
Output:
My ionic info:
PS C:\Users\Jan\Documents> ionic info
[WARN] You are not in an Ionic project directory. Project context may be missing.
global packages:
@ionic/cli-utils : 1.4.0
Ionic CLI : 3.4.0
System:
Node : v8.1.2
OS : Windows 10
Xcode : not installed
ios-deploy : not installed
ios-sim : not installed
npm : 5.0.3
additional information
PS C:\Users\Jan\Documents> git version
git version 2.11.0.windows.3
Another one, this time with node 7.9.0 and npm 4.2.0:
PS C:\Users\Jan\Documents\İonic> ionic start blank blank
✔ Creating directory .\blank - done!
[INFO] Fetching app base (https://github.com/ionic-team/ionic2-app-base/archive/master.tar.gz)
✔ Downloading - done!
[INFO] Fetching starter template blank (https://github.com/ionic-team/ionic2-starter-blank/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\Jan\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-d75da30c
C:\Users\Jan\AppData\Local\Temp\npm-7380-d44a974d\git-cache-9f70ed8f\31d080cee1d8a4b74e03818aaee14da8062f0ea1:
Cloning into
'C:\Users\Jan\AppData\Local\Temp\npm-7380-d44a974d\git-cache-9f70ed8f\31d080cee1d8a4b74e03818aaee14da8062f0ea1'.
..
npm ERR! git clone
C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-d75da30c
C:\Users\Jan\AppData\Local\Temp\npm-7380-d44a974d\git-cache-9f70ed8f\31d080cee1d8a4b74e03818aaee14da8062f0ea1:
error: cannot spawn sh: No such file or directory
npm ERR! git clone
C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-d75da30c
C:\Users\Jan\AppData\Local\Temp\npm-7380-d44a974d\git-cache-9f70ed8f\31d080cee1d8a4b74e03818aaee14da8062f0ea1:
fatal: unable to fork
npm ERR! git clone
C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-d75da30c
C:\Users\Jan\AppData\Local\Temp\npm-7380-d44a974d\git-cache-9f70ed8f\31d080cee1d8a4b74e03818aaee14da8062f0ea1:
npm ERR! git clone
C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-resin-io-bonjour-git-3f9321aa
C:\Users\Jan\AppData\Local\Temp\npm-7380-d44a974d\git-cache-4eeebf3c\31d080cee1d8a4b74e03818aaee14da8062f0ea1:
Cloning into
'C:\Users\Jan\AppData\Local\Temp\npm-7380-d44a974d\git-cache-4eeebf3c\31d080cee1d8a4b74e03818aaee14da8062f0ea1'.
..
npm ERR! git clone
C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-resin-io-bonjour-git-3f9321aa
C:\Users\Jan\AppData\Local\Temp\npm-7380-d44a974d\git-cache-4eeebf3c\31d080cee1d8a4b74e03818aaee14da8062f0ea1:
error: cannot spawn sh: No such file or directory
npm ERR! git clone
C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-resin-io-bonjour-git-3f9321aa
C:\Users\Jan\AppData\Local\Temp\npm-7380-d44a974d\git-cache-4eeebf3c\31d080cee1d8a4b74e03818aaee14da8062f0ea1:
fatal: unable to fork
npm ERR! git clone
C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-resin-io-bonjour-git-3f9321aa
C:\Users\Jan\AppData\Local\Temp\npm-7380-d44a974d\git-cache-4eeebf3c\31d080cee1d8a4b74e03818aaee14da8062f0ea1:
npm ERR! git clone --template=C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror
[email protected]:resin-io/bonjour.git
C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-41f67eef: Cloning into
bare repository
'C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-41f67eef'...
npm ERR! git clone --template=C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror
[email protected]:resin-io/bonjour.git
C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-41f67eef: error: cannot
spawn ssh: No such file or directory
npm ERR! git clone --template=C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror
[email protected]:resin-io/bonjour.git
C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-41f67eef: fatal: unable
to fork
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 v7.9.0
npm ERR! npm v4.2.0
npm ERR! code 128
npm ERR! Command failed: git -c core.longpaths=true clone
--template=C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror
[email protected]:resin-io/bonjour.git
C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-41f67eef
npm ERR! Cloning into bare repository
'C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-41f67eef'...
npm ERR! error: cannot spawn ssh: No such file or directory
npm ERR! fatal: unable to fork
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! C:\Users\Jan\AppData\Roaming\npm-cache\_logs\2017-06-28T08_21_08_393Z-debug.log
Error log this time:
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'install' ]
2 info using [email protected]
3 info using [email protected]
4 silly loadCurrentTree Starting
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 silly install normalizeTree
8 silly loadCurrentTree Finishing
9 silly loadIdealTree Starting
10 silly install loadIdealTree
11 silly cloneCurrentTree Starting
12 silly install cloneCurrentTreeToIdealTree
13 silly cloneCurrentTree Finishing
14 silly loadShrinkwrap Starting
15 silly install loadShrinkwrap
16 silly loadShrinkwrap Finishing
17 silly loadAllDepsIntoIdealTree Starting
18 silly install loadAllDepsIntoIdealTree
19 silly fetchNamedPackageData @angular/common
20 silly mapToRegistry name @angular/common
21 silly mapToRegistry scope (from package name) @angular
22 verbose mapToRegistry no registry URL found in name for scope @angular
23 silly mapToRegistry using default registry
24 silly mapToRegistry registry https://registry.npmjs.org/
25 silly mapToRegistry data Result {
25 silly mapToRegistry raw: '@angular/common',
25 silly mapToRegistry scope: '@angular',
25 silly mapToRegistry escapedName: '@angular%2fcommon',
25 silly mapToRegistry name: '@angular/common',
25 silly mapToRegistry rawSpec: '',
25 silly mapToRegistry spec: 'latest',
25 silly mapToRegistry type: 'tag' }
26 silly mapToRegistry uri https://registry.npmjs.org/@angular%2fcommon
27 silly fetchNamedPackageData @angular/compiler
28 silly mapToRegistry name @angular/compiler
29 silly mapToRegistry scope (from package name) @angular
30 verbose mapToRegistry no registry URL found in name for scope @angular
31 silly mapToRegistry using default registry
32 silly mapToRegistry registry https://registry.npmjs.org/
33 silly mapToRegistry data Result {
33 silly mapToRegistry raw: '@angular/compiler',
33 silly mapToRegistry scope: '@angular',
33 silly mapToRegistry escapedName: '@angular%2fcompiler',
33 silly mapToRegistry name: '@angular/compiler',
33 silly mapToRegistry rawSpec: '',
33 silly mapToRegistry spec: 'latest',
33 silly mapToRegistry type: 'tag' }
34 silly mapToRegistry uri https://registry.npmjs.org/@angular%2fcompiler
35 silly fetchNamedPackageData @angular/compiler-cli
36 silly mapToRegistry name @angular/compiler-cli
37 silly mapToRegistry scope (from package name) @angular
38 verbose mapToRegistry no registry URL found in name for scope @angular
39 silly mapToRegistry using default registry
40 silly mapToRegistry registry https://registry.npmjs.org/
41 silly mapToRegistry data Result {
41 silly mapToRegistry raw: '@angular/compiler-cli',
41 silly mapToRegistry scope: '@angular',
41 silly mapToRegistry escapedName: '@angular%2fcompiler-cli',
41 silly mapToRegistry name: '@angular/compiler-cli',
41 silly mapToRegistry rawSpec: '',
41 silly mapToRegistry spec: 'latest',
41 silly mapToRegistry type: 'tag' }
42 silly mapToRegistry uri https://registry.npmjs.org/@angular%2fcompiler-cli
43 silly fetchNamedPackageData @angular/core
44 silly mapToRegistry name @angular/core
45 silly mapToRegistry scope (from package name) @angular
46 verbose mapToRegistry no registry URL found in name for scope @angular
47 silly mapToRegistry using default registry
48 silly mapToRegistry registry https://registry.npmjs.org/
49 silly mapToRegistry data Result {
49 silly mapToRegistry raw: '@angular/core',
49 silly mapToRegistry scope: '@angular',
49 silly mapToRegistry escapedName: '@angular%2fcore',
49 silly mapToRegistry name: '@angular/core',
49 silly mapToRegistry rawSpec: '',
49 silly mapToRegistry spec: 'latest',
49 silly mapToRegistry type: 'tag' }
50 silly mapToRegistry uri https://registry.npmjs.org/@angular%2fcore
51 silly fetchNamedPackageData @angular/forms
52 silly mapToRegistry name @angular/forms
53 silly mapToRegistry scope (from package name) @angular
54 verbose mapToRegistry no registry URL found in name for scope @angular
55 silly mapToRegistry using default registry
56 silly mapToRegistry registry https://registry.npmjs.org/
57 silly mapToRegistry data Result {
57 silly mapToRegistry raw: '@angular/forms',
57 silly mapToRegistry scope: '@angular',
57 silly mapToRegistry escapedName: '@angular%2fforms',
57 silly mapToRegistry name: '@angular/forms',
57 silly mapToRegistry rawSpec: '',
57 silly mapToRegistry spec: 'latest',
57 silly mapToRegistry type: 'tag' }
58 silly mapToRegistry uri https://registry.npmjs.org/@angular%2fforms
59 silly fetchNamedPackageData @angular/http
60 silly mapToRegistry name @angular/http
61 silly mapToRegistry scope (from package name) @angular
62 verbose mapToRegistry no registry URL found in name for scope @angular
63 silly mapToRegistry using default registry
64 silly mapToRegistry registry https://registry.npmjs.org/
65 silly mapToRegistry data Result {
65 silly mapToRegistry raw: '@angular/http',
65 silly mapToRegistry scope: '@angular',
65 silly mapToRegistry escapedName: '@angular%2fhttp',
65 silly mapToRegistry name: '@angular/http',
65 silly mapToRegistry rawSpec: '',
65 silly mapToRegistry spec: 'latest',
65 silly mapToRegistry type: 'tag' }
66 silly mapToRegistry uri https://registry.npmjs.org/@angular%2fhttp
67 silly fetchNamedPackageData @angular/platform-browser
68 silly mapToRegistry name @angular/platform-browser
69 silly mapToRegistry scope (from package name) @angular
70 verbose mapToRegistry no registry URL found in name for scope @angular
71 silly mapToRegistry using default registry
72 silly mapToRegistry registry https://registry.npmjs.org/
73 silly mapToRegistry data Result {
73 silly mapToRegistry raw: '@angular/platform-browser',
73 silly mapToRegistry scope: '@angular',
73 silly mapToRegistry escapedName: '@angular%2fplatform-browser',
73 silly mapToRegistry name: '@angular/platform-browser',
73 silly mapToRegistry rawSpec: '',
73 silly mapToRegistry spec: 'latest',
73 silly mapToRegistry type: 'tag' }
74 silly mapToRegistry uri https://registry.npmjs.org/@angular%2fplatform-browser
75 silly fetchNamedPackageData @angular/platform-browser-dynamic
76 silly mapToRegistry name @angular/platform-browser-dynamic
77 silly mapToRegistry scope (from package name) @angular
78 verbose mapToRegistry no registry URL found in name for scope @angular
79 silly mapToRegistry using default registry
80 silly mapToRegistry registry https://registry.npmjs.org/
81 silly mapToRegistry data Result {
81 silly mapToRegistry raw: '@angular/platform-browser-dynamic',
81 silly mapToRegistry scope: '@angular',
81 silly mapToRegistry escapedName: '@angular%2fplatform-browser-dynamic',
81 silly mapToRegistry name: '@angular/platform-browser-dynamic',
81 silly mapToRegistry rawSpec: '',
81 silly mapToRegistry spec: 'latest',
81 silly mapToRegistry type: 'tag' }
82 silly mapToRegistry uri https://registry.npmjs.org/@angular%2fplatform-browser-dynamic
83 silly fetchNamedPackageData @ionic-native/core
84 silly mapToRegistry name @ionic-native/core
85 silly mapToRegistry scope (from package name) @ionic-native
86 verbose mapToRegistry no registry URL found in name for scope @ionic-native
87 silly mapToRegistry using default registry
88 silly mapToRegistry registry https://registry.npmjs.org/
89 silly mapToRegistry data Result {
89 silly mapToRegistry raw: '@ionic-native/core',
89 silly mapToRegistry scope: '@ionic-native',
89 silly mapToRegistry escapedName: '@ionic-native%2fcore',
89 silly mapToRegistry name: '@ionic-native/core',
89 silly mapToRegistry rawSpec: '',
89 silly mapToRegistry spec: 'latest',
89 silly mapToRegistry type: 'tag' }
90 silly mapToRegistry uri https://registry.npmjs.org/@ionic-native%2fcore
91 silly fetchNamedPackageData @ionic-native/splash-screen
92 silly mapToRegistry name @ionic-native/splash-screen
93 silly mapToRegistry scope (from package name) @ionic-native
94 verbose mapToRegistry no registry URL found in name for scope @ionic-native
95 silly mapToRegistry using default registry
96 silly mapToRegistry registry https://registry.npmjs.org/
[...]
4539 verbose correctMkdir C:\Users\Jan\AppData\Roaming\npm-cache correctMkdir not in flight; initializing
4540 silly fetchAndShaCheck shasum d09c9d1179641239d1b97ffc6231fdcec53e1568
4541 silly cache afterAdd [email protected]
4542 verbose afterAdd C:\Users\Jan\AppData\Roaming\npm-cache\tiny-lr\1.0.4\package\package.json not in flight; writing
4543 verbose correctMkdir C:\Users\Jan\AppData\Roaming\npm-cache correctMkdir not in flight; initializing
4544 verbose addTmpTarball C:\Users\Jan\AppData\Local\Temp\npm-7380-d44a974d\registry.npmjs.org\tslint-eslint-rules\-\tslint-eslint-rules-4.1.1.tgz not in flight; adding
4545 verbose addTmpTarball already have metadata; skipping unpack for [email protected]
4546 verbose correctMkdir C:\Users\Jan\AppData\Roaming\npm-cache correctMkdir not in flight; initializing
4547 verbose addTmpTarball C:\Users\Jan\AppData\Local\Temp\npm-7380-d44a974d\registry.npmjs.org\postcss\-\postcss-5.2.17.tgz not in flight; adding
4548 verbose addTmpTarball already have metadata; skipping unpack for [email protected]
4549 verbose correctMkdir C:\Users\Jan\AppData\Roaming\npm-cache correctMkdir not in flight; initializing
4550 silly cache afterAdd [email protected]
4551 verbose afterAdd C:\Users\Jan\AppData\Roaming\npm-cache\tslint\5.2.0\package\package.json not in flight; writing
4552 verbose correctMkdir C:\Users\Jan\AppData\Roaming\npm-cache correctMkdir not in flight; initializing
4553 verbose afterAdd C:\Users\Jan\AppData\Roaming\npm-cache\autoprefixer\7.1.1\package\package.json written
4554 http fetch 200 https://registry.npmjs.org/webpack/-/webpack-2.6.1.tgz
4555 verbose addTmpTarball C:\Users\Jan\AppData\Local\Temp\npm-7380-d44a974d\registry.npmjs.org\node-sass\-\node-sass-4.5.3.tgz not in flight; adding
4556 verbose addTmpTarball already have metadata; skipping unpack for [email protected]
4557 verbose correctMkdir C:\Users\Jan\AppData\Roaming\npm-cache correctMkdir not in flight; initializing
4558 silly cache afterAdd [email protected]
4559 verbose afterAdd C:\Users\Jan\AppData\Roaming\npm-cache\uglify-js\2.8.27\package\package.json not in flight; writing
4560 verbose correctMkdir C:\Users\Jan\AppData\Roaming\npm-cache correctMkdir not in flight; initializing
4561 verbose afterAdd C:\Users\Jan\AppData\Roaming\npm-cache\rollup-plugin-node-builtins\2.1.2\package\package.json written
4562 silly cache afterAdd [email protected]
4563 verbose afterAdd C:\Users\Jan\AppData\Roaming\npm-cache\tslint-eslint-rules\4.1.1\package\package.json not in flight; writing
4564 verbose correctMkdir C:\Users\Jan\AppData\Roaming\npm-cache correctMkdir not in flight; initializing
4565 silly cache afterAdd [email protected]
4566 verbose afterAdd C:\Users\Jan\AppData\Roaming\npm-cache\postcss\5.2.17\package\package.json not in flight; writing
4567 verbose correctMkdir C:\Users\Jan\AppData\Roaming\npm-cache correctMkdir not in flight; initializing
4568 verbose afterAdd C:\Users\Jan\AppData\Roaming\npm-cache\express\4.15.3\package\package.json written
4569 verbose afterAdd C:\Users\Jan\AppData\Roaming\npm-cache\tiny-lr\1.0.4\package\package.json written
4570 verbose afterAdd C:\Users\Jan\AppData\Roaming\npm-cache\tslint\5.2.0\package\package.json written
4571 silly fetchAndShaCheck shasum 56e791b3a2f3dd7190bbb80a375675f2fe0f9b23
4572 silly cache afterAdd [email protected]
4573 verbose afterAdd C:\Users\Jan\AppData\Roaming\npm-cache\node-sass\4.5.3\package\package.json not in flight; writing
4574 verbose correctMkdir C:\Users\Jan\AppData\Roaming\npm-cache correctMkdir not in flight; initializing
4575 verbose afterAdd C:\Users\Jan\AppData\Roaming\npm-cache\uglify-js\2.8.27\package\package.json written
4576 silly fetchAndShaCheck shasum 2e0457f0abb1ac5df3ab106c69c672f236785f07
4577 verbose afterAdd C:\Users\Jan\AppData\Roaming\npm-cache\tslint-eslint-rules\4.1.1\package\package.json written
4578 verbose addTmpTarball C:\Users\Jan\AppData\Local\Temp\npm-7380-d44a974d\registry.npmjs.org\rollup\-\rollup-0.42.0.tgz not in flight; adding
4579 verbose addTmpTarball already have metadata; skipping unpack for [email protected]
4580 verbose correctMkdir C:\Users\Jan\AppData\Roaming\npm-cache correctMkdir not in flight; initializing
4581 verbose afterAdd C:\Users\Jan\AppData\Roaming\npm-cache\postcss\5.2.17\package\package.json written
4582 verbose addTmpTarball C:\Users\Jan\AppData\Local\Temp\npm-7380-d44a974d\registry.npmjs.org\webpack\-\webpack-2.6.1.tgz not in flight; adding
4583 verbose addTmpTarball already have metadata; skipping unpack for [email protected]
4584 verbose correctMkdir C:\Users\Jan\AppData\Roaming\npm-cache correctMkdir not in flight; initializing
4585 verbose afterAdd C:\Users\Jan\AppData\Roaming\npm-cache\node-sass\4.5.3\package\package.json written
4586 silly cache afterAdd [email protected]
4587 verbose afterAdd C:\Users\Jan\AppData\Roaming\npm-cache\webpack\2.6.1\package\package.json not in flight; writing
4588 verbose correctMkdir C:\Users\Jan\AppData\Roaming\npm-cache correctMkdir not in flight; initializing
4589 silly cache afterAdd [email protected]
4590 verbose afterAdd C:\Users\Jan\AppData\Roaming\npm-cache\rollup\0.42.0\package\package.json not in flight; writing
4591 verbose correctMkdir C:\Users\Jan\AppData\Roaming\npm-cache correctMkdir not in flight; initializing
4592 verbose afterAdd C:\Users\Jan\AppData\Roaming\npm-cache\webpack\2.6.1\package\package.json written
4593 verbose afterAdd C:\Users\Jan\AppData\Roaming\npm-cache\rollup\0.42.0\package\package.json written
4594 info git [ 'clone',
4594 info git '--template=C:\\Users\\Jan\\AppData\\Roaming\\npm-cache\\_git-remotes\\_templates',
4594 info git '--mirror',
4594 info git 'git://github.com/resin-io/bonjour.git',
4594 info git 'C:\\Users\\Jan\\AppData\\Roaming\\npm-cache\\_git-remotes\\git-github-com-resin-io-bonjour-git-d75da30c' ]
4595 verbose mirrorRemote resin-io/bonjour git clone git://github.com/resin-io/bonjour.git
4596 verbose setPermissions resin-io/bonjour skipping chownr on Windows
4597 verbose resolveHead resin-io/bonjour original treeish: master
4598 info git [ 'rev-list', '-n1', 'master' ]
4599 silly resolveHead resin-io/bonjour resolved treeish: 31d080cee1d8a4b74e03818aaee14da8062f0ea1
4600 verbose resolveHead resin-io/bonjour resolved Git URL: git://github.com/resin-io/bonjour.git#31d080cee1d8a4b74e03818aaee14da8062f0ea1
4601 silly resolveHead Git working directory: C:\Users\Jan\AppData\Local\Temp\npm-7380-d44a974d\git-cache-9f70ed8f\31d080cee1d8a4b74e03818aaee14da8062f0ea1
4602 info git [ 'clone',
4602 info git 'C:\\Users\\Jan\\AppData\\Roaming\\npm-cache\\_git-remotes\\git-github-com-resin-io-bonjour-git-d75da30c',
4602 info git 'C:\\Users\\Jan\\AppData\\Local\\Temp\\npm-7380-d44a974d\\git-cache-9f70ed8f\\31d080cee1d8a4b74e03818aaee14da8062f0ea1' ]
4603 error git clone C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-d75da30c C:\Users\Jan\AppData\Local\Temp\npm-7380-d44a974d\git-cache-9f70ed8f\31d080cee1d8a4b74e03818aaee14da8062f0ea1: Cloning into 'C:\Users\Jan\AppData\Local\Temp\npm-7380-d44a974d\git-cache-9f70ed8f\31d080cee1d8a4b74e03818aaee14da8062f0ea1'...
4603 error git clone C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-d75da30c C:\Users\Jan\AppData\Local\Temp\npm-7380-d44a974d\git-cache-9f70ed8f\31d080cee1d8a4b74e03818aaee14da8062f0ea1: error: cannot spawn sh: No such file or directory
4603 error git clone C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-d75da30c C:\Users\Jan\AppData\Local\Temp\npm-7380-d44a974d\git-cache-9f70ed8f\31d080cee1d8a4b74e03818aaee14da8062f0ea1: fatal: unable to fork
4604 silly tryHTTPS attempting to clone git+https://github.com/resin-io/bonjour.git
4605 silly tryClone cloning resin-io/bonjour via git+https://github.com/resin-io/bonjour.git
4606 verbose tryClone git-https-github-com-resin-io-bonjour-git-3f9321aa not in flight; caching
4607 verbose correctMkdir C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes correctMkdir not in flight; initializing
4608 info git [ 'clone',
4608 info git '--template=C:\\Users\\Jan\\AppData\\Roaming\\npm-cache\\_git-remotes\\_templates',
4608 info git '--mirror',
4608 info git 'https://github.com/resin-io/bonjour.git',
4608 info git 'C:\\Users\\Jan\\AppData\\Roaming\\npm-cache\\_git-remotes\\git-https-github-com-resin-io-bonjour-git-3f9321aa' ]
4609 verbose mirrorRemote resin-io/bonjour git clone https://github.com/resin-io/bonjour.git
4610 verbose setPermissions resin-io/bonjour skipping chownr on Windows
4611 verbose resolveHead resin-io/bonjour original treeish: master
4612 info git [ 'rev-list', '-n1', 'master' ]
4613 silly resolveHead resin-io/bonjour resolved treeish: 31d080cee1d8a4b74e03818aaee14da8062f0ea1
4614 verbose resolveHead resin-io/bonjour resolved Git URL: git+https://github.com/resin-io/bonjour.git#31d080cee1d8a4b74e03818aaee14da8062f0ea1
4615 silly resolveHead Git working directory: C:\Users\Jan\AppData\Local\Temp\npm-7380-d44a974d\git-cache-4eeebf3c\31d080cee1d8a4b74e03818aaee14da8062f0ea1
4616 info git [ 'clone',
4616 info git 'C:\\Users\\Jan\\AppData\\Roaming\\npm-cache\\_git-remotes\\git-https-github-com-resin-io-bonjour-git-3f9321aa',
4616 info git 'C:\\Users\\Jan\\AppData\\Local\\Temp\\npm-7380-d44a974d\\git-cache-4eeebf3c\\31d080cee1d8a4b74e03818aaee14da8062f0ea1' ]
4617 error git clone C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-resin-io-bonjour-git-3f9321aa C:\Users\Jan\AppData\Local\Temp\npm-7380-d44a974d\git-cache-4eeebf3c\31d080cee1d8a4b74e03818aaee14da8062f0ea1: Cloning into 'C:\Users\Jan\AppData\Local\Temp\npm-7380-d44a974d\git-cache-4eeebf3c\31d080cee1d8a4b74e03818aaee14da8062f0ea1'...
4617 error git clone C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-resin-io-bonjour-git-3f9321aa C:\Users\Jan\AppData\Local\Temp\npm-7380-d44a974d\git-cache-4eeebf3c\31d080cee1d8a4b74e03818aaee14da8062f0ea1: error: cannot spawn sh: No such file or directory
4617 error git clone C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-resin-io-bonjour-git-3f9321aa C:\Users\Jan\AppData\Local\Temp\npm-7380-d44a974d\git-cache-4eeebf3c\31d080cee1d8a4b74e03818aaee14da8062f0ea1: fatal: unable to fork
4618 silly trySSH attempting to clone [email protected]:resin-io/bonjour.git
4619 silly tryClone cloning resin-io/bonjour via [email protected]:resin-io/bonjour.git
4620 verbose tryClone git-github-com-resin-io-bonjour-git-41f67eef not in flight; caching
4621 verbose correctMkdir C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes correctMkdir not in flight; initializing
4622 info git [ 'clone',
4622 info git '--template=C:\\Users\\Jan\\AppData\\Roaming\\npm-cache\\_git-remotes\\_templates',
4622 info git '--mirror',
4622 info git '[email protected]:resin-io/bonjour.git',
4622 info git 'C:\\Users\\Jan\\AppData\\Roaming\\npm-cache\\_git-remotes\\git-github-com-resin-io-bonjour-git-41f67eef' ]
4623 error git clone --template=C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror [email protected]:resin-io/bonjour.git C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-41f67eef: Cloning into bare repository 'C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-41f67eef'...
4623 error git clone --template=C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror [email protected]:resin-io/bonjour.git C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-41f67eef: error: cannot spawn ssh: No such file or directory
4623 error git clone --template=C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror [email protected]:resin-io/bonjour.git C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-41f67eef: fatal: unable to fork
4624 silly fetchPackageMetaData Error: Command failed: git -c core.longpaths=true clone --template=C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror [email protected]:resin-io/bonjour.git C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-41f67eef
4624 silly fetchPackageMetaData Cloning into bare repository 'C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-41f67eef'...
4624 silly fetchPackageMetaData error: cannot spawn ssh: No such file or directory
4624 silly fetchPackageMetaData fatal: unable to fork
4624 silly fetchPackageMetaData
4624 silly fetchPackageMetaData at ChildProcess.exithandler (child_process.js:205:12)
4624 silly fetchPackageMetaData at emitTwo (events.js:106:13)
4624 silly fetchPackageMetaData at ChildProcess.emit (events.js:194:7)
4624 silly fetchPackageMetaData at maybeClose (internal/child_process.js:899:16)
4624 silly fetchPackageMetaData at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
4624 silly fetchPackageMetaData error for bonjour@github:resin-io/bonjour { Error: Command failed: git -c core.longpaths=true clone --template=C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror [email protected]:resin-io/bonjour.git C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-41f67eef
4624 silly fetchPackageMetaData Cloning into bare repository 'C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-41f67eef'...
4624 silly fetchPackageMetaData error: cannot spawn ssh: No such file or directory
4624 silly fetchPackageMetaData fatal: unable to fork
4624 silly fetchPackageMetaData
4624 silly fetchPackageMetaData at ChildProcess.exithandler (child_process.js:205:12)
4624 silly fetchPackageMetaData at emitTwo (events.js:106:13)
4624 silly fetchPackageMetaData at ChildProcess.emit (events.js:194:7)
4624 silly fetchPackageMetaData at maybeClose (internal/child_process.js:899:16)
4624 silly fetchPackageMetaData at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
4624 silly fetchPackageMetaData killed: false,
4624 silly fetchPackageMetaData code: 128,
4624 silly fetchPackageMetaData signal: null,
4624 silly fetchPackageMetaData cmd: 'git -c core.longpaths=true clone --template=C:\\Users\\Jan\\AppData\\Roaming\\npm-cache\\_git-remotes\\_templates --mirror [email protected]:resin-io/bonjour.git C:\\Users\\Jan\\AppData\\Roaming\\npm-cache\\_git-remotes\\git-github-com-resin-io-bonjour-git-41f67eef' }
4625 silly rollbackFailedOptional Starting
4626 silly rollbackFailedOptional Finishing
4627 silly runTopLevelLifecycles Finishing
4628 silly install printInstalled
4629 verbose stack Error: Command failed: git -c core.longpaths=true clone --template=C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror [email protected]:resin-io/bonjour.git C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-41f67eef
4629 verbose stack Cloning into bare repository 'C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-41f67eef'...
4629 verbose stack error: cannot spawn ssh: No such file or directory
4629 verbose stack fatal: unable to fork
4629 verbose stack
4629 verbose stack at ChildProcess.exithandler (child_process.js:205:12)
4629 verbose stack at emitTwo (events.js:106:13)
4629 verbose stack at ChildProcess.emit (events.js:194:7)
4629 verbose stack at maybeClose (internal/child_process.js:899:16)
4629 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
4630 verbose cwd C:\Users\Jan\Documents\İonic\blank
4631 error Windows_NT 10.0.15063
4632 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
4633 error node v7.9.0
4634 error npm v4.2.0
4635 error code 128
4636 error Command failed: git -c core.longpaths=true clone --template=C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror [email protected]:resin-io/bonjour.git C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-41f67eef
4636 error Cloning into bare repository 'C:\Users\Jan\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-41f67eef'...
4636 error error: cannot spawn ssh: No such file or directory
4636 error fatal: unable to fork
4637 error If you need help, you may report this error at:
4637 error <https://github.com/npm/npm/issues>
4638 verbose exit [ 1, true ]
ionic info
global packages:
@ionic/cli-utils : 1.4.0
Ionic CLI : 3.4.0
System:
Node : v7.9.0
OS : Windows 10
Xcode : not installed
ios-deploy : not installed
ios-sim : not installed
npm : 4.2.0
tengo el mismo problema
Me too
For me this was fixed with the recently released app-scripts 1.3.11.
For you too?
sorry is fix it problem already ???
@alfredoizjr Update to ionic-app-scripts 1.3.12. Its fixed
sorry I am new in this how I can make the update to this last version ??
Run npm install --save-dev @ionic/app-scripts
This is fixed now.
Thanks,
Dan
npm install -g [email protected]
brew uninstall node
After this you just have to install the version you want to. This can usually be done with brew, although the package/formulae versioning did change recently; something like:
brew install node@6
brew link --force node@6
and fix this bug.
i work for me.
If we try it from Git bash it works fine for me. The other option to get it working from cmd as well is to add your git usr bin folder to Windows Path variable.