Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70429

Ionic 5 compiling error rxjs

$
0
0

@martrix78 wrote:

if 1 start dev server 1 see an error:

[ng] ERROR in ../mts-crosslife/node_modules/@angular/core/esm2015/core.js
[ng] Module not found: Error: Can't resolve 'rxjs/Observable' in '/var/www/mts-crosslife/node_modules/@angular/core/esm2015'
[ng] ERROR in ../mts-crosslife/node_modules/@angular/core/esm2015/core.js
[ng] Module not found: Error: Can't resolve 'rxjs/Subject' in '/var/www/mts-crosslife/node_modules/@angular/core/esm2015'
[ng] ERROR in ../mts-crosslife/node_modules/ionic-angular/es2015/components/input/input.js
[ng] Module not found: Error: Can't resolve 'rxjs/Subject' in '/var/www/mts-crosslife/node_modules/ionic-angular/es2015/components/input'
[ng] ERROR in ../mts-crosslife/node_modules/ionic-angular/es2015/components/tabs/tabs.js
[ng] Module not found: Error: Can't resolve 'rxjs/Subject' in '/var/www/mts-crosslife/node_modules/ionic-angular/es2015/components/tabs'
[ng] ERROR in ../mts-crosslife/node_modules/@angular/core/esm2015/core.js
[ng] Module not found: Error: Can't resolve 'rxjs/Subscription' in '/var/www/mts-crosslife/node_modules/@angular/core/esm2015'
[ng] ERROR in ../mts-crosslife/node_modules/ionic-angular/es2015/components/input/input.js
[ng] Module not found: Error: Can't resolve 'rxjs/add/operator/takeUntil' in '/var/www/mts-crosslife/node_modules/ionic-angular/es2015/components/input'
[ng] ERROR in ../mts-crosslife/node_modules/ionic-angular/es2015/components/tabs/tabs.js
[ng] Module not found: Error: Can't resolve 'rxjs/add/operator/takeUntil' in '/var/www/mts-crosslife/node_modules/ionic-angular/es2015/components/tabs'
[ng] ERROR in ../mts-crosslife/node_modules/@angular/forms/esm2015/forms.js
[ng] Module not found: Error: Can't resolve 'rxjs/observable/forkJoin' in '/var/www/mts-crosslife/node_modules/@angular/forms/esm2015'
[ng] ERROR in ../mts-crosslife/node_modules/@angular/forms/esm2015/forms.js
[ng] Module not found: Error: Can't resolve 'rxjs/observable/fromPromise' in '/var/www/mts-crosslife/node_modules/@angular/forms/esm2015'
[ng] ERROR in ../mts-crosslife/node_modules/@angular/core/esm2015/core.js
[ng] Module not found: Error: Can't resolve 'rxjs/observable/merge' in '/var/www/mts-crosslife/node_modules/@angular/core/esm2015'
[ng] ERROR in ../mts-crosslife/node_modules/@angular/forms/esm2015/forms.js
[ng] Module not found: Error: Can't resolve 'rxjs/operator/map' in '/var/www/mts-crosslife/node_modules/@angular/forms/esm2015'
[ng] ERROR in ../mts-crosslife/node_modules/@angular/core/esm2015/core.js
[ng] Module not found: Error: Can't resolve 'rxjs/operator/share' in '/var/www/mts-crosslife/node_modules/@angular/core/esm2015'

**ionic info**

Ionic:
   Ionic CLI                     : 6.6.0 (/usr/local/lib/node_modules/@ionic/cli)
   Ionic Framework               : @ionic/angular 5.0.7
   @angular-devkit/build-angular : 0.803.26
   @angular-devkit/schematics    : 8.3.26
   @angular/cli                  : 8.3.26
   @ionic/angular-toolkit        : 2.2.0
Capacitor:
   Capacitor CLI   : 2.0.1
   @capacitor/core : 2.0.1
Utility:
   cordova-res (update available: 0.13.1) : 0.9.0
   native-run (update available: 1.0.0)   : 0.2.9
System:
   NodeJS : v12.4.0 (/usr/local/bin/node)
   npm    : 6.12.0
   OS     : Linux 4.15

rxjs is installed:
“rxjs”: “~6.5.1”,
“rxjs-compat”: “^6.5.5”,
What am I doing wrong?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70429

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>