更新时间:2023-01-24 22:07:11
这似乎是我们在Update 6中引入的错误,如果您的npm安装目录(通常在您的AppData文件夹中)的路径在路径中有空格,则会导致npm install错误。简单的解决方法是更改您的npm安装目录:
This appears to be a bug that we introduced in Update 6 that causes npm install errors if the path to your npm install directory (usually in your AppData folder) has a space in the path. The simple workaround is to change your npm install directory:
npm config set prefixC:\Folder\With\No\Spaces
npm config set prefix "C:\Folder\With\No\Spaces"
然后在VS中再次构建。我们会尽快解决问题,并在更新7中发布。
And then build again in VS. We will get this fixed up and released in Update 7 as soon as we can.
对不便之处,不便之处,敬请见谅。
Sorry for the inconvenience.