Posts

Showing posts from August, 2018

meteor build error & apk path

$ meteor build ../build --server localhost:3000 => Errors executing Cordova commands:    While removing plugins    cordova-plugin-app-version,cordova-plugin-badge,cordova-plugin-call-number,cordova-plugin-camera,cordova-plugin-device,cordova-plugin-dialogs,cordova-plugin-file,cordova-plugin-file-transfer,cordova-plugin-googleplus,cordova-plugin-local-notification,cordova-plugin-meteor-webapp,cordova-plugin-splashscreen,cordova-plugin-statusbar,cordova-plugin-whitelist,cordova-plugin-wkwebview-engine,cordova-save-image-gallery    from Cordova project:    Cordova error: Cannot find plugin.xml for plugin "cordova-plugin-facebook4". Please try adding it again.    (If the error message contains suggestions for a fix, note that this may not apply to the Meteor integration. You can try running again with the --verbose option to help diagnose the issue.) 如果遇到 meteor build 時候遇到上述問題 請先執行 meteor reset 再執行以上指令即可 另外紀錄一下 meteor 產生的 apk 路徑 build dir / android / project / b

Lumen 5.5 TimeZone

Lumen 的 timezone 設定於 .env 有兩個參數就要設定 APP_TIMEZONE=Asia/Taipei DB_TIMEZONE=+08:00 如果只設定 APP_TIMEZONE 的話 部分寫入資料庫的資料會有問題