RC1 - Manifest.JSON error


A couple days ago, I went to work without any new changes to my app and all of a sudden I had this massive NodeJS memory leak during “ionic serve”. I was in RC1, but figured there might be some new updates I needed to get. So I updated Node from 4.6 to 6.9.1, I updated ionic-app-scripts to 0.0.38 and I tried to update RXJS to 5.0.0-rc1 but it still tells me that is an unmet peer dependency. Anyway, I did all that, and I could no longer build at all. I deleted node_modules and reinstalled. Now, I am getting one error on “ionic serve”:

ionic-app-scripts watch
[15:39:58]  ionic-app-scripts 0.0.38
[15:39:58]  watch started ...
[15:39:58]  build dev started ...
[15:39:58]  clean started ...
[15:39:58]  clean finished in 6 ms
[15:39:58]  copy started ...
[15:39:58]  transpile started ...
[15:40:00]  lint started ...
[15:40:08]  lint finished in 8.44 s
[15:40:09]  transpile finished in 11.18 s
[15:40:09]  webpack started ...
[15:40:10]  copy: Error copying "c:\Users\Cindy\Documents\Ionic2\Forecast4\src\manifest.json" to

[15:40:10]  copy finished in 11.86 s
            "c:\Users\Cindy\Documents\Ionic2\Forecast4\www\manifest.json": File not found

[15:40:33]  webpack finished in 23.84 s
[15:40:33]  sass started ...
[15:40:42]  sass finished in 8.61 s
[15:40:42]  build dev finished in 43.67 s

There is no manifest.json at that location. Does anyone know what is happening with this and how I might fix it? Here is my info:

Cordova CLI: 6.3.1
Gulp version: CLI version 3.9.1
Gulp local:
Ionic Framework Version: 2.0.0-rc.1
Ionic CLI Version: 2.1.0
Ionic App Lib Version: 2.0.0-beta.20
Node Version: v6.9.1

…and package.json:

“name”: “forecast4”,
“author”: “Ionic Framework”,
“homepage”: “http://ionicframework.com/”,
“private”: true,
“scripts”: {
“build”: “ionic-app-scripts build”,
“watch”: “ionic-app-scripts watch”,
“serve:before”: “watch”,
“emulate:before”: “build”,
“deploy:before”: “build”,
“build:before”: “build”,
“run:before”: “build”
“dependencies”: {
"@angular/common": “^2.0.0”,
"@angular/compiler": “^2.0.0”,
"@angular/compiler-cli": “0.6.2”,
"@angular/core": “^2.0.0”,
"@angular/forms": “^2.0.0”,
"@angular/http": “^2.0.0”,
"@angular/platform-browser": “^2.0.0”,
"@angular/platform-browser-dynamic": “^2.0.0”,
"@angular/platform-server": “^2.0.0”,
"@ionic/storage": “^1.0.3”,
“ionic-angular”: “^2.0.0-rc.1”,
“ionic-app-lib”: “^2.1.2”,
“ionic-native”: “^2.2.3”,
“ionicons”: “^3.0.0”,
“rxjs”: “^5.0.0-rc.1”,
“zone.js”: “^0.6.21”
“devDependencies”: {
"@ionic/app-scripts": “^0.0.38”,
“typescript”: “^2.0.3”
“description”: “Forecast4: An Ionic project”,
“cordovaPlugins”: [
“cordovaPlatforms”: []

How to configure deeplinks in AppModule.forRoot()?

Ok, I managed to fix this by updating my package.json file to the one posted in the blog. I think I had one extra line and app-scripts was 38 :stuck_out_tongue: https://github.com/driftyco/ionic/blob/master/CHANGELOG.md#packagejson-updates

It also appears my memory leak and warning about rxjs are now resolved as well just in case anyone comes here with those problems. Hard to tell when those were resolved - after the updates, or after the package.json correction.


Just put ionic manifest & service-worker files in your src folder :