Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/email/3.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
Visual studio 2017 NuGet包管理器控制台不工作 Visual Studio Enterprise 2017版本15.9.7 Windows7专业版SP1_Visual Studio 2017_Nuget - Fatal编程技术网

Visual studio 2017 NuGet包管理器控制台不工作 Visual Studio Enterprise 2017版本15.9.7 Windows7专业版SP1

Visual studio 2017 NuGet包管理器控制台不工作 Visual Studio Enterprise 2017版本15.9.7 Windows7专业版SP1,visual-studio-2017,nuget,Visual Studio 2017,Nuget,我第一次使用NuGet Package Manager控制台。我以前使用过NuGet解决方案GUI控制台 然而,我得到了这个错误 Each package is licensed to you by its owner. NuGet is not responsible for, nor does it grant any licenses to, third-party packages. Some packages may include dependencies which are gov

我第一次使用NuGet Package Manager控制台。我以前使用过NuGet解决方案GUI控制台

然而,我得到了这个错误

Each package is licensed to you by its owner. NuGet is not responsible for, nor does it grant any licenses to, third-party packages. Some packages may include dependencies which are governed by additional licenses. Follow the package source (feed) URL to determine any dependencies.

Package Manager Console Host Version 4.9.3.5777

Type 'get-help NuGet' to see all available NuGet commands.

PM> npm init -v
npm : openssl config failed: error:02001003:system library:fopen:No such process
At line:1 char:1
+ npm init -v
+ ~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (openssl config ...No such process:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError

5.6.0
openssl config failed: error:02001003:system library:fopen:No such process
PM> 
我不知道发生了什么事。有什么想法吗

我的最终目的是学习本教程


我找到了解决办法。OPENSSL_CONF环境变量阻止运行npm。删除变量后,它现在可以工作。

嗨,Katsutoshi,很高兴听到您的问题得到解决,感谢您分享解决方案。请在您有空时将其标记为答案,这也将帮助其他社区成员更轻松地搜索此有用信息,谢谢。