2021-10-01から1ヶ月間の記事一覧
"graphql": "^16.0.0",での出来事。 "graphql": "^15.5.3",にしてから再度試すと通る。 原因は詳しく突き止めれてないので後で時間あったら確かめる。
palygroundを実行したら出現した。 シミュレータを全部消す。一旦Xcode全て終了。再度開いて実行で解決
npx create-next-appでNextjsを開始しようとしたら error nanoid@3.1.30: The engine "node" is incompatible with this module. Expected version "^12.22.0 || ^14.17.0 || >=16.0.0". Got "12.19.0" というエラーが出た。 シンプルにバージョンを nodenv…
https://www.cloudflare.com/ja-jp/learning/network-layer/what-is-a-subnet/ インターネット用語1分解説~CIDRとは~ - JPNIC CIDR(クラスレスアドレッシング)とは - IT用語辞典 e-Words
使用技術 TS, Node(Hapi), Prisma, ECS, Fargate, RDS(MySQL) 現在既にAWS上でサーバーが起動しているものとする。 index.ts import Hapi from "@hapi/hapi"; import { PrismaClient } from "@prisma/client"; const prisma = new PrismaClient(); const ini…
ECS, Fargateで起動させてたサーバーで環境変数が必要だったのでSystems Managerで定義してタスク定義のコンテナ追加の部分の環境変数でValueFromでそのSystems Managerの値を参照しようとしたら ResourceInitializationError ~ が出た。 タスク実行ロールに…
Hapi製APIサーバーをDockerコンテナ化したのでAWS上で動かしたかったのでECS, Fargateを使いデプロイすることにした。その手順を書いていく。 index.js const Hapi = require("@hapi/hapi"); const init = async () => { const server = Hapi.server({ port:…
https://hapi.dev/tutorials?lang=en_US ↑これに載ってる 'use strict'; const Hapi = require('@hapi/hapi'); const init = async () => { const server = Hapi.server({ port: 3000, host: 'localhost' }); await server.start(); console.log('Server run…
https://github.com/transistorsoft/react-native-background-geolocation を使っているのだが、機能が結構豊富だったり使い方が少し複雑に感じたので調べたこととか気づいたことをまとめてく。 既にある程度使っているのでセットアップから順にとかではない…
Bundle ID アプリを一意に識別するためのもの。Appleのエコシステム。 Xcode -> General -> Bundle Identifier で確認可能。 Firebaseプロジェクト内でiOSアプリを作成するときに必要。あとで変更できないので注意。 https://firebase.google.com/docs/cloud…