Coder Social home page Coder Social logo

Comments (5)

otoyo avatar otoyo commented on July 26, 2024

easy-notion-blog をお使いくださりありがとうございます。
easy-notion-blog に使用している Notion データベースのスクリーンショットと、エラーとなってしまうコードがある GitHub リポジトリを教えていただけますでしょうか?

from easy-notion-blog.

kishipoyo avatar kishipoyo commented on July 26, 2024

早々のご確認ありがとうございます。
以下情報になります。

▼GitHub リポジトリ
https://github.com/kishipoyo/easy-notion-blog

▼Notion データベースのスクリーンショット
image
Notionデータベースは「Webで公開」をONの状態にしています。

from easy-notion-blog.

otoyo avatar otoyo commented on July 26, 2024

情報提供ありがとうございます。Notion データベースはWebで公開する必要はありませんので、特に必要がなければプライベートにしてください。

提供いただいた情報を見る限りどこもおかしくないようですので、Windows 特有の問題かもしれません。
Web上で開発ができる Gitpod というサービスが無料なのでよかったらお試しください。
https://www.gitpod.io/

下記は簡単な使い方です。

  • Gitpod にアクセスして GitHub でログインします
  • ワークスペースで読み込むURLとして https://github.com/kishipoyo/easy-notion-blog を入力して開始します
  • コードが読み込まれた後、自動で yarn install と yarn start が走ります。yarn start で失敗してエラーになりますが問題ありません(下記スクショ)

スクリーンショット 2023-01-10 18 10 37

  • 同じターミナルで NOTION_API_SECRETDATABASE_ID を下記のようにして設定します
export NOTION_API_SECRET=aaa
export DATABASE_id=aaa

上記はご自身のものに置き換えてください。

  • ターミナルで yarn dev を実行します
  • 画面右下に下記スクショのようなダイアログが出るので「Open Browser」を選択します

スクリーンショット 2023-01-10 18 06 16

以上です。コードを変更したら yarn dev で動作確認しながら開発してみてください。

from easy-notion-blog.

kishipoyo avatar kishipoyo commented on July 26, 2024

無事にdev環境で確認することができました!
image

Gitpod自体初めて使ったので、慣れるところから始めていきたいと思います。
この度はものすごいスピードで回答くださりありがとうございました!

from easy-notion-blog.

otoyo avatar otoyo commented on July 26, 2024

解決して良かったです。
もしまたわからないところが出てきましたらTwitterコミュニティもあわせてご活用ください。
https://twitter.com/i/communities/1497431576975908868

from easy-notion-blog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.