Trying to install Angular 2 Material from npm - unrecognized token in source text
Try quotes:
npm install "@angular2-material"
The @ is making PowerShell treat @angular2-material as a variable.
- You could use cmd.exe (command shell) instead of PowerShell
or
- You could surround the package in quotes: e.g.,
"@angular2-material"