1
我只是鮑爾安裝angular-pdf
之前的狀態,並且在安裝過程中,它要求我恢復到安裝涼亭組件
Unable to find a suitable version for angular, please choose one:
1) angular#>=1 <1.3.0 which resolved to 1.2.28 and is required by angular-bootstrap#0.12.0
2) angular#1.3.15 which resolved to 1.3.15 and is required by angular-cookies#1.3.15, angular-pdf#0.4.0
3) angular#>= 1.0.8 which resolved to 1.4.1 and is required by ui-router#0.2.13Prefix the choice with ! to persist it to bower.json
思考這將是最好的最早的版本去大多數的兼容性,我去了3.
但是,這似乎導致了問題。首先,它似乎重新安裝了Angular。
當我跑我的網站現在我得到
TypeError: $browser.addPollFn is not a function
at Object.<anonymous> (angular-cookies.js:60)
at Object.invoke (angular.js:4443)
at Object.enforcedReturnValue [as $get] (angular.js:4296)
at Object.invoke (angular.js:4443)
at angular.js:4261
at getService (angular.js:4402)
at Object.invoke (angular.js:4434)
at Object.enforcedReturnValue [as $get] (angular.js:4296)
at Object.invoke (angular.js:4443)
at angular.js:4261
有沒有辦法對我來說,一切都恢復回以前的樣子,我跑這鮑爾安裝?
謝謝!
這可能看起來像一個愚蠢的問題,但你使用任何形式的版本控制? –
@ZackTanner是的,我使用git,但我沒有提前一點時間 – CodyBugstein