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 in Others by Soham
• 8,730 points
612 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. 

answered Feb 10 by Rahul
• 8,980 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,720 points
1,164 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,170 points
848 views
0 votes
1 answer

Different types of AI

Following are the different types of AI: Reactive ...READ MORE

answered Apr 18, 2019 in Others by John
253 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,360 points
3,771 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 in TypeSript by Nina
• 2,900 points
85 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,200 points
478 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 in Others by Rahul
• 8,980 points
506 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 in Others by narikkadan
• 10,840 points
547 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 in Others by Rahul
• 8,980 points
591 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 in Others by Rahul
• 8,980 points
1,912 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP