This page (revision-1) was last changed on 20-Apr-2024 11:53 by UnknownAuthor

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
20-Apr-2024 11:53 955 bytes UnknownAuthor

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 1 added 22 lines
[{PageViewPlugin}]
[Firebase]
!!!Abstract
ある程度の規模だと無料でGoogleがホストしてくれるみたい。Node.jsを使うらしい。
!!!Topics
*準備
|ここ[1]を参考にして準備する。
|まずはNode.jsのインストール[2]
|その後、Node.jsのnpmを使ってFirebaseのツールをWindowsにインストール。firebase deployを実行するとエラーがでた。
{{{
Running command: npm --prefix "$RESOURCE_DIR" run lint
}}}
|の中で、$RESOURCE_DIR\package.jsonが見つからないというエラー。[3]を参考にfirebase.jsonの内容を編集し、該当する部分を削除。
*[Firestore]にアクセスできるか?
*[Firebase Cloud Messaging]でサーバからメッセージを出せるか?Tokenの扱いをどうしらたいいか。
!!!Reference
#[#1]Satachito, 2018年03月, Node.js によるアプリを Firebase で Hosting する最短の道, [https://qiita.com/Satachito/items/c175645644af759cc71c]
#[#2]taiponrock, 2015年09月29日に更新, Node.js / npmをインストールする(for Windows), [https://qiita.com/taiponrock/items/9001ae194571feb63a5e]
#[#3]Stackoverflow, 2018年1月、Error deploying with firebase on npm --prefix $RESOURCE_DIR run lint, [https://stackoverflow.com/questions/48345315/error-deploying-with-firebase-on-npm-prefix-resource-dir-run-lint]