Azure / Azure/azure-functions-core-tools
error while installing azure function tools on vs code
- Dominant language
- C#
- Stars
- 1.5k
- Forks
- 498
- Avg merge
- 5d 4h
- Merged PRs (30d)
- 15
Description
"npm install -g azure-functions-core-tools@4"...
npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN cleanup Failed to remove some directories [
npm WARN cleanup [
npm WARN cleanup 'C:\\Users\\uid\\AppData\\Roaming\\npm\\node_modules\\azure-functions-core-tools\\node_modules',
npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\u438756\AppData\Roaming\npm\node_modules\azure-functions-core-tools\node_modules\@types\node\timers'] {
npm WARN cleanup errno: -4048,
npm WARN cleanup code: 'EPERM',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'C:\\Users\\uid\\AppData\\Roaming\\npm\\node_modules\\azure-functions-core-tools\\node_modules\\@types\\node\\timers'
npm WARN cleanup }
npm WARN cleanup ],
npm WARN cleanup [
npm WARN cleanup 'C:\\Users\\uid\\AppData\\Roaming\\npm\\node_modules\\azure-functions-core-tools',
npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\u438756\AppData\Roaming\npm\node_modules\azure-functions-core-tools\node_modules\agent-base'] {
npm WARN cleanup errno: -4048,
npm WARN cleanup code: 'EPERM',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'C:\\Users\\u438756\\AppData\\Roaming\\npm\\node_modules\\azure-functions-core-tools\\node_modules\\agent-base'
npm WARN cleanup }
npm WARN cleanup ],
npm WARN cleanup [
npm WARN cleanup 'C:\\Users\\uid\\AppData\\Roaming\\npm\\node_modules\\azure-functions-core-tools',
npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\u438756\AppData\Roaming\npm\node_modules\azure-functions-core-tools\node_modules\@types'] {
npm WARN cleanup errno: -4048,
npm WARN cleanup code: 'EPERM',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'C:\\Users\\uid\\AppData\\Roaming\\npm\\node_modules\\azure-functions-core-tools\\node_modules\\@types'
npm WARN cleanup }
npm WARN cleanup ]
npm WARN cleanup ]
npm ERR! code 1
Contributor guide
Research direction
Start by reproducing `npm install -g azure-functions-core-tools@4` on Windows with the reported paths, then inspect the npm cleanup output and EPERM failures. The issue is complete when the installation failure is explained and a verified resolution is documented or implemented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, node.js, vscode
- Domain
- cli, devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100