tflori / angular-translator

translation module for angular
https://tflori.github.io/angular-translator/
MIT License
21 stars 6 forks source link

No exported member 'Observable' #71

Closed ghost closed 6 years ago

ghost commented 6 years ago

Hi, I have updated my angular version to the newest version 6.0.8. I upgraded like it is advised on update.angular.io!

After the update I always get the following errors bildschirmfoto 2018-06-22 um 20 56 31

The output of ng version is the following: bildschirmfoto 2018-06-22 um 20 57 14

What is causing that error and how can I correct it?

tflori commented 6 years ago

some weeks ago someone had a similar issue (rxjs' observerable has no method subscribe).. I don't know what causes this issue. maybe try to remove node_modules and npm install - I have no idea. It's not a problem of angular-translator:

 ng version

     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/

Angular CLI: 6.0.8
Node: 10.4.0
OS: linux x64
Angular: 6.0.6
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.6.8
@angular-devkit/build-angular     0.6.8
@angular-devkit/build-optimizer   0.6.8
@angular-devkit/core              0.6.8
@angular-devkit/schematics        0.6.8
@angular/cdk                      6.3.0
@angular/cli                      6.0.8
@angular/material                 6.3.0
@ngtools/webpack                  6.0.8
@schematics/angular               0.6.8
@schematics/update                0.6.8
rxjs                              6.2.1
typescript                        2.7.2
webpack                           4.8.3

 ng build --prod

Date: 2018-06-23T05:55:38.013Z
Hash: 6130ea17e683288898bc
Time: 20914ms
chunk {0} runtime.a66f828dca56eeb90e02.js (runtime) 1.05 kB [entry] [rendered]
chunk {1} styles.f70e1738cdffae34aea6.css (styles) 57.3 kB [initial] [rendered]
chunk {2} polyfills.11acf72dd237e94cac3a.js (polyfills) 64.3 kB [initial] [rendered]
chunk {3} main.8c46357bb78ad31c9e46.js (main) 644 kB [initial] [rendered]

btw. he never answered back - please close your ticket if it is solved

ghost commented 6 years ago

Hi, Thank you for your reply, i found a workaround, i jus tinstalled

npm install rxjs-compat

and then the errors disapear and i can run ng serve successfully