我是Ionic的新手,正在尝试使用“ Ionic build ios”命令来构建代码。但是在MacOS环境中出现以下错误。
我尝试了以下命令。
plugin add ionic-plugin-keyboard
install --save @ionic-native/keyboard
控制台日志:
2018-11-17T03:27:20.2659430Z > ionic-app-scripts build
2018-11-17T03:27:23.2549070Z [03:27:23] ionic-app-scripts 3.2.0
2018-11-17T03:27:23.2588290Z [03:27:23] build dev started ...
2018-11-17T03:27:23.3192320Z [03:27:23] clean started ...
2018-11-17T03:27:23.3223170Z [03:27:23] clean finished in 3 ms
2018-11-17T03:27:23.3224410Z [03:27:23] copy started ...
2018-11-17T03:27:23.5084870Z [03:27:23] deeplinks started ...
2018-11-17T03:27:24.0387430Z [03:27:24] deeplinks finished in 531 ms
2018-11-17T03:27:24.0388750Z [03:27:24] transpile started ...
2018-11-17T03:27:31.1656020Z [03:27:31] typescript: src/app/app.component.ts, line: 173
2018-11-17T03:27:31.1657590Z Property 'hideKeyboardAccessoryBar' does not exist on type 'Keyboard'.
2018-11-17T03:27:31.1657740Z
2018-11-17T03:27:31.1662330Z L172: this.splashScreen.hide();
2018-11-17T03:27:31.1666860Z L173: this.keyboard.hideKeyboardAccessoryBar(PageValues.BOOLEAN_VALUES.BOOLEAN_FALSE);
2018-11-17T03:27:31.1670160Z L174: timer(PageValues.NUMBERIC_VALUS.SPLASH_TIMER).subscribe(() => this.showSplash = PageValues.BOOLEAN_VALUES.BOOLEAN_FALSE) // <-- hide animation after 3s
2018-11-17T03:27:31.1670810Z
2018-11-17T03:27:31.1671730Z Property 'disableScroll' does not exist on type 'Keyboard'.