所以我尝试了Josh Morony关于如何在Ionic中处理Firebase的教程:https://www.joshmorony.com/building-a-crud-ionic-2-application-with-firebase-angularfire/
到目前为止我做了什么:
app.module.ts
AngularFireDatabaseModule了imports.import { AngularFireDatabaseModule } from 'angularfire2/database';
imports: [
BrowserModule,
AngularFireModule.initializeApp(config),
AngularFireDatabaseModule
career.ts
AngularFireDatabase, AngularFireList,注入AngularFireDatabase在constructor.import { AngularFireDatabase, AngularFireList } from 'angularfire2/database';
constructor(public navCtrl: NavController, private database: AngularFireDatabase)
companies: AngularFireList<any>;
this.companies = this.database.list('/company').valueChanges();
this.companies显示错误.视图加载列表,但问题是仍然有错误,我不知道发生了什么.这是我在鼠标悬停时显示的内容this.companies:

我真的希望你们中的任何人能够向我解释发生了什么以及如何解决这个错误.真的很抱歉,非常感谢你.
我在离子3暂停和恢复事件中面临奇怪的问题,每当我暂停应用程序时,事件多次调用(一次2次,一次3次等).这是代码
this.platform.ready().then(() => {
this.platform.pause.subscribe(() => {
console.log('****UserdashboardPage PAUSED****');
});
this.platform.resume.subscribe(() => {
console.log('****UserdashboardPage RESUMED****');
});
});
Run Code Online (Sandbox Code Playgroud)
我试过在ionViewDidLoad中放置相同的代码,构造函数,ionViewWillEnter仍面临同样的问题.请有人帮我解决这个问题.一旦应用程序恢复,我正在调用一个服务,但现在它已多次调用.谢谢!
我已将环境从离子1升级到离子3.19.1.但是,我的项目仍然是离子v1(或者如果我在v1下面没有误,不确定)
我跑了命令
ionic cordova build ios --v1
Run Code Online (Sandbox Code Playgroud)
这是失败的.
Discovered plugin "cordova-plugin-console" in config.xml. Adding it to the project
Installing "cordova-plugin-console" for ios
Plugin doesn't support this project's cordova-ios version. cordova-ios: 4.5.4, failed version requirement: <4.5.0
Skipping 'cordova-plugin-console' for ios
Run Code Online (Sandbox Code Playgroud)
它是什么意思以及如何解决它?
我的环境如下:
ionic version 3.19.1
cordova version 8.0.0
npm version 5.6.0
macos High Sierra 10.13.1
xcode 9.2
Run Code Online (Sandbox Code Playgroud) 我的父应用程序已正确签名.我已在每个屏幕上验证过.有没有人见过这个?
它抱怨我的watchKit应用程序.
谢谢!
error: Embedded binary is not signed with the same certificate as the parent app. Verify the embedded binary target's code sign settings match the parent app's.
Embedded Binary Signing Certificate: Software Signing
Parent App Signing Certificate: - (Ad Hoc Code Signed)
Run Code Online (Sandbox Code Playgroud) 我想提取使用 lmer() 完成的回归的标准误差。例如,
library(lme4)
data(iris)
head(iris)
model <- lmer(Sepal.Length ~ Sepal.Width + (1 | Species), data=iris);
summary(model)
Run Code Online (Sandbox Code Playgroud)
查看摘要的固定效应,您可以看到标准误差。
Fixed effects:
Estimate Std. Error t value
(Intercept) 3.4062 0.6683 5.097
Sepal.Width 0.7972 0.1062 7.506
Run Code Online (Sandbox Code Playgroud)
我想把它拉出来而不是手动输入。
对于 nuxt 使用 SSR 时,包含阿拉伯字符的 URL 会抛出错误:“请求路径包含未转义的字符”
例如:当导航到“ http://localhost:4000/????-???????-????????? ” SSR 时,我得到以下信息:
TypeError [ERRUNESCAPEDCHARACTERS]
Request path contains unescaped characters
URI : /%D8%AE%D8%B6%D8%A7%D8%B1-%D8%A8%D8%AE%D9%84%D8%B7%D8%A9-%D8%A7%D9%84%D8%B7%D9%85%D8%A7%D8%B7%D9%85
REQUEST METHOD | GET
HTTP VERSION | 1.1
CONNECTION | keep-alive
Run Code Online (Sandbox Code Playgroud)
注意:客户端渲染工作正常
Searching Python 3.6 libraries...
Found Python library: /home/luan/anaconda3/envs/za/lib/libpython3.6m.so
Found Python headers folder: /home/luan/anaconda3/envs/za/include/python3.6m
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check …Run Code Online (Sandbox Code Playgroud) 我的问题与纱线有关。在我开始创建项目之前,我使用 npm 安装了。很长一段时间后,当我想开始使用纱线运行时,它显示以下错误:
yarn : File C:\Users\pc\AppData\Roaming\npm\yarn.ps1 cannot be loaded because running scripts is disabled on this system.
Run Code Online (Sandbox Code Playgroud)
(在 Windows 机器、Powershell 中)
窗户:10
我尝试使用 git bash 终端,它成功了!
但不在我的 powershell 终端中
Google是否进行了简单的搜索:https: //www.google.com/search?q = advantages + of + ionic + lazy + loading
并没有真正找到延迟加载优点的详细描述。有人在乎解释吗?
ionic3 ×4
ios ×2
android ×1
angular ×1
angularfire2 ×1
ionic-native ×1
lme4 ×1
loading ×1
nuxt.js ×1
observable ×1
powershell ×1
r ×1
regex ×1
vim ×1
windows ×1
xcode ×1
yarnpkg ×1