mehulmpt / angular6-youtube

Angular 6 code repo for YouTube web series
58 stars 74 forks source link

Run Project / RXJS / SubscriptionLike #3

Open kamalkech opened 6 years ago

kamalkech commented 6 years ago
Angular CLI: 1.7.3
Node: 8.11.0
Npm: 5.8.0
OS: darwin x64
TypeScript: 2.8.1

After run: ng server

i get this error: ERROR in node_modules/@angular/common/src/location/location.d.ts(1,10): error TS2305: Module '"/angular6-youtube/node_modules/rxjs/Rx"' has no exported member 'SubscriptionLike'.

mehulmpt commented 6 years ago

Angular v6 is almost released. Just change your angular version v6 in package.json and run npm install

abhishekkjain commented 6 years ago

Angular CLI: 1.7.4 Node: 9.0.0 OS: linux x64 Angular: 6.0.9 typescript: 2.5.3 npm:5.5.1

After run:ng serve

I got this error 1.Node_modules/rxjs/Observable.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/Observable'. 2.node_modules/rxjs/Observable"' has no exported member 'Observable' 3.error TS2339: Property 'status' does not exist on type '{}'.

rssoftsoft commented 6 years ago

hi ,i installed angular 6.0.0-beta.3 still getting error

error TS2305: Module '"D:/Courses/Angular-2/2018/Aug/mehul/angular6-youtube/node_modules/rxjs/Rx"' has no exported member 'SubscriptionLike'

ghost commented 6 years ago

There seems to be many discrepancies between the combination of versions between rxjs and angular. What version of rxjs are you running?

mahesh7502 commented 6 years ago

After ng serve got below error:

ERROR in node_modules/@angular/common/src/location/location.d.ts(8,10): error TS2305: Module '"C:/Users/Mahesh/angular-login/angular6-youtube/node_modules/rxjs/Rx"' has no exported member 'SubscriptionLike'.

obendesmond commented 5 years ago

hello there mehul, please i can't see your server folder (tutorial 24) where node is the backend. I don't like php