bitpay / node-bitpay-client

A Node.js module and command line client for interacting with BitPay's Cryptographically Secure API
102 stars 95 forks source link

Issue with npm install #110

Open Eden4897 opened 3 years ago

Eden4897 commented 3 years ago

When i do npm i bitpay, i get the following error:

PS C:\Users\User\Desktop\Work\neidhartandr> npm install bitpay
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN bottemplate@1.0.0 No description
npm WARN bottemplate@1.0.0 No repository field.

npm ERR! code EPERM
npm ERR! syscall rename
npm ERR! path C:\Users\User\Desktop\Work\neidhartandr\node_modules\ajv\package.json.729148718
npm ERR! dest C:\Users\User\Desktop\Work\neidhartandr\node_modules\ajv\package.json
npm ERR! errno -4048
npm ERR! Error: EPERM: operation not permitted, rename 'C:\Users\User\Desktop\Work\neidhartandr\node_modules\ajv\package.json.729148718' -> 'C:\Users\User\Desktop\Work\neidhartandr\node_modules\ajv\package.json'
npm ERR!  [OperationalError: EPERM: operation not permitted, rename 'C:\Users\User\Desktop\Work\neidhartandr\node_modules\ajv\package.json.729148718' -> 'C:\Users\User\Desktop\Work\neidhartandr\node_modules\ajv\package.json'] {
npm ERR!   cause: [Error: EPERM: operation not permitted, rename 'C:\Users\User\Desktop\Work\neidhartandr\node_modules\ajv\package.json.729148718' -> 'C:\Users\User\Desktop\Work\neidhartandr\node_modules\ajv\package.json'] {
npm ERR!     errno: -4048,
npm ERR!     code: 'EPERM',
npm ERR!     syscall: 'rename',
npm ERR!     path: 'C:\\Users\\User\\Desktop\\Work\\neidhartandr\\node_modules\\ajv\\package.json.729148718',
npm ERR!     dest: 'C:\\Users\\User\\Desktop\\Work\\neidhartandr\\node_modules\\ajv\\package.json'
npm ERR!   },
npm ERR!   errno: -4048,
npm ERR!   code: 'EPERM',
npm ERR!   syscall: 'rename',
npm ERR!   path: 'C:\\Users\\User\\Desktop\\Work\\neidhartandr\\node_modules\\ajv\\package.json.729148718',
npm ERR!   dest: 'C:\\Users\\User\\Desktop\\Work\\neidhartandr\\node_modules\\ajv\\package.json',
npm ERR!   parent: 'neidhartandr'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It's possible that the file was already in use (by a text editor or antivirus),
npm ERR! or that you lack permissions to access it.
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\User\AppData\Roaming\npm-cache\_logs\2020-12-06T05_26_17_981Z-debug.log

However, I can install all other node modules perfectly normal.