Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/powershell/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Powershell 如何解决运行generate vapid Key——json web push时的错误?_Powershell_Terminal_Push Notification_Progressive Web Apps - Fatal编程技术网

Powershell 如何解决运行generate vapid Key——json web push时的错误?

Powershell 如何解决运行generate vapid Key——json web push时的错误?,powershell,terminal,push-notification,progressive-web-apps,Powershell,Terminal,Push Notification,Progressive Web Apps,为什么在运行web push生成无趣键--json时出现错误: web推送:术语“web推送”不被识别为服务器的名称 cmdlet、函数、脚本文件或可操作程序。检查拼写 如果包含路径,请验证该路径是否正确 请更正并重试。第1行字符:1 web推送生成乏味的键——json 解决办法是什么 web推送不是Powershell的一部分,而是一个。如果已安装nodejs,请首先尝试运行以下命令: npm install web-push -g npm install web-push -g

为什么在运行web push生成无趣键--json时出现错误:

web推送:术语“web推送”不被识别为服务器的名称 cmdlet、函数、脚本文件或可操作程序。检查拼写 如果包含路径,请验证该路径是否正确 请更正并重试。第1行字符:1

  • web推送生成乏味的键——json
解决办法是什么


web推送不是Powershell的一部分,而是一个。如果已安装nodejs,请首先尝试运行以下命令:

npm install web-push -g
 
npm install web-push -g