node_modules is being deleted.

Logicseed-Mac-Mini:ionictimesheet logicseed$ ionic serve
? Looks like a fresh checkout! No ./node_modules directory found. Would you like
to install project dependencies? Yes
Installing dependencies may take several minutes!
> npm install
✔ Running command – done!
? Looks like this is an Ionic Angular project, would you like to install @ionic/
cli-plugin-ionic-angular and continue? Yes
> npm install –save-dev –save-exact @ionic/cli-plugin-ionic-angular@latest
✔ Running command – done!
[WARN] The Ionic CLI has an update available! Please upgrade (you might need sudo):

npm install -g ionic@latest

Starting app-scripts server: –port 8100 –livereload-port 35729 –address 0.0.0.0 – Ctrl+C to cancel
[16:32:12] watch started …
[16:32:12] build dev started …
[16:32:12] clean started …
[16:32:12] clean finished in 413 ms
[16:32:12] copy started …
[16:32:12] transpile started …
[16:32:49] typescript: node_modules/@ionic-native/network/index.d.ts, line: 1
Module ‘”/Users/logicseed/NetBeansProjects/ionictimesheet/node_modules/@ionic-native/core/index”‘ has no
exported member ‘IonicNativePlugin’.

L1: import { IonicNativePlugin } from ‘@ionic-native/core’;
L2: import { Observable } from ‘rxjs/Observable’;

[16:32:50] dev server running: http://localhost:8100/

[16:32:52] copy finished in 39.99 s
[16:32:52] watch ready in 40.55 s
^C
Logicseed-Mac-Mini:ionictimesheet logicseed$ ionic serve
Starting app-scripts server: –port 8100 –livereload-port 35729 –address 0.0.0.0 – Ctrl+C to cancel
[16:35:23] watch started …
[16:35:23] build dev started …
[16:35:23] clean started …
[16:35:23] clean finished in 119 ms
[16:35:23] copy started …
[16:35:23] transpile started …
[16:35:46] typescript: node_modules/@ionic-native/network/index.d.ts, line: 1
Module ‘”/Users/logicseed/NetBeansProjects/ionictimesheet/node_modules/@ionic-native/core/index”‘ has no
exported member ‘IonicNativePlugin’.

L1: import { IonicNativePlugin } from ‘@ionic-native/core’;
L2: import { Observable } from ‘rxjs/Observable’;

[16:35:46] dev server running: http://localhost:8100/

[16:35:48] watch ready in 25.70 s
[16:35:48] copy finished in 25.46 s
^C
Logicseed-Mac-Mini:ionictimesheet logicseed$ npm uninstall –save
Logicseed-Mac-Mini:ionictimesheet logicseed$ npm install –save @latest
npm ERR! addLocal Could not install /Users/logicseed/NetBeansProjects/ionictimesheet/@latest
npm ERR! Darwin 16.5.0
npm ERR! argv “/usr/local/Cellar/node/7.10.0/bin/node” “/usr/local/bin/npm” “install” “–save” “@latest”
npm ERR! node v7.10.0
npm ERR! npm v4.2.0
npm ERR! path /Users/logicseed/NetBeansProjects/ionictimesheet/@latest
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open

npm ERR! enoent ENOENT: no such file or directory, open ‘/Users/logicseed/NetBeansProjects/ionictimesheet/@latest’
npm ERR! enoent ENOENT: no such file or directory, open ‘/Users/logicseed/NetBeansProjects/ionictimesheet/@latest’
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Darwin 16.5.0
npm ERR! argv “/usr/local/Cellar/node/7.10.0/bin/node” “/usr/local/bin/npm” “install” “–save” “@latest”
npm ERR! node v7.10.0
npm ERR! npm v4.2.0
npm ERR! path /Users/logicseed/.npm/_logs/2017-06-04T10_53_30_028Z-debug.log.1339220543
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall open

npm ERR! Error: EACCES: permission denied, open ‘/Users/logicseed/.npm/_logs/2017-06-04T10_53_30_028Z-debug.log.1339220543’
npm ERR! { Error: EACCES: permission denied, open ‘/Users/logicseed/.npm/_logs/2017-06-04T10_53_30_028Z-debug.log.1339220543’
npm ERR! errno: -13,
npm ERR! code: ‘EACCES’,
npm ERR! syscall: ‘open’,
npm ERR! path: ‘/Users/logicseed/.npm/_logs/2017-06-04T10_53_30_028Z-debug.log.1339220543’ }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! Please include the following file with any support request:
npm ERR! /Users/logicseed/.npm/_logs/2017-06-04T10_53_30_028Z-debug.log
Logicseed-Mac-Mini:ionictimesheet logicseed$ sudo npm install –save @latest
Password:
npm ERR! addLocal Could not install /Users/logicseed/NetBeansProjects/ionictimesheet/@latest
npm ERR! Darwin 16.5.0
npm ERR! argv “/usr/local/Cellar/node/7.10.0/bin/node” “/usr/local/bin/npm” “install” “–save” “@latest”
npm ERR! node v7.10.0
npm ERR! npm v4.2.0
npm ERR! path /Users/logicseed/NetBeansProjects/ionictimesheet/@latest
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open

