Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- terminal>ionic cordova plugin add cord
- ova-plugin-mauron85-background-geolocation
- > cordova plugin add cordova-plugin-mauron85-background-geolocation --save
- × Running command - failed!
- [ERROR] An error occurred while running cordova plugin add
- cordova-plugin-mauron85-background-geolocation --save (exit code 1):
- C:\Users\usuario.local\AppData\Roaming\npm\node_modules\cordova\node_mod
- ules\q\q.js:126
- throw e;
- ^
- Error: EPERM: operation not permitted, rename
- 'C:\Users\usuario.local\.config\configstore\update-notifier-cordova.json
- .1760067410'
- ->
- 'C:\Users\usuario.local\.config\configstore\update-notifier-cordova.json
- '
- at Object.fs.renameSync (fs.js:742:18)
- at Function.writeFileSync [as sync]
- (C:\Users\usuario.local\AppData\Roaming\npm\node_modules\cordova\node_mo
- dules\write-file-atomic\index.js:124:8)
- at Configstore.set
- (C:\Users\usuario.local\AppData\Roaming\npm\node_modules\cordova\node_mo
- dules\update-notifier\node_modules\configstore\index.js:62:21)
- at Configstore
- (C:\Users\usuario.local\AppData\Roaming\npm\node_modules\cordova\node_mo
- dules\update-notifier\node_modules\configstore\index.js:27:11)
- at new UpdateNotifier
- (C:\Users\usuario.local\AppData\Roaming\npm\node_modules\cordova\node_mo
- dules\update-notifier\index.js:34:17)
- at module.exports
- (C:\Users\usuario.local\AppData\Roaming\npm\node_modules\cordova\node_mo
- dules\update-notifier\index.js:123:23)
- at checkForUpdates
- (C:\Users\usuario.local\AppData\Roaming\npm\node_modules\cordova\src\cli
- .js:89:24)
- at cli
- (C:\Users\usuario.local\AppData\Roaming\npm\node_modules\cordova\src\cli
- .js:274:5)
- at
- C:\Users\usuario.local\AppData\Roaming\npm\node_modules\cordova\src\cli.
- js:210:16
- at _fulfilled
- (C:\Users\usuario.local\AppData\Roaming\npm\node_modules\cordova\node_mo
- dules\q\q.js:787:54)
- terminal>cordova plugin add cordova-pl
- ugin-mauron85-background-geolocation
- Unmet project requirements for latest version of cordova-plugin-mauron85-backgro
- und-geolocation:
- cordova-android (6.2.3 in project, >=6.3.0 required)
- cordova (7.0.1 in project, >=7.1.0 required)
- Fetching highest version of cordova-plugin-mauron85-background-geolocation that
- this project supports: 2.3.2 (latest is 2.3.3)
- Installing "cordova-plugin-mauron85-background-geolocation" for android
- ANDROID_HOME=C:\Users\usuario.local\AppData\Local\Android\sdk
- JAVA_HOME=C:\Program Files\Java\jdk1.8.0_131
- Subproject Path: CordovaLib
- Starting a Gradle Daemon (subsequent builds will be faster)
- > Configuring > 0/2 projects > root project > Resolving dependencies ':c
- The Task.leftShift(Closure) method has been deprecated and is scheduled to be re
- moved in Gradle 5.0. Please use Task.doLast(Action) instead.
- at build_1b671m4fjq8jxeb9g17z58nyy.run(D:\PROJETOS\APPs\IONICS\rental_tr
- ack_car\rentakCAR\platforms\android\build.gradle:137)
- The JavaCompile.setDependencyCacheDir() method has been deprecated and is schedu
- led to be removed in Gradle 4.0.
- Incremental java compilation is an incubating feature.
- The TaskInputs.source(Object) method has been deprecated and is scheduled to be
- removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() instea
- d.
- :clean
- :CordovaLib:clean
- BUILD SUCCESSFUL
- Total time: 1 mins 21.194 secs
- Subproject Path: CordovaLib
- Adding cordova-plugin-mauron85-background-geolocation to package.json
- Saved plugin info for "cordova-plugin-mauron85-background-geolocation" to config
- .xml
- terminal>npm install --save @ionic-nat
- ive/background-geolocation
- npm ERR! path terminal\node_modules\fs
- events\node_modules\getpass\node_modules
- npm ERR! code EPERM
- npm ERR! errno -4048
- npm ERR! syscall scandir
- npm ERR! Error: EPERM: operation not permitted, scandir 'D:\PROJETOS\APPs\IONICS
- \rental_track_car\rentakCAR\node_modules\fsevents\node_modules\getpass\node_modu
- les'
- npm ERR! { Error: EPERM: operation not permitted, scandir 'D:\PROJETOS\APPs\ION
- ICS\rental_track_car\rentakCAR\node_modules\fsevents\node_modules\getpass\node_m
- odules'
- npm ERR! stack: 'Error: EPERM: operation not permitted, scandir \'D:\\PROJETOS
- \\APPs\\IONICS\\rental_track_car\\rentakCAR\\node_modules\\fsevents\\node_module
- s\\getpass\\node_modules\'',
- npm ERR! errno: -4048,
- npm ERR! code: 'EPERM',
- npm ERR! syscall: 'scandir',
- npm ERR! path: 'D:\\PROJETOS\\APPs\\IONICS\\rental_track_car\\rentakCAR\\node_
- modules\\fsevents\\node_modules\\getpass\\node_modules' }
- npm ERR!
- npm ERR! Please try running this command again as root/Administrator.
- npm ERR! A complete log of this run can be found in:
- npm ERR! C:\Users\usuario.local\AppData\Roaming\npm-cache\_logs\2017-11-28T1
- 9_55_46_243Z-debug.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement