ionic アプリ事始め

イシュー

  • 今年はionic4 の年

参考

Angualr7

$ npm install -g ios-deploy

> ios-deploy@1.9.4 preinstall /Users/magnet/.nodebrew/node/v10.15.0/lib/node_modules/ios-deploy
> ./src/scripts/check_reqs.js && xcodebuild

stderr: xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ios-deploy@1.9.4 preinstall: `./src/scripts/check_reqs.js && xcodebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the ios-deploy@1.9.4 preinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/magnet/.npm/_logs/2019-02-11T14_22_34_549Z-debug.log
MagsBook:Ionic magnet$

$ xcode-select --print-path
/Library/Developer/CommandLineTools
MagsBook:Ionic magnet$
$ xcode-select --switch /Applications/Xcode.app
xcode-select: error: --switch must be run as root (e.g. `sudo xcode-select --switch <xcode_folder_path>`).
MagsBook:Ionic magnet$ sudo xcode-select --switch /Applications/Xcode.app
Password:
MagsBook:Ionic magnet$ xcode-select --print-path
/Applications/Xcode.app/Contents/Developer
MagsBook:Ionic magnet$

ios用build

トラブルシュート

スタイルの設定

herokuへデプロイ

firebaseへデプロイ

netlifyへデプロイ

*無料で使える静的サイトホスティングサーバーNetlifyにAngularをデプロイする – mrkmyki@フリーランスブログ * Angularを、高機能ホスティングサービス「Netlify」でつかって高速化/Lighthouse高得点とるためのビルドファイルを公開しました - Qiita