Material Design for Angular 2 throws ELIFECYCLE

2019-09-13 05:27发布

问题:

I'm trying to get Material Design for Angular2 (https://github.com/angular/material2) to work with my project.

After running:

npm install --save @angular/material
npm start

I get this error:

npm ERR! Darwin 16.0.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
npm ERR! node v6.9.1
npm ERR! npm  v3.10.8
npm ERR! code ELIFECYCLE
npm ERR! angular-quickstart@1.0.0 start: `tsc && concurrently "tsc -w" "lite-server" `
npm ERR! Exit status 2

Here is my npm-debug.log: http://pastebin.com/raw/GCffjQMh