Advertisement
renatoSouza

Untitled

Nov 28th, 2017
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.90 KB | None | 0 0
  1. terminal>ionic cordova plugin add cord
  2. ova-plugin-mauron85-background-geolocation
  3. > cordova plugin add cordova-plugin-mauron85-background-geolocation --save
  4. × Running command - failed!
  5. [ERROR] An error occurred while running cordova plugin add
  6.  
  7.         cordova-plugin-mauron85-background-geolocation --save (exit code 1):
  8.  
  9.         C:\Users\usuario.local\AppData\Roaming\npm\node_modules\cordova\node_mod
  10. ules\q\q.js:126
  11.                              throw e;
  12.                              ^
  13.  
  14.         Error: EPERM: operation not permitted, rename
  15.         'C:\Users\usuario.local\.config\configstore\update-notifier-cordova.json
  16. .1760067410'
  17.         ->
  18.         'C:\Users\usuario.local\.config\configstore\update-notifier-cordova.json
  19. '
  20.              at Object.fs.renameSync (fs.js:742:18)
  21.              at Function.writeFileSync [as sync]
  22.         (C:\Users\usuario.local\AppData\Roaming\npm\node_modules\cordova\node_mo
  23. dules\write-file-atomic\index.js:124:8)
  24.              at Configstore.set
  25.         (C:\Users\usuario.local\AppData\Roaming\npm\node_modules\cordova\node_mo
  26. dules\update-notifier\node_modules\configstore\index.js:62:21)
  27.              at Configstore
  28.         (C:\Users\usuario.local\AppData\Roaming\npm\node_modules\cordova\node_mo
  29. dules\update-notifier\node_modules\configstore\index.js:27:11)
  30.              at new UpdateNotifier
  31.         (C:\Users\usuario.local\AppData\Roaming\npm\node_modules\cordova\node_mo
  32. dules\update-notifier\index.js:34:17)
  33.              at module.exports
  34.         (C:\Users\usuario.local\AppData\Roaming\npm\node_modules\cordova\node_mo
  35. dules\update-notifier\index.js:123:23)
  36.              at checkForUpdates
  37.         (C:\Users\usuario.local\AppData\Roaming\npm\node_modules\cordova\src\cli
  38. .js:89:24)
  39.              at cli
  40.         (C:\Users\usuario.local\AppData\Roaming\npm\node_modules\cordova\src\cli
  41. .js:274:5)
  42.              at
  43.         C:\Users\usuario.local\AppData\Roaming\npm\node_modules\cordova\src\cli.
  44. js:210:16
  45.              at _fulfilled
  46.         (C:\Users\usuario.local\AppData\Roaming\npm\node_modules\cordova\node_mo
  47. dules\q\q.js:787:54)
  48.  
  49.  
  50. terminal>cordova plugin add cordova-pl
  51. ugin-mauron85-background-geolocation
  52. Unmet project requirements for latest version of cordova-plugin-mauron85-backgro
  53. und-geolocation:
  54.     cordova-android (6.2.3 in project, >=6.3.0 required)
  55.     cordova (7.0.1 in project, >=7.1.0 required)
  56. Fetching highest version of cordova-plugin-mauron85-background-geolocation that
  57. this project supports: 2.3.2 (latest is 2.3.3)
  58. Installing "cordova-plugin-mauron85-background-geolocation" for android
  59. ANDROID_HOME=C:\Users\usuario.local\AppData\Local\Android\sdk
  60. JAVA_HOME=C:\Program Files\Java\jdk1.8.0_131
  61. Subproject Path: CordovaLib
  62. Starting a Gradle Daemon (subsequent builds will be faster)
  63.         > Configuring > 0/2 projects > root project > Resolving dependencies ':c
  64. The Task.leftShift(Closure) method has been deprecated and is scheduled to be re
  65. moved in Gradle 5.0. Please use Task.doLast(Action) instead.
  66.        at build_1b671m4fjq8jxeb9g17z58nyy.run(D:\PROJETOS\APPs\IONICS\rental_tr
  67. ack_car\rentakCAR\platforms\android\build.gradle:137)
  68. The JavaCompile.setDependencyCacheDir() method has been deprecated and is schedu
  69. led to be removed in Gradle 4.0.
  70. Incremental java compilation is an incubating feature.
  71. The TaskInputs.source(Object) method has been deprecated and is scheduled to be
  72. removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() instea
  73. d.
  74. :clean
  75. :CordovaLib:clean
  76.  
  77. BUILD SUCCESSFUL
  78.  
  79. Total time: 1 mins 21.194 secs
  80. Subproject Path: CordovaLib
  81. Adding cordova-plugin-mauron85-background-geolocation to package.json
  82. Saved plugin info for "cordova-plugin-mauron85-background-geolocation" to config
  83. .xml
  84.  
  85. terminal>npm install --save @ionic-nat
  86. ive/background-geolocation
  87. npm ERR! path terminal\node_modules\fs
  88. events\node_modules\getpass\node_modules
  89. npm ERR! code EPERM
  90. npm ERR! errno -4048
  91. npm ERR! syscall scandir
  92. npm ERR! Error: EPERM: operation not permitted, scandir 'D:\PROJETOS\APPs\IONICS
  93. \rental_track_car\rentakCAR\node_modules\fsevents\node_modules\getpass\node_modu
  94. les'
  95. npm ERR!  { Error: EPERM: operation not permitted, scandir 'D:\PROJETOS\APPs\ION
  96. ICS\rental_track_car\rentakCAR\node_modules\fsevents\node_modules\getpass\node_m
  97. odules'
  98. npm ERR!   stack: 'Error: EPERM: operation not permitted, scandir \'D:\\PROJETOS
  99. \\APPs\\IONICS\\rental_track_car\\rentakCAR\\node_modules\\fsevents\\node_module
  100. s\\getpass\\node_modules\'',
  101. npm ERR!   errno: -4048,
  102. npm ERR!   code: 'EPERM',
  103. npm ERR!   syscall: 'scandir',
  104. npm ERR!   path: 'D:\\PROJETOS\\APPs\\IONICS\\rental_track_car\\rentakCAR\\node_
  105. modules\\fsevents\\node_modules\\getpass\\node_modules' }
  106. npm ERR!
  107. npm ERR! Please try running this command again as root/Administrator.
  108.  
  109. npm ERR! A complete log of this run can be found in:
  110. npm ERR!     C:\Users\usuario.local\AppData\Roaming\npm-cache\_logs\2017-11-28T1
  111. 9_55_46_243Z-debug.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement