Azure function core tools のインストール時に以下エラーが発生しており、原因がわからず、解決できずにいます。
どなたかご教授いただけませんでしょうか。
インストールコマンド
cmd
1npm i -g azure-functions-core-tools@4 --unsafe-perm true
以下のエラーが発生します。
cmd
1npm ERR! code 1 2 3npm ERR! path C:\Users\*******\AppData\Roaming\npm\node_modules\azure-functions-core-tools 4 5npm ERR! command failed 6 7npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node lib/install.js 8 9npm ERR! attempting to GET "https://functionscdn.azureedge.net/public/4.0.4544/Azure.Functions.Cli.win-x64.4.0.4544.zip" 10 11npm ERR! Error: self signed certificate in certificate chain 12 13 14npm ERR! A complete log of this run can be found in: 15 16npm ERR! C:\Users\ota_masato\AppData\Local\npm-cache\_logs\2022-06-05T05_27_37_096Z-debug-0.log
2行目のPathを見るとazure-functions-core-toolsは作成されていないです。
リンク(修正済み) に記載の
cmd
1npm i -g azure-functions-core-tools@3 --unsafe-perm true --force
も試しましたが結果は変わりませんでした。
環境
node v14.17.3
npm v8.12.1
windows 10
Pathを変更しても結果に変化はありませんでした。
質問前、対策を検討している際に、PC内の”node_modules”フォルダを全て削除したのですが、それが何か影響を及ぼしている可能性はありますでしょうか?
回答3件
あなたの回答
tips
プレビュー