[DEBUG] CLI flags: { interactive: true, confirm: false }
[DEBUG] { cwd: '/Users/Documents/Development/app', local: true, binPath:
'/usr/local/lib/node_modules/ionic/bin/ionic', libPath:
'/Users/Documents/Development/app/node_modules/ionic/dist/index.js' }
[DEBUG] Loading local plugin @ionic/cli-plugin-proxy
[DEBUG] Throwing PLUGIN_NOT_INSTALLED for local @ionic/cli-plugin-proxy
[DEBUG] Loading local plugin @ionic/cli-plugin-cordova
[DEBUG] Loading local plugin @ionic/cli-plugin-ionic-angular
[DEBUG] New daemon pid: 70972
[DEBUG] Getting plugin info for ionic
[DEBUG] Checking for latest plugin version of ionic@latest.
[DEBUG] Getting plugin info for @ionic/cli-plugin-cordova
[DEBUG] Checking for latest plugin version of @ionic/cli-plugin-cordova@latest.
[DEBUG] Getting plugin info for @ionic/cli-plugin-ionic-angular
[DEBUG] Checking for latest plugin version of @ionic/cli-plugin-ionic-angular@latest.
[INFO] Starting app-scripts server: --log-level debug --port 8100 --p 8100 --livereload-port 35729 --r 35729 --address
localhost - Ctrl+C to cancel
[13:36:38] watch started ...
[13:36:38] build dev started ...
npm run ionic:build --verbose:
npm info it worked if it ends with ok
npm verb cli [ '/usr/local/bin/node',
npm verb cli '/usr/local/bin/npm',
npm verb cli 'run',
npm verb cli 'ionic:build',
npm verb cli '--verbose' ]
npm info using npm@4.2.0
npm info using node@v7.10.0
npm verb run-script [ 'preionic:build', 'ionic:build', 'postionic:build' ]
npm info lifecycle ionic-hello-world@~preionic:build: ionic-hello-world@
npm info lifecycle ionic-hello-world@~ionic:build: ionic-hello-world@
[13:38:16] lint finished in 3.14 s
npm verb lifecycle ionic-hello-world@~ionic:build: unsafe-perm in lifecycle true
npm verb lifecycle ionic-hello-world@~ionic:build: PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin:/Users/Documents/Development/app/node_modules/.bin:/Users/google-cloud-sdk/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Applications/adt-bundle-mac-x86_64-20140321/sdk/tools:/Applications/adt-bundle-mac-x86_64-20140321/sdk/platform-tools
npm verb lifecycle ionic-hello-world@~ionic:build: CWD: /Users/Documents/Development/app
npm info lifecycle ionic-hello-world@~postionic:build: ionic-hello-world@
npm verb exit [ 0, true ]
npm info ok
With npm run ionic:build --verbose: the output is huge (like 30+ pages, so I’ve only copied here the start and end, in between there are only recommendations of what files are not used but are in the code.
It’s very strange that all ionic serve command just jump back to the command line.
Dimitris-app my$ npm run ionic:serve --verbose
npm info it worked if it ends with ok
npm verb cli [ '/usr/local/bin/node',
npm verb cli '/usr/local/bin/npm',
npm verb cli 'run',
npm verb cli 'ionic:serve',
npm verb cli '--verbose' ]
npm info using npm@4.2.0
npm info using node@v7.10.0
npm verb run-script [ 'preionic:serve', 'ionic:serve', 'postionic:serve' ]
npm info lifecycle ionic-hello-world@~preionic:serve: ionic-hello-world@
npm info lifecycle ionic-hello-world@~ionic:serve: ionic-hello-world@
> ionic-hello-world@ ionic:serve /Users/Documents/Development/app
> ionic-app-scripts serve
[13:56:57] ionic-app-scripts 2.1.3
[13:56:57] watch started ...
[13:56:57] build dev started ...
[13:56:57] clean started ...
[13:56:57] clean finished in 2 ms
[13:56:57] copy started ...
[13:56:57] transpile started ...
[13:57:01] transpile finished in 4.07 s
[13:57:01] preprocess started ...
[13:57:01] deeplinks started ...
[13:57:01] deeplinks finished in 87 ms
[13:57:01] preprocess finished in 88 ms
[13:57:01] webpack started ...
[13:57:01] copy finished in 4.32 s
[13:57:11] webpack finished in 10.70 s
[13:57:11] sass started ...
[13:57:13] sass finished in 1.44 s
[13:57:13] postprocess started ...
[13:57:13] postprocess finished in 4 ms
[13:57:13] lint started ...
[13:57:13] build dev finished in 16.35 s
[13:57:13] watch ready in 16.41 s
[13:57:13] dev server running: http://localhost:8101/
[13:57:17] tslint: src/providers/phone-storage.ts, line: 3
All imports are unused.
L2: // import { Storage } from '@ionic/storage';
L3: import firebase from 'firebase';
L4: import { FirebaseDatabase } from './firebase-database';
[13:57:17] tslint: src/providers/push-notifications.ts, line: 2
All imports are unused.
L1: import { Injectable } from '@angular/core';
L2: import { Http } from '@angular/http';
L3: import 'rxjs/add/operator/map';
[13:57:17] tslint: src/pages/login/login.ts, line: 3
'FacebookLoginResponse' is declared but never used.
L2: import { NavController, NavParams, App, LoadingController } from 'ionic-angular';
L3: import { Facebook, FacebookLoginResponse } from '@ionic-native/facebook';
L4: import firebase from 'firebase';
[13:57:17] tslint: src/pages/profile/profile.ts, line: 5
All imports are unused.
L4: import { LoginPage } from '../login/login';
L5: import firebase from 'firebase';
L6: import { Auth } from '../../providers/auth';
[13:57:17] tslint: src/providers/geocoding.ts, line: 16
Property 'geolocation' is declared but never used.
L16: constructor(private geolocation: Geolocation, private googleMaps: GoogleMaps, public platform: Platform) {
[13:57:17] tslint: src/providers/geocoding.ts, line: 16
Property 'googleMaps' is declared but never used.
L16: constructor(private geolocation: Geolocation, private googleMaps: GoogleMaps, public platform: Platform) {
[13:57:17] tslint: src/providers/geocoding.ts, line: 2
'CameraPosition' is declared but never used.
L1: import { Injectable } from '@angular/core';
L2: import { GoogleMaps, GoogleMap, GoogleMapsEvent, LatLng, CameraPosition, MarkerOptions, Marker } from '@ioni
L3: import { Geolocation } from '@ionic-native/geolocation';
[13:57:17] tslint: src/providers/geocoding.ts, line: 2
'MarkerOptions' is declared but never used.
L1: import { Injectable } from '@angular/core';
L2: gleMaps, GoogleMap, GoogleMapsEvent, LatLng, CameraPosition, MarkerOptions, Marker } from '@ionic-native/goo
L3: import { Geolocation } from '@ionic-native/geolocation';
[13:57:17] tslint: src/providers/geocoding.ts, line: 2
'Marker' is declared but never used.
L1: import { Injectable } from '@angular/core';
L2: oogleMap, GoogleMapsEvent, LatLng, CameraPosition, MarkerOptions, Marker } from '@ionic-native/google-maps';
L3: import { Geolocation } from '@ionic-native/geolocation';
[13:57:17] tslint: src/providers/firebase-storage.ts, line: 5
'Modal' is declared but never used.
L4: import { File } from '@ionic-native/file';
L5: import { Modal, NavController, Platform } from 'ionic-angular';
L6: import { Observable } from 'rxjs/Rx';
[13:57:17] tslint: src/providers/firebase-storage.ts, line: 5
'NavController' is declared but never used.
L4: import { File } from '@ionic-native/file';
L5: import { Modal, NavController, Platform } from 'ionic-angular';
L6: import { Observable } from 'rxjs/Rx';
L5: import { File } from '@ionic-native/file';
L6: import { Camera, CameraOptions } from '@ionic-native/camera';
[13:57:17] lint finished in 4.51 s
^C
Well, then I am officially out of ideas. Might be a problem with 3.7 though - it is brand new after all. And there was some work done adding ionic build that could touch these areas.