簡體   English   中英

NuGet:jQuery Mobile安裝錯誤

[英]NuGet: jQuery Mobile install error

我創建了一個空的MVC 2空Web應用程序,然后使用NuGet將我的項目升級到MVC4。此后,我使用NuGet安裝jQuery Mobile,但出現錯誤。 這是整個錯誤消息

Attempting to resolve dependency 'jquery (≥ 1.6.4)'.
Installing 'jQuery 1.6.4'.
Successfully installed 'jQuery 1.6.4'.
Installing 'jquery.mobile 1.3.2'.
Successfully installed 'jquery.mobile 1.3.2'.
Adding 'jQuery 1.6.4' to MvcApplication1.
Successfully added 'jQuery 1.6.4' to MvcApplication1.
Executing script file 'C:\Users\Administrator\Documents\Visual Studio 2010\Projects\MSCExpress\MvcApplication1\packages\jQuery.1.6.4\Tools\install.ps1'.
Executing script file 'C:\Users\Administrator\Documents\Visual Studio 2010\Projects\MSCExpress\MvcApplication1\packages\jQuery.1.6.4\Tools\uninstall.ps1'.
Failed to initialize the PowerShell host. If your PowerShell execution policy setting is set to AllSigned, open the Package Manager Console to initialize the host first.
Uninstalling 'jQuery 1.6.4'.
Successfully uninstalled 'jQuery 1.6.4'.
Install failed. Rolling back...
Failed to initialize the PowerShell host. If your PowerShell execution policy setting is set to AllSigned, open the Package Manager Console to initialize the host first.

我正在使用Visual Studio2010。我發現此鏈接不適合我的情況,並嘗試了該鏈接 ,但仍收到錯誤消息。 任何幫助將不勝感激。

自己添加jQuery mobile非常容易

只需按照http://jquerymobile.com/download/上的說明進行操作

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM