Trying to install Angular 2 Material from npm - unrecognized token in source text

前端 未结 3 556
说谎
说谎 2021-02-11 19:27

I try the following command from PowerShell (as Administrator)

npm install @angular2-material

and get the error:

Unrecognized t         


        
3条回答
  •  孤街浪徒
    2021-02-11 20:11

    i have same issue faced when i typed command in editor but i got solution and i tried to command in system cmd so that execute easily and solved my problem.

    so that try command in command prompt instead of editor.

提交回复
热议问题