npm ERR! enoent ENOENT: no such file or directory, open ‘/Users/logicseed/NetBeansProjects/ionictimesheet/@latest’
npm ERR! enoent ENOENT: no such file or directory, open ‘/Users/logicseed/NetBeansProjects/ionictimesheet/@latest’
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! Please include the following file with any support request:
npm ERR! /Users/logicseed/.npm/_logs/2017-06-04T10_54_20_664Z-debug.log
Logicseed-Mac-Mini:ionictimesheet logicseed$ sudo ionic serve
Starting app-scripts server: –port 8100 –livereload-port 35729 –address 0.0.0.0 – Ctrl+C to cancel
[16:41:11] watch started …
[16:41:11] build dev started …
[16:41:11] clean started …
[16:41:11] clean finished in 128 ms
[16:41:11] copy started …
[16:41:11] transpile started …
[16:41:44] typescript: node_modules/@ionic-native/network/index.d.ts, line: 1
Module ‘”/Users/logicseed/NetBeansProjects/ionictimesheet/node_modules/@ionic-native/core/index”‘ has no
exported member ‘IonicNativePlugin’.

L1: import { IonicNativePlugin } from ‘@ionic-native/core’;
L2: import { Observable } from ‘rxjs/Observable’;

[16:41:44] dev server running: http://localhost:8100/

[16:41:46] watch ready in 35.38 s
[16:41:47] copy finished in 35.69 s
^C

Installation of native core separately.

Logicseed-Mac-Mini:ionictimesheet logicseed$ sudo npm install @ionic-native/core
ionic-hello-world@ /Users/logicseed/NetBeansProjects/ionictimesheet
├── UNMET PEER DEPENDENCY @angular/common@4.0.0
├── UNMET PEER DEPENDENCY @angular/compiler@4.0.0
├── UNMET PEER DEPENDENCY @angular/core@4.0.0
├── UNMET PEER DEPENDENCY @angular/forms@4.0.0
├── @ionic-native/core@3.6.0
└── UNMET PEER DEPENDENCY @ionic/app-scripts@1.3.0

npm WARN @ionic/cli-plugin-ionic-angular@1.3.0 requires a peer of @ionic/app-scripts@^1.3.7 but none was installed.
npm WARN ng2-table@1.3.2 requires a peer of @angular/common@~2.0.0 but none was installed.
npm WARN ng2-table@1.3.2 requires a peer of @angular/compiler@~2.0.0 but none was installed.
npm WARN ng2-table@1.3.2 requires a peer of @angular/core@~2.0.0 but none was installed.
npm WARN ng2-table@1.3.2 requires a peer of @angular/forms@~2.0.0 but none was installed.

Working

Logicseed-Mac-Mini:ionictimesheet logicseed$ sudo ionic serve
Starting app-scripts server: –port 8100 –livereload-port 35729 –address 0.0.0.0 – Ctrl+C to cancel
[16:45:28] watch started …
[16:45:28] build dev started …
[16:45:28] clean started …
[16:45:28] clean finished in 139 ms
[16:45:28] copy started …
[16:45:28] transpile started …
[16:45:59] transpile finished in 30.36 s
[16:45:59] preprocess started …
[16:45:59] deeplinks started …
[16:45:59] deeplinks finished in 198 ms
[16:45:59] preprocess finished in 200 ms
[16:45:59] webpack started …
[16:46:07] copy finished in 38.58 s
[16:46:27] webpack finished in 27.70 s
[16:46:27] sass started …
[16:46:33] sass finished in 6.37 s
[16:46:33] postprocess started …
[16:46:34] postprocess finished in 664 ms
[16:46:34] lint started …
[16:46:34] build dev finished in 65.62 s
[16:46:35] watch ready in 67.41 s
[16:46:36] dev server running: http://localhost:8100/

[16:47:30] lint finished in 55.75 s

Running on MAC after new pull from GIT.
Tagged on:     

Leave a Reply

Your email address will not be published. Required fields are marked *