Can't update core tools
See original GitHub issueHi,
i can’t update the core tools because the module ‘unzipper’ is not found. Got the error when using the VSCode Command or running it in the terminal.
npm i -g azure-functions-core-tools@3 --unsafe-perm true
npm ERR! code 1
npm ERR! path C:\Users\mje\AppData\Roaming\npm\node_modules\azure-functions-core-tools
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node lib/install.js
npm ERR! node:internal/modules/cjs/loader:927
npm ERR! throw err;
npm ERR! ^
npm ERR!
npm ERR! Error: Cannot find module 'unzipper'
npm ERR! Require stack:
npm ERR! - C:\Users\mje\AppData\Roaming\npm\node_modules\azure-functions-core-tools\lib\install.js
npm ERR! at Function.Module._resolveFilename (node:internal/modules/cjs/loader:924:15)
npm ERR! at Function.Module._load (node:internal/modules/cjs/loader:769:27)
npm ERR! at Module.require (node:internal/modules/cjs/loader:996:19)
npm ERR! at require (node:internal/modules/cjs/helpers:92:18)
npm ERR! at Object.<anonymous> (C:\Users\mje\AppData\Roaming\npm\node_modules\azure-functions-core-tools\lib\install.js:3:18)
npm ERR! at Module._compile (node:internal/modules/cjs/loader:1092:14)
npm ERR! at Object.Module._extensions..js (node:internal/modules/cjs/loader:1121:10)
npm ERR! at Module.load (node:internal/modules/cjs/loader:972:32)
npm ERR! at Function.Module._load (node:internal/modules/cjs/loader:813:14)
npm ERR! at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12) {
npm ERR! code: 'MODULE_NOT_FOUND',
npm ERR! requireStack: [
npm ERR! 'C:\\Users\\mje\\AppData\\Roaming\\npm\\node_modules\\azure-functions-core-tools\\lib\\install.js'
npm ERR! ]
npm ERR! }
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\mje\AppData\Local\npm-cache\_logs\2021-03-29T07_41_54_784Z-debug.log
Issue Analytics
- State:
- Created 2 years ago
- Reactions:4
- Comments:19 (2 by maintainers)
Top Results From Across the Web
Unable to upgrade Azure Functions Core Tools, Exception ...
Unable to upgrade Azure Functions Core Tools, Exception "Cannot create instance of type 'NuGet. Versioning. VersionRange'"
Read more >Work with Azure Functions Core Tools
When upgrading to the latest version of Core Tools, you should use the same package manager as the original installation to perform the...
Read more >Fixing .NET Core tool update issues
NET Core tool update issues. I had an issue running an EntityFramework command after updating the NuGet packages to the latest version and ......
Read more >Rider - Can't find Azure Functions Core Tools Info
When I try to run or debug my Azure Functions project in Rider, I get the following error message: Error running '<ProjectName>': Can't...
Read more >Azure Functions Core Tools
The Azure Functions Core Tools provide a local development experience for creating, developing, testing, running, and debugging Azure Functions.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks @FabioFerrua
@CarsonPLS i agree. I think it doesn’t solve the real problem. When installing the core tools you shouldnt manually install all dependencies globally.
The frustrating part is that this has been ongoing with little response for weeks.
Yet VS Code reminds me of this issue about 4 times a day… (each time I open a new window)
MS, please just keep us posted… is it us being dumb, or is this something you have identified that you need to fix?