Skip to content
This repository was archived by the owner on Jun 28, 2021. It is now read-only.
This repository was archived by the owner on Jun 28, 2021. It is now read-only.

Issue with npm install #110

@edencheung

Description

@edencheung

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions