IONIC error after ionic start i sloved ;)

Hello Everyone,

I have problem in ionic 3 after i make ionic serve show me this error

Typescript Error
Cannot find module ‘rxjs/Subscription’.
import { ISubscription } from ‘rxjs/Subscription’;
import { LocationStrategy } from ‘./location_strategy’;

PLease help me

this is information about my version of ionic

cli packages: (/usr/local/lib/node_modules)

    @ionic/cli-utils  : 1.19.0
    ionic (Ionic CLI) : 3.19.0

local packages:

    @ionic/app-scripts : 3.1.6
    Ionic Framework    : ionic-angular 3.9.2


    Node : v8.6.0
    npm  : 5.5.1 
    OS   : Linux 4.13


    backend : pro

I sloved by

remove node_modules 
npm install 
npm install -g rxjs

show me your package.json

Hi, @imadaboulhouda

try below command

npm install -g rxjs


Note that @imadaboulhouda already added

i sloved :wink:

to the topic title.

Can you maybe share how you solved the problem?

1 Like