Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run NPM Install #1696

Open
umernaeem217 opened this issue Nov 21, 2023 · 0 comments
Open

Unable to run NPM Install #1696

umernaeem217 opened this issue Nov 21, 2023 · 0 comments

Comments

@umernaeem217
Copy link

When I try to run npm install I get the following error message.

9052 warn cleanup Failed to remove some directories [
9052 warn cleanup [
9052 warn cleanup 'C:\Users\umer.naeem\source\repos\cosmos-explorer\node_modules\eventemitter3',
9052 warn cleanup [Error: EBUSY: resource busy or locked, rmdir 'C:\Users\umer.naeem\source\repos\cosmos-explorer\node_modules\eventemitter3'] {
9052 warn cleanup errno: -4082,
9052 warn cleanup code: 'EBUSY',
9052 warn cleanup syscall: 'rmdir',
9052 warn cleanup path: 'C:\Users\umer.naeem\source\repos\cosmos-explorer\node_modules\eventemitter3'
9052 warn cleanup }
9052 warn cleanup ],
9052 warn cleanup [
9052 warn cleanup 'C:\Users\umer.naeem\source\repos\cosmos-explorer\node_modules\post-robot',
9052 warn cleanup [Error: EBUSY: resource busy or locked, rmdir 'C:\Users\umer.naeem\source\repos\cosmos-explorer\node_modules\post-robot'] {
9052 warn cleanup errno: -4082,
9052 warn cleanup code: 'EBUSY',
9052 warn cleanup syscall: 'rmdir',
9052 warn cleanup path: 'C:\Users\umer.naeem\source\repos\cosmos-explorer\node_modules\post-robot'
9052 warn cleanup }
9052 warn cleanup ],
9052 warn cleanup [
9052 warn cleanup 'C:\Users\umer.naeem\source\repos\cosmos-explorer\node_modules\@babel',
9052 warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\umer.naeem\source\repos\cosmos-explorer\node_modules@babel\helper-annotate-as-pure\node_modules@babel\types'] {
9052 warn cleanup errno: -4048,
9052 warn cleanup code: 'EPERM',
9052 warn cleanup syscall: 'rmdir',
9052 warn cleanup path: 'C:\Users\umer.naeem\source\repos\cosmos-explorer\node_modules\@babel\helper-annotate-as-pure\node_modules\@babel\types'
9052 warn cleanup }
9052 warn cleanup ],
9052 warn cleanup [
9052 warn cleanup 'C:\Users\umer.naeem\source\repos\cosmos-explorer\node_modules\@Azure',
9052 warn cleanup [Error: EBUSY: resource busy or locked, rmdir 'C:\Users\umer.naeem\source\repos\cosmos-explorer\node_modules@azure'] {
9052 warn cleanup errno: -4082,
9052 warn cleanup code: 'EBUSY',
9052 warn cleanup syscall: 'rmdir',
9052 warn cleanup path: 'C:\Users\umer.naeem\source\repos\cosmos-explorer\node_modules\@Azure'
9052 warn cleanup }
9052 warn cleanup ]
9052 warn cleanup ]
9053 timing reify:rollback:createSparse Completed in 30165ms
9054 timing reify:rollback:retireShallow Completed in 0ms
9055 timing command:install Completed in 187514ms
9056 verbose stack HttpErrorAuthUnknown: Unable to authenticate, need: Bearer authorization_uri=https://login.windows.net/npm_***, Basic realm="https://pkgsprodwus21.pkgs.visualstudio.com/", TFS-Federated
9056 verbose stack at C:\Users\umer.naeem\AppData\Roaming\npm\node_modules\npm\node_modules\npm-registry-fetch\lib\check-response.js:80:17
9056 verbose stack at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
9057 verbose statusCode 401
9058 verbose pkgid react-string-format@https://msazure.pkgs.visualstudio.com/_packaging/AzurePortal/npm/registry/react-string-format/-/react-string-format-1.0.1.tgz
9059 verbose cwd C:\Users\umer.naeem\source\repos\cosmos-explorer
9060 verbose Windows_NT 10.0.22631
9061 verbose node v18.18.0
9062 verbose npm v10.2.0
9063 error code E401
9064 error Unable to authenticate, your authentication token seems to be invalid.
9065 error To correct this please trying logging in again with:
9065 error npm login
9066 verbose exit 1
9067 timing npm Completed in 188134ms
9068 verbose unfinished npm timer reify 1700607802072
9069 verbose unfinished npm timer reify:unpack 1700607866482
9070 verbose unfinished npm timer reifyNode:node_modules/react-string-format 1700607866672
9071 verbose unfinished npm timer reifyNode:node_modules/jest-react-hooks-shallow 1700607866863
9072 verbose unfinished npm timer reifyNode:node_modules/@azure/cosmos 1700607867698
9073 verbose code 1
9074 error A complete log of this run can be found in: C:\Users\umer.naeem\AppData\Local\npm-cache_logs\2023-11-21T23_03_21_509Z-debug-0.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant