一:頁面報錯Runtime Error Uncaught (in promise): invalid link: ipserach
說明頁面引用出錯
解決辦法
1 查看 頁面module.ts里面是否有export
2 查看在 app.component.ts里是否已經(jīng)引入該頁面
3 嘗試重啟服務(wù)
Runtime Error
Uncaught (in promise): invalid link: ipserach
Error: Uncaught (in promise): invalid link: ipserach
at c (http://localhost:8100/build/polyfills.js:3:19752)
at Object.reject (http://localhost:8100/build/polyfills.js:3:19174)
at Tab.NavControllerBase._fireError (http://localhost:8100/build/vendor.js:48962:16)
at Tab.NavControllerBase._failed (http://localhost:8100/build/vendor.js:48955:14)
at http://localhost:8100/build/vendor.js:49002:59
at t.invoke (http://localhost:8100/build/polyfills.js:3:14976)
at Object.onInvoke (http://localhost:8100/build/vendor.js:4982:33)
at t.invoke (http://localhost:8100/build/polyfills.js:3:14916)
at r.run (http://localhost:8100/build/polyfills.js:3:10143)
at http://localhost:8100/build/polyfills.js:3:20242
二 安裝qrscanners時在執(zhí)行ionic cordova plugin add cordova-plugin-qrscanner
報錯
(node:6888) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Cannot find module '../cordova/platform_metadata'
(node:6888) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
本機安裝的是ionic8.0.0
卸載8.0.0
npm uninstall -g cordova
重新安裝7.1
npm install -g cordova@7.1.0
三 真機調(diào)試時報錯
requires a development team. Select a development team in the project editor.
Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 11.2'
四 點擊app巧还,提示不受信任的開發(fā)者
設(shè)置->通用->設(shè)備管理->開發(fā)者應(yīng)用->信任