Error buildin the app in ionic 3 cp: copyFileSync: could not write to dest file

#1

My app was building perfecty. just when i’ve installed this plugin Serial i start getting the error above.
what 's the probleme here?

1 Like
#2

What command are you executing?
What is the complete error message you are getting?
How exactly did you install the plugin?

#3

hi,
the cammands i used are:

  1. ionic cordova plugin add cordovarduino
    2.npm install --save @ionic-native/serial

the error i get is

Discovered plugin “fr.drangies.cordova.serial” in config.xml. Adding it to the project
Fetching plugin “fr.drangies.cordova.serial@~0.0.7” via npm
Failed to restore plugin “fr.drangies.cordova.serial” from config.xml. You might need to try adding it again. Error: Failed to fetch plugin fr.drangies.cordova.serial@~0.0.7 via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: Registry returned 404 for GET on https://registry.npmjs.org/fr.drangies.cordova.serial

#4

When do you get this error? What command are you executing to get it?

#5

Ionic cordova build android

#6

Hey, did you find a fix to this issue? Please update, thanks!