Cannot compile Ionic Cordova (Update 6) app on Visual Studio 2015

前端 未结 3 1588
长发绾君心
长发绾君心 2021-01-07 00:23

Recently I updated to Cordova Tools version 6 for Visual Studio I am now getting this error. Anytime I try to build my solution.

: BLD00401 : Could not find          


        
3条回答
  •  独厮守ぢ
    2021-01-07 00:30

    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 prefix "C:\Folder\With\No\Spaces"

    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.

提交回复
热议问题