Copy: Error copying



I’m new to Ionic and I have buy an existing application, it seems to work fine on Apple but I try to use ‘ionic serve’ on Windows and it failed.

I have already search for a solution, but without finding any solution .

Does someone has an idea to fix the issue ??? Thx

I join the full log that I got in the console:

D:\SoCloze\Dev\photogram2>ionic serve

Dependency warning - for the CLI to run correctly,
it is highly recommended to install/upgrade the following:

Please install your Cordova CLI to version >=4.2.0 npm install -g cordova

Photogram2@ ionic:serve D:\SoCloze\Dev\photogram2
ionic-app-scripts serve

[22:39:57] ionic-app-scripts 0.0.45
[22:39:58] watch started …
[22:39:58] build dev started …
[22:39:58] clean started …
[22:39:58] clean finished in 9 ms
[22:39:58] copy started …
[22:39:58] transpile started …
[22:40:05] typescript: D:/SoCloze/Dev/photogram2/src/app/app.component.ts, line
: 21
[22:40:05] typescript: D:/SoCloze/Dev/photogram2/src/app/app.component.ts, line
: 22
[22:40:05] typescript: D:/SoCloze/Dev/photogram2/src/app/app.component.ts, line
: 45
[22:40:05] typescript: D:/SoCloze/Dev/photogram2/src/app/app.component.ts, line
: 46
[22:40:05] typescript: D:/SoCloze/Dev/photogram2/src/components/album-grid/albu
m-grid.ts, line: 49
[22:40:05] typescript: …:/SoCloze/Dev/photogram2/src/components/photo-list-po
pover/photo-list-popover.ts, line: 22
Cannot find name ‘Parse’.

[22:40:05] typescript: D:/SoCloze/Dev/photogram2/src/pages/auth/auth.ts, line:
157 L20:
ngOnInit() {
L21: [22:40:05] typescript: D:/SoCloze/Dev/photogram2/src/pages/tab-sear
ch-map/tab-search-map.ts, line: 60
L22: Parse.serverURL = PARSE_SERVER_URL;

        Cannot find name 'Parse'.
  L21:      Parse.initialize(PARSE_APP_ID);
  L22:      Parse.serverURL = PARSE_SERVER_URL;
        Cannot find name 'Parse'.
  L45:              console.log(Parse.User.current());
  L46:              if (!Parse.User.current()) {
        Cannot find name 'Parse'.
  L45:  console.log(Parse.User.current());
  L46:  if (!Parse.User.current()) {
  L47:      this.Push.init();
        Cannot find name 'Parse'.
  L48:  if (this.params['username']) {
  L49:      let username = Parse.User.current().get('username');
  L50:      console.log(this.params['username'], username);
        Cannot find name 'Parse'.
  L21:  item: any;
  L22:  username: string = Parse.User.current().get('username');
  L23:  canEdit: boolean = false;
        Cannot find name 'Parse'.
 L157:                  Parse.FacebookUtils.logIn(facebookAuthData, {
 L158:                      success: (user) => {
        Cannot find name 'Parse'.
  L59:  Geolocation.getCurrentPosition().then((position) => {
  L60:      this.params.location = new Parse.GeoPoint(position.coords.latitu

de, position.coords.longitude);
L61: let location = this.position(position.coords.latitude, p

[22:40:05] transpile failed
[22:40:07] copy: Error copying “D:\SoCloze\Dev\photogram2\src\assets” to “D:\So
[22:40:07] copy: Error copying “D:\SoCloze\Dev\photogram2\node_modules\ionicons
\dist\fonts” to
[22:40:07] copy finished in 8.84 s
[22:40:07] watch ready in 8.98 s
[22:40:07] dev server running: http://localhost:8100/


Did you add the parse plugin for platform windows or is it even available for windows - did you forget to import Parse?