It turns out that I do everything as they say in every blog to start angular and I get this error.
fernando @ fernando-PCM10: ~ / Documents / Project raffle / other shop / quickstart $ npm start
> [email protected] prestart / home / fernando / Documents / Project raffle / other store / quickstart
> npm run build
> [email protected] build / home / fernando / Documents / Project raffle / other store / quickstart
> tsc -p src /
sh: 1: tsc: not found
npm ERR! weird error 127
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read /usr/share/doc/nodejs/README.Debian
npm ERR! not ok code 0
npm ERR! weird error 1
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read /usr/share/doc/nodejs/README.Debian
npm ERR! not ok code 0
I have Xubuntu 14.04 I install node correctly, I clone the quickstart repository of angular4 and when I throw the npm install it gives me a couple of errors. and well when I give it a start, it gives me what I hit above.
Search by tda the web but I do not know why I will do it. Thank you. Greetings.
There the debug that throws me.
npm-debug.log:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'i', '-g', 'npm' ]
2 info using [email protected]
3 info using [email protected]
4 verbose cache add [ 'npm', null ]
5 verbose cache add name=undefined spec="npm" args=["npm",null]
6 verbose parsed url { protocol: null,
6 verbose parsed url slashes: null,
6 verbose parsed url auth: null,
6 verbose parsed url host: null,
6 verbose parsed url port: null,
6 verbose parsed url hostname: null,
6 verbose parsed url hash: null,
6 verbose parsed url search: null,
6 verbose parsed url query: null,
6 verbose parsed url pathname: 'npm',
6 verbose parsed url path: 'npm',
6 verbose parsed url href: 'npm' }
7 silly lockFile 660051d1-npm npm
8 verbose lock npm /home/fernando/.npm/660051d1-npm.lock
9 silly lockFile 660051d1-npm npm
10 silly lockFile 660051d1-npm npm
11 verbose addNamed [ 'npm', '' ]
12 verbose addNamed [ null, '*' ]
13 silly lockFile 2f990b75-npm npm@
14 verbose lock npm@ /home/fernando/.npm/2f990b75-npm.lock
15 silly addNameRange { name: 'npm', range: '*', hasData: false }
16 verbose url raw npm
17 verbose url resolving [ 'https://registry.npmjs.org/', './npm' ]
18 verbose url resolved https://registry.npmjs.org/npm
19 info trying registry request attempt 1 at 18:03:54
20 http GET https://registry.npmjs.org/npm
21 info retry will retry, error on last attempt: Error: CERT_UNTRUSTED
22 info trying registry request attempt 2 at 18:04:05
23 http GET https://registry.npmjs.org/npm
24 info retry will retry, error on last attempt: Error: CERT_UNTRUSTED
25 info trying registry request attempt 3 at 18:05:06
26 http GET https://registry.npmjs.org/npm
27 silly lockFile 2f990b75-npm npm@
28 silly lockFile 2f990b75-npm npm@
29 error Error: CERT_UNTRUSTED
29 error at SecurePair.<anonymous> (tls.js:1370:32)
29 error at SecurePair.EventEmitter.emit (events.js:92:17)
29 error at SecurePair.maybeInitFinished (tls.js:982:10)
29 error at CleartextStream.read [as _read] (tls.js:469:13)
29 error at CleartextStream.Readable.read (_stream_readable.js:320:10)
29 error at EncryptedStream.write [as _write] (tls.js:366:25)
29 error at doWrite (_stream_writable.js:223:10)
29 error at writeOrBuffer (_stream_writable.js:213:5)
29 error at EncryptedStream.Writable.write (_stream_writable.js:180:11)
29 error at write (_stream_readable.js:583:24)
30 error If you need help, you may report this log at:
30 error <http://github.com/isaacs/npm/issues>
30 error or email it to:
30 error <[email protected]>
31 error System Linux 3.13.0-143-generic
32 error command "/usr/bin/nodejs" "/usr/bin/npm" "i" "-g" "npm"
33 error cwd /home/fernando/Documentos/ProyectoSorteador/tiendadeotro/quickstart
34 error node -v v0.10.25
35 error npm -v 1.3.10
36 verbose exit [ 1, true ]