Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm run build fails #2

Closed
Turelyo opened this issue Feb 6, 2019 · 3 comments
Closed

npm run build fails #2

Turelyo opened this issue Feb 6, 2019 · 3 comments

Comments

@Turelyo
Copy link

Turelyo commented Feb 6, 2019

Initially it failed to find electron, so I did an npm install electron --save and that resolved that issue.

Then, when attempting to do npm run build again, this happened:

ERROR in [at-loader] ./node_modules/rxjs/Subject.d.ts:24:5
    TS2416: Property 'lift' in type 'Subject<T>' is not assignable to the same property in base type 'Observable<T>'.
  Type '<R>(operator: Operator<T, R>) => Observable<T>' is not assignable to type '<R>(operator: Operator<T, R>) => Observable<R>'.
    Type 'Observable<T>' is not assignable to type 'Observable<R>'.
      Type 'T' is not assignable to type 'R'.
@Turelyo
Copy link
Author

Turelyo commented Feb 6, 2019

Maybe npm just installed a bad version of rxjs for me. I adjusted the line of code in node_modules/rxjs/Subject.d.ts to instead of and build worked. Curious to see if this breaks anything!

@mcred
Copy link
Owner

mcred commented Feb 6, 2019

I haven't built this project in a while, so the dependencies have probably updated and need to be resolved. If it helps, I'm using rxjs@5.0.0-rc.4. What version of rxjs does your build have?

@mcred
Copy link
Owner

mcred commented Mar 1, 2019

Closing this as the NPM version is archived and a newer Kotlin version is coming soon.

@mcred mcred closed this as completed Mar 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants