node modules rxjs internal types d ts 81 44 error TS1005 expected error after installation of Angular 6

0 votes

I got an error of:-

node_modules/rxjs/internal/types.d.ts(81,44): error TS1005: ';' 

Which I had expected after the installation of Angular 6.


Have shared the error below :

ERROR in node_modules/rxjs/internal/types.d.ts(81,44): error TS1005: ';' expected. node_modules/rxjs/internal/types.d.ts(81,74): error TS1005: ';' expected. node_modules/rxjs/internal/types.d.ts(81,77): error TS1109: Expression expected.

Feb 10, 2022 in Others by Soham
• 9,710 points
7,153 views

1 answer to this question.

0 votes

Due to the existence of a version mismatch, such a problem could arise which to get past, will require certain changes in your package.json file. Follow the steps mentioned below:-

Start with Going to package.json and modify "rxjs": "^6.0.0" to "rxjs": "6.0.0"

Following which, run npm install in your project. I have been using the "typescript": "~2.7.2" version and there is no need to modify the typescript version. However, if you are using rxjs-compat then you also need to change the rxjs-compat version from "rxjs-compat": "^6.2.2" to "rxjs-compat": "6.2.2"

I hope this helps you solve your problem. 

To know more about Angular, It's recommended to join Angular Online Course today

answered Feb 10, 2022 by Rahul
• 9,680 points

Related Questions In Others

0 votes
1 answer

Different types of Collation Sensitivity

Following are the different types of collation ...READ MORE

answered Oct 10, 2018 in Others by CodingByHeart77
• 3,750 points
3,442 views
0 votes
1 answer

How to do Installation of Ruby on Rails on Linux (Ubuntu)?

Hi Pratibha, installing ROR on ubuntu is ...READ MORE

answered Mar 1, 2019 in Others by Anvi
• 14,150 points
1,932 views
0 votes
2 answers

Different types of AI

Narrow AI (Weak AI), General AI (Strong ...READ MORE

answered Jun 19 in Others by anonymous
• 450 points
847 views
0 votes
1 answer

Flutter Error: MediaQuery.of() called with a context that does not contain a MediaQuery.

Hi@akhtar, You need a MaterialApp or a WidgetsApp around your widget. They ...READ MORE

answered Aug 27, 2020 in Others by MD
• 95,460 points
5,138 views
0 votes
1 answer

Error TS1005: ';' expected. TypeScript for First Build error rxjs inside node_modules

 I investigated that rxjs released a new version: 6.4.0. And ...READ MORE

answered Jun 10, 2022 in TypeSript by Nina
• 3,060 points
2,863 views
0 votes
1 answer

How to apply zoom animation for each element of a list in angular?

Hey @Sid, do check if this link ...READ MORE

answered Jul 30, 2019 in Others by Vardhan
• 13,150 points
1,589 views
0 votes
1 answer

Can't bind to 'formGroup' since it isn't a known property of 'form'

In order to rectify this error, you ...READ MORE

answered Feb 10, 2022 in Others by Rahul
• 9,680 points
21,397 views
0 votes
1 answer

How to set meta tags using Angular universal SSR and ngx-seo plug-in?

first Install the plug-in with npm i ngx-seo ...READ MORE

answered Feb 11, 2022 in Others by narikkadan
• 63,600 points
2,235 views
0 votes
1 answer

Where do I find a list of all mat-icons -- Angular

To answer your question, the prior Material.io ...READ MORE

answered Feb 10, 2022 in Others by Rahul
• 9,680 points
7,125 views
0 votes
1 answer

HTTP Error 403.14 - Forbidden - The Web server is configured to not list the contents of this directory

Try keeping this into your web config ...READ MORE

answered Feb 11, 2022 in Others by Rahul
• 9,680 points
12,994 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP