Ionic Deploy: Error ... (Not a directory)

Some weeks ago I followed this tutorial to implement ionic deploy:

https://golb.hplar.ch/p/Hot-deploy-updates-to-Ionic-2-apps-with-Ionic-Deploy

It was working fine, but now I’m getting the following error when I load the newest snapshot:

ERROR Error: Uncaught (in promise): /data/user/0/{package name}/{snapshot name}/assets/fonts (Not a directory)
at c (polyfills.js:3)
at c (polyfills.js:3)
at polyfills.js:3
at t.invokeTask (polyfills.js:3)
at Object.onInvokeTask (main.js:4543)
at t.invokeTask (polyfills.js:3)
at r.runTask (polyfills.js:3)
at o (polyfills.js:3)
at

Any idea what could be the reason for it?

What is the ionic info that built the deploy?
Also, what version of the deploy plugin is installed in the app?

Ionic info:

global packages:

@ionic/cli-utils : 1.3.0
Cordova CLI      : 6.5.0 
Ionic CLI        : 3.3.0

local packages:

@ionic/app-scripts              : 1.3.7
@ionic/cli-plugin-cordova       : 1.3.0
@ionic/cli-plugin-ionic-angular : 1.3.0
Cordova Platforms               : android 6.2.3
Ionic Framework                 : ionic-angular 3.3.0

System:

Node       : v7.6.0
OS         : Linux 4.8
Xcode      : not installed
ios-deploy : not installed
ios-sim    : not installed

Deploy plugin Version: ^0.6.6

Uploads made with Ionic CLI v3 are a bit different and so need a newer plugin version to unpack.

There is a 0.6.7 at https://www.npmjs.com/package/ionic-plugin-deploy that should fix the issue.

Having same issue,

I upgraded the plugin to 0.6.7, but still the same

ionic info

@ionic/cli-utils : 1.3.0
Cordova CLI      : 6.3.1
Ionic CLI        : 3.3.0

local packages:

@ionic/app-scripts              : 1.3.7
@ionic/cli-plugin-cordova       : 1.3.0
@ionic/cli-plugin-ionic-angular : 1.3.0
Cordova Platforms               : android 5.2.2 ios 4.2.1
Ionic Framework                 : ionic-angular 3.3.0

System:

Node       : v6.9.1
OS         : Windows 10
Xcode      : not installed
ios-deploy : not installed
ios-sim    : not installed

For me it’s working again with version 0.6.7.

1 Like