简体   繁体   中英

Unable to run Angular project [Angular 6]

I have tried this solution. But it is not working for me. I've cloned a project from gitlab and trying to run the same. First see the output of my ng version command. 在此处输入图像描述 . I want to run an angular 6 project available on gitlab. You can clone it from here . I extracted the project and tried npm install . To which I'm getting the below errors: <code>npm install</code> 截图 . However I still tried ng serve . ng服务截图 I know It will definitely fail now. Please tell me whether something is wrong with the project or I am doing some mistake. Even with run as admin cmd prompt i'm getting this: 在此处输入图像描述

I have taken the clone and tried running ng serve, I got the same issue. However, I am able to run the project by changing rxjs version. Try using following command:

npm install rxjs@6.0.0 --save

Reference: https://github.com/ReactiveX/rxjs/issues/4540

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM