最近の記事

【Nuxt】defineComponent内が実行されない

10:30 久しぶりに開いたプロジェクトをちょっと編集してyarn devしたら、@clickが動かなくなってた。 色々テストしてたら、defineComponentのmounted()も呼ばれない。 <template> <div> </div></template><script lang="ts">console.log("Start!!");export default defineComponent({ mounted() { console

    • plugin.apply is not a function. (In 'plugin.apply(this, args)', 'plugin.apply' is undefined)

      久しぶりに開いたNuxtプロジェクトが動かなくて、色々アップデートしてたらこうなった。 % npx nuxi upgrade で解決した。 nuxt2で使えないプラグインを使おうとしてたかも?

      • Fatal error in Unity CIL LinkerMono.Cecil.AssemblyResolutionException: Failed to resolve assembly: 'Firebase.Platform, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'

        9:00 UnityプロジェクトをiOS用にビルドしようと思ったら、エラー出た。 Fatal error in Unity CIL LinkerMono.Cecil.AssemblyResolutionException: Failed to resolve assembly: 'Firebase.Platform, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' at Unity.IL2CPP.Common

        • 【iOS,GCP】Walletに追加したPassをリモートからアップデートしたい。

          サーバー側:GCP(Cloud Functions) モバイル側:Flutter ・アプリのおおまかな作り アプリで自分のお店のPassを作成 → PassデータがFirebase Storageに保存される → お客さんにFirebase StorageのURLを共有し、Passを取得してもらう ・やりたいこと Pass情報を編集した時にWalletにAPNを送信してPassをアップデートしたい 12/1 9:00 これに沿って実装する。 まず、GCPのCloud F

        【Nuxt】defineComponent内が実行されない

        • plugin.apply is not a function. (In 'plugin.apply(this, args)', 'plugin.apply' is undefined)

        • Fatal error in Unity CIL LinkerMono.Cecil.AssemblyResolutionException: Failed to resolve assembly: 'Firebase.Platform, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'

        • 【iOS,GCP】Walletに追加したPassをリモートからアップデートしたい。

          [Flutter x Unity] Execution failed for task ':unityLibrary:BuildIl2CppTask'.エラーを解消したい。[未解決]

          16:00 いつも通りFlutterUnityWidgetを使ったプロジェクトをAndroidでビルドしようとしたら、こんなエラーが出た。 * What went wrong:Execution failed for task ':unityLibrary:BuildIl2CppTask'.> NDK is not installed ここでみんなが言ってること全部試してみたけど、解消しない。 https://github.com/juicycleff/flutter-u

          [Flutter x Unity] Execution failed for task ':unityLibrary:BuildIl2CppTask'.エラーを解消したい。[未解決]

          Build failed with status: FAILURE and message: yarn run v1.22.19error Command "plugin" not found. 【Cloud Functions】

          9:20 これの続き index.ts import {onRequest} from "firebase-functions/v2/https";import * as logger from "firebase-functions/logger";import { PKPass } from "passkit-generator";export const helloWorld = onRequest(async (request, response) => {

          Build failed with status: FAILURE and message: yarn run v1.22.19error Command "plugin" not found. 【Cloud Functions】

          【TensorFlow x Flutter】で

          11:00 前回Firebaseにtfliteファイルをアップロードするとこまでやった。 ガイドラインに従ってFlutter側で実装していく。 initialize() async { _cameras = await availableCameras(); controller = CameraController(_cameras[0], ResolutionPreset.medium); await controller?.initialize

          【TensorFlow x Flutter】で

          TensorFlowの「in raise_from_not_ok_status raise core._status_to_exception(e) from None # pylint: disable=protected-access」エラーを解消したい

          10:00 前回、TensorFlowの例データを使って機械学習に成功した。 今回は自分のデータで学習しようと思ったけど、エラーが出た。 Traceback (most recent call last): File "/Users/tenna/Desktop/tensorflow/main.py", line 89, in <module> image_batch, labels_batch = next(iter(normalized_ds)) File "

          TensorFlowの「in raise_from_not_ok_status raise core._status_to_exception(e) from None # pylint: disable=protected-access」エラーを解消したい

          TensorFlow Liteを使いたい (M1 Mac)

          14:00 とりあえずTensorFlowをインストールしてみる % conda create -n tf29 python=3.9 zsh: command not found: conda % /opt/anaconda3/bin/conda init zsh zsh: no such file or directory: /opt/anaconda3/bin/conda AnacondaがUsers/username/anaconda3にあったからそこに移動して

          TensorFlow Liteを使いたい (M1 Mac)

          【未解決】 pip3 install -q tflite-model-makerしたい (M1 Mac)

          環境: MacOS Ventura Python 3.10.9 9:50 Start! このチュートリアルに従う リポジトリを見てみる https://github.com/tensorflow/examples/tree/master/tensorflow_examples/lite/model_maker demoを試してみろと書いてあるので、リポジトリをクローンしてみた。 Terminalで、クローンしたリポジトリに移動して、 % cd tensorflow_

          【未解決】 pip3 install -q tflite-model-makerしたい (M1 Mac)

          Nuxt2でAwesomeFontを使いたいだけ。

          https://fontawesome.com/docs/web/use-with/vue/use-with#nuxt これに従った。 Web開発始めたばっかりだと、全ステップで細かくつまづくのなんなんだろう。 0.1歩づつしか進めない。たまに後退してる。 エラー Unknown custom element: <font-awesome-icon> - did you register the component correctly? For recursive co

          Nuxt2でAwesomeFontを使いたいだけ。

          Chartjsを使わないで線グラフを作ってみる

          いや、Chartjs使いたいんだけども。 いろんなエラーが出て、Stackoverflowとかに投げても誰も回答してくれなかったので、いっそ1から自分で作っちゃおうと。 とても効率の悪い決断に辿り着きました。 CSSの勉強にもなるし。やってみよう!! 2023/01/04 10:34 CSSの使い方を何も知らないのでかなりカッコ悪い実装になりそう(調べろ) 遭遇したエラー Property or method "chartData" is not defined o

          Chartjsを使わないで線グラフを作ってみる

          YoutubeLiveAPIエラー:systemMessage(400, "Response status code was unacceptable: 400.")

          昔開発したYoutube Live配信アプリを久しぶりにアップデートしようと試みた。 10:30 https://www.googleapis.com/youtube/v3/liveBroadcasts?part=id,snippet,contentDetails,status&key=<APIKEY> ライブを始めるリクエストでこんなエラー systemMessage(400, "Response status code was unacceptable: 400.")

          YoutubeLiveAPIエラー:systemMessage(400, "Response status code was unacceptable: 400.")

          Internal Error: root-workspace-0b6124@workspace:.: This package doesn't seem to be present in your lockfile; run "yarn install" to update the lockfile

          17:30 Webチーム開発(Nuxt)で、githubブランチをマージした後に起こったエラー。 言われた通りにyarn install yarn.lockとnode_modulesを消して再トライ わーい。できた。 % yarn dev Chromeでローカルホストを開くと空白ページ。コンソールにはこんなエラーが。 なんかファイルが見つからないらしい。 mergeを戻してみても同じエラー。 mergeの前の段階まで戻したブランチを別ファイルとしてdownlo

          Internal Error: root-workspace-0b6124@workspace:.: This package doesn't seem to be present in your lockfile; run "yarn install" to update the lockfile

          Unable to find a target named `Runner` in project `Runner.xcodeproj`, did find

          Flutterプロジェクトでflutter runしようとして、昨日夜に突如起こったエラー。 flutter clean, clean caches, flutter upgrade, Macの再起動, Xcodeの再起動 全部ダメ。 10:37 Xcodeでビルドしようとするとこんなエラーが4個。 TargetNameをRunnerに変更してみるとこのエラー 何すればいいかわからないので1時間ほどlintのワーニングを消していく作業。 11:53 stackov

          Unable to find a target named `Runner` in project `Runner.xcodeproj`, did find

          react-nativeのプロジェクトをビルドしたい3(Mac)(約18時間目〜)

          7:40 休日だけど気になって眠れないので やる。 % react-native run-android --verbose → AAPT: error: attribute android:enableOnBackInvokedCallback not found. → compileSdkVersion 29に変更 → % react-native run-android --verbose → The minCompileSdk (31) specified in

          react-nativeのプロジェクトをビルドしたい3(Mac)(約18時間目〜)