# No provider for Token Platform Pipes

**URL:** <https://forum.ionicframework.com/t/no-provider-for-token-platform-pipes/60414>\
**Category:** ionic-v3\
**Created:** [August 12, 2016, 7:10pm UTC](https://forum.ionicframework.com/t/no-provider-for-token-platform-pipes/60414 "2016-08-12T19:10:41Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmarginier](https://avatars.discourse-cdn.com/v4/letter/j/6a8cbe/32.png) [@jmarginier](https://forum.ionicframework.com/u/jmarginier)\
**Post date:** [August 12, 2016, 7:10pm UTC](https://forum.ionicframework.com/t/no-provider-for-token-platform-pipes/60414/1 "2016-08-12T19:10:42Z")

</div>

Hi,

I’ve a litle problem…and i don’t know why 😢

Uncaught No provider for Token Platform Pipes! (CompilerConfig → Token Platform Pipes), [http://localhost:8100/build/js/app.bundle.js](http://localhost:8100/build/js/app.bundle.js)

Exception catch :  
app.bundle.js:32685 Uncaught No provider for Token Platform Pipes! (CompilerConfig → Token Platform Pipes)ReflectiveInjector\_._instantiate @ app.bundle.js:32685ReflectiveInjector_._instantiateProvider @ app.bundle.js:32632ReflectiveInjector_._new @ app.bundle.js:32621ReflectiveInjectorDynamicStrategy.getObjByKeyId @ app.bundle.js:32273ReflectiveInjector_._getByKeyDefault @ app.bundle.js:32801ReflectiveInjector_._getByKey @ app.bundle.js:32773ReflectiveInjector_.get @ app.bundle.js:32582analyzeAppProvidersForDeprecatedConfiguration @ app.bundle.js:10701bootstrap @ app.bundle.js:47574(anonymous function) @ app.bundle.js:80083cssReady @ app.bundle.js:80108(anonymous function) @ app.bundle.js:80113

> ionic info  
> Your system information:  
> You have been opted out of telemetry. To change this, run: cordova telemetry on.  
> 6.3.0  
> Ionic Framework Version: 2.0.0-beta.11  
> Ionic CLI Version: 2.0.0-beta.37  
> Ionic App Lib Version: 2.0.0-beta.20  
> OS:  
> Node Version: v4.4.7

my package.json :

> {  
> “dependencies”: {  
> “@angular/common”: “^2.0.0-rc.4”,  
> “@angular/compiler”: “^2.0.0-rc.4”,  
> “@angular/core”: “^2.0.0-rc.4”,  
> “@angular/forms”: “^0.2.0”,  
> “@angular/http”: “^2.0.0-rc.4”,  
> “@angular/platform-browser”: “^2.0.0-rc.4”,  
> “@angular/platform-browser-dynamic”: “^2.0.0-rc.4”,  
> “angular2-moment”: “^0.8.2”,  
> “chart.js”: “^2.2.1”,  
> “es6-shim”: “^0.35.0”,  
> “ionic-angular”: “^2.0.0-beta.11”,  
> “ionic-native”: “^1.3.16”,  
> “ionicons”: “3.0.0”,  
> “mime”: “^1.3.4”,  
> “ng2-charts”: “^1.1.0”,  
> “ng2-translate”: “^2.4.1”,  
> “reflect-metadata”: “^0.1.3”,  
> “rxjs”: “^5.0.0-beta.6”,  
> “zone.js”: “^0.6.12”  
> },  
> “devDependencies”: {  
> “del”: “2.2.0”,  
> “gulp”: “3.9.1”,  
> “gulp-watch”: “4.3.5”,  
> “ionic-gulp-browserify-typescript”: “2.0.0”,  
> “ionic-gulp-fonts-copy”: “^1.0.0”,  
> “ionic-gulp-html-copy”: “^1.0.0”,  
> “ionic-gulp-sass-build”: “^1.0.0”,  
> “ionic-gulp-scripts-copy”: “^2.0.0”,  
> “ionic-gulp-tslint”: “^1.0.0”,  
> “tslint-ionic-rules”: “^0.0.3”,  
> “run-sequence”: “1.1.5”  
> },  
> “name”: “challengeme-client”,  
> “description”: “challengeme-client: An Ionic project”,  
> “cordovaPlugins”: [  
> “cordova-plugin-device”,  
> “cordova-plugin-console”,  
> “cordova-plugin-whitelist”,  
> “cordova-plugin-splashscreen”,  
> “cordova-plugin-statusbar”,  
> “ionic-plugin-keyboard”,  
> “cordova-plugin-file”,  
> “cordova-plugin-file-transfer”,  
> “cordova-plugin-background-mode”  
> ],  
> “cordovaPlatforms”:   
> }

any idea ?

Thx !

---

<div class="post-metadata">

**Author:** ![pyav](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/pyav/32/112189_2.png) [@pyav](https://forum.ionicframework.com/u/pyav)\
**Post date:** [August 13, 2016, 3:16pm UTC](https://forum.ionicframework.com/t/no-provider-for-token-platform-pipes/60414/2 "2016-08-13T15:16:04Z")

</div>

Confirm same, had problem with SQLite plugin, reinstalled cordova from 3.6 to 4.0 and got same error at ionic2 proj

---

<div class="post-metadata">

**Author:** ![jmarginier](https://avatars.discourse-cdn.com/v4/letter/j/6a8cbe/32.png) [@jmarginier](https://forum.ionicframework.com/u/jmarginier)\
**Post date:** [August 15, 2016, 9:20pm UTC](https://forum.ionicframework.com/t/no-provider-for-token-platform-pipes/60414/3 "2016-08-15T21:20:52Z")

</div>

do you have the steps to reproduce ?

---

<div class="post-metadata">

**Author:** ![marcmeans](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/marcmeans/32/99504_2.png) [@marcmeans](https://forum.ionicframework.com/u/marcmeans)\
**Post date:** [August 15, 2016, 11:07pm UTC](https://forum.ionicframework.com/t/no-provider-for-token-platform-pipes/60414/4 "2016-08-15T23:07:51Z")

</div>

I had this error when I upgraded to beta 11 because I still had the old angular2 forms module being loaded.  
I set up my bootstrap like so:

```
ionicBootstrap(
	MyApp,
	[
          disableDeprecatedForms(),
          provideForms(),
          MySuperService
	]);

```

to my provider array at the app level. These functions are imported from the @angular/forms barrel.

Not sure if it’s just a generic error and their are multiple causes, but this was our issue.

---

<div class="post-metadata">

**Author:** ![jmarginier](https://avatars.discourse-cdn.com/v4/letter/j/6a8cbe/32.png) [@jmarginier](https://forum.ionicframework.com/u/jmarginier)\
**Post date:** [August 16, 2016, 5:36pm UTC](https://forum.ionicframework.com/t/no-provider-for-token-platform-pipes/60414/5 "2016-08-16T17:36:05Z")

</div>

Hi,

Thx to share this marcmeans.

But, i test to use disableDeprecatedForms and provideFomrs but unfortunately it does not solve my problem :’(

Another idea ? 😃

---

<div class="post-metadata">

**Author:** ![akagr](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/akagr/32/84550_2.png) [@akagr](https://forum.ionicframework.com/u/akagr)\
**Post date:** [August 16, 2016, 7:24pm UTC](https://forum.ionicframework.com/t/no-provider-for-token-platform-pipes/60414/6 "2016-08-16T19:24:49Z")

</div>

Having this exact same problem. Not sure what’s wrong.

---

<div class="post-metadata">

**Author:** ![akagr](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/akagr/32/84550_2.png) [@akagr](https://forum.ionicframework.com/u/akagr)\
**Post date:** [August 17, 2016, 8:59am UTC](https://forum.ionicframework.com/t/no-provider-for-token-platform-pipes/60414/7 "2016-08-17T08:59:08Z")

</div>

Found that that the actual installed modules for @angular/common, @angular/compiler etc. were rc5, instead of rc4. That’s because that we’re allowing for patch updates with “^2.0.0-rc.4” in our package json.

Fixed that and installing the packages again. Fingers crossed for this.

**Update** : Yeah that was it! All the @angular/\* packages installed were rc5. Make sure you have installed only rc4 version of all packages. rc5 introduced a new module format which is messing things up.

---

<div class="post-metadata">

**Author:** ![Debgoume](https://avatars.discourse-cdn.com/v4/letter/d/9de0a6/32.png) [@Debgoume](https://forum.ionicframework.com/u/Debgoume)\
**Post date:** [August 18, 2016, 12:48am UTC](https://forum.ionicframework.com/t/no-provider-for-token-platform-pipes/60414/8 "2016-08-18T00:48:21Z")

</div>

Ionic 2 beta.11 is supporting angular 2 rc4

but angular is currently rc5, so you have to manually install angular rc4 packages :

_npm install --save @angular/common@2.0.0-rc.4 @angular/compiler@2.0.0-rc.4 @angular/core@2.0.0-rc.4 @angular/http@2.0.0-rc.4 @angular/platform-browser@2.0.0-rc.4 @angular/platform-browser-dynamic@2.0.0-rc.4_

Fixed that and installing the packages again. Fingers crossed for this.

Also if you are using ng-translate library, do not use latest version as if required angular 2 rc5

---

<div class="post-metadata">

**Author:** ![messi](https://avatars.discourse-cdn.com/v4/letter/m/6bbea6/32.png) [@messi](https://forum.ionicframework.com/u/messi)\
**Post date:** [October 6, 2016, 3:43am UTC](https://forum.ionicframework.com/t/no-provider-for-token-platform-pipes/60414/9 "2016-10-06T03:43:16Z")

</div>

step 1: revised as follows  
{  
“dependencies”: {  
“@angular/common”: “2.0.0-rc.5”,  
“@angular/compiler”: “2.0.0-rc.5”,  
“@angular/core”: “2.0.0-rc.5”,  
“@angular/forms”: “0.3.0”,  
“@angular/http”: “2.0.0-rc.5”,  
“@angular/platform-browser”: “2.0.0-rc.5”,  
“@angular/platform-browser-dynamic”: “2.0.0-rc.5”,  
“@angular/http”: “2.0.0-rc.5”,  
“@angular/forms”: “0.2.0”,  
“es6-shim”: “^0.35.0”,  
“ionic-angular”: “2.0.0-beta.11”,  
“ionic-native”: “1.3.10”,  
“ionicons”: “3.0.0”,  
“reflect-metadata”: “^0.1.3”,  
“rxjs”: “5.0.0-beta.6”,  
“zone.js”: “^0.6.12”  
},  
step 2:  
to command line:  
cd : C:\you project  
npm update

**Oh my God**  
has failed. help me!!!  
 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/c/e/ce38f6ba6a52a6c61bb3cb16d28b051ff7242e91.png)
