JavaShuo
欄目
標籤
ERROR Error: Uncaught (in promise): Error: StaticInjectorError[n -> n]:
時間 2021-08-15
原文
原文鏈接
在一次ng項目升級依賴版本的過程中,開發環境沒有出現問題,在打包到生產環境的時候,出現了一個看不懂的問題,報的是靜態注入錯誤,但是也沒說明是哪個模塊的靜態注入有問題,搜了度娘和谷歌半天愣是沒搜到答案,最後通過降低@angular/cli版本(出問題的版本是7.1.4) 至~6.2.8,問題得到了解決。 1.首先要把全局的@angular/cli版本卸載: npm uninstall -g angu
>>阅读原文<<
相關文章
1.
ERROR Error: Uncaught (in promise): Error: StaticInjectorError
2.
ionic Uncaught (in promise): Error: StaticInjectorError[NavController]
3.
Ionic3報錯Error: Uncaught (in promise): Error: StaticInjectorError
4.
Uncaught (in promise) Error: Avoided redundant navigation to current location: 「/「.
5.
angular4.0 ERROR Error: Uncaught (in promise): Error: No provider for AuthGuard! Error: No provider
6.
Vue-admin-template 報Uncaught (in promise) error
7.
Uncaught (in promise) Error: timeout of 30000ms exceeded
8.
Error: Uncaught (in promise): Error: No provider for PurchaseOrder1688Service! angular 組件引入報錯
9.
[Angular] ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'name' of undefined
10.
Angular報錯解決方法:ERROR Error: Uncaught (in promise): Error: Cannot match any routes
更多相關文章...
•
ADO Error 對象
-
ADO 教程
•
PHP Error 和 Logging 函數
-
PHP參考手冊
•
RxJava操作符(五)Error Handling
•
RxJava操作符(一)Creating Observables
相關標籤/搜索
error
error#2036
cv2.error
target...error
event&error
error#2044
uncaught
err
fault&error&failure
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
跳槽面試的幾個實用小技巧,不妨看看!
2.
Mac實用技巧 |如何使用Mac系統中自帶的預覽工具將圖片變成黑白色?
3.
Mac實用技巧 |如何使用Mac系統中自帶的預覽工具將圖片變成黑白色?
4.
如何使用Mac系統中自帶的預覽工具將圖片變成黑白色?
5.
Mac OS非兼容Windows軟件運行解決方案——「以VMware & Microsoft Access爲例「
6.
封裝 pyinstaller -F -i b.ico excel.py
7.
數據庫作業三ER圖待完善
8.
nvm安裝使用低版本node.js(非命令安裝)
9.
如何快速轉換圖片格式
10.
將表格內容分條轉換爲若干文檔
本站公眾號
歡迎關注本站公眾號,獲取更多信息
相關文章
1.
ERROR Error: Uncaught (in promise): Error: StaticInjectorError
2.
ionic Uncaught (in promise): Error: StaticInjectorError[NavController]
3.
Ionic3報錯Error: Uncaught (in promise): Error: StaticInjectorError
4.
Uncaught (in promise) Error: Avoided redundant navigation to current location: 「/「.
5.
angular4.0 ERROR Error: Uncaught (in promise): Error: No provider for AuthGuard! Error: No provider
6.
Vue-admin-template 報Uncaught (in promise) error
7.
Uncaught (in promise) Error: timeout of 30000ms exceeded
8.
Error: Uncaught (in promise): Error: No provider for PurchaseOrder1688Service! angular 組件引入報錯
9.
[Angular] ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'name' of undefined
10.
Angular報錯解決方法:ERROR Error: Uncaught (in promise): Error: Cannot match any routes
>>更多相關文章<<