You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi I tried your generator today and I had the error below when running gulp serve or gulp test :
Error Message & Stack Trace
ERROR in C:\Users\Romain\IdeaProjects\test\node_modules\rxjs\observable\dom\WebSocketSubject.d.ts
(23,22): error TS2415: Class 'WebSocketSubject<T>' incorrectly extends base class 'AnonymousSubject<T>'.
Types of property 'lift' are incompatible.
Type '<R>(operator: Operator<T, R>) => WebSocketSubject<R>' is not assignable to type '<R>(operator: Operator<T, R>) => Observable<T>'.
Type 'WebSocketSubject<R>' is not assignable to type 'Observable<T>'.
Types of property 'operator' are incompatible.
Type 'Operator<any, R>' is not assignable to type 'Operator<any, T>'.
Type 'R' is not assignable to type 'T'.
Description
Hi I tried your generator today and I had the error below when running
gulp serveorgulp test:Error Message & Stack Trace
Config
{ "generator-fountain-angular2": { "version": "1.0.0", "props": { "framework": "angular2", "modules": "webpack", "js": "typescript", "ci": "", "css": "scss", "resolved": "C:\\Users\\Romain\\AppData\\Roaming\\npm\\node_modules\\generator-fountain-webapp\\node_modules\\generator-fountain-angular2\\generators\\app\\index.js", "namespace": "fountain-angular2:app", "_": [], "sample": "todoMVC", "router": "router" } } }Environment
(it is strange node says I'm on win32 but I'm on a Windows 10 64 bits plateform an use an node x64 version).
Solution
I had to lower my TypeScript version from 2.5.3 to 2.3.4 as suggested here : angular/angular#17800
I didn't tried other versions of TypeScript or tested the whole project with this version, but gulp serve works for me.
Romain.