-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
err #1
Comments
devise_token_authinstallgem 'devise_token_auth' # トークン認証 railsのversion => Rails 7.1.1 エラー
lynndylanhurley/devise_token_auth#1608 (comment) まだ未対応みたい lynndylanhurley/devise_token_auth#1608 (comment) forkされたものを使ってみる 手順通りにやる
エラー rails c /usr/local/bundle/gems/activerecord-7.1.1/lib/active_record/dynamic_matchers.rb:22:in 参考:lynndylanhurley/devise_token_auth#1579 rails generate devise:install USER
/usr/local/bundle/gems/devise-4.9.3/lib/devise/rails/routes.rb:510:in `raise_no_devise_method_error!': User does not respond to 'devise' method. This usually means you haven't loaded your ORM file or it's being loaded too late. To fix it, be sure to require 'devise/orm/YOUR_ORM' inside 'config/initializers/devise.rb' or before your application definition in 'config/application.rb' (RuntimeError) ↓ User model削除 mount_devise_token_auth_for 'User', at: 'auth' 上記をコメントアウト その上でrails generate devise:install で成功 データ作成 POST
|
const token = {};
↓ const token:{[key: string]: string | null;} = {}; |
ActionDispatch::Request::Session::DisabledSessionError (Your application has sessions disabled. To write to the session you must first configure a session store): ↓ https://qiita.com/KazuyaInoue/items/2d4065ddf2237c66dfd4 |
Warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()? https://qiita.com/s_taro/items/06ace4d323176a1f2fff |
field :gender, [Types::GenderType], null: true, description: '性別' => NG
field :gender, Types::GenderType, null: true, description: '性別' => OK
module Types
class EmployeeType < Types::BaseObject
description "従業員"
field :id, ID, null: false
field :company_id, ID, null: false, description: '会社ID'
field :code, String, null: false, description: '従業員番号'
field :last_name, String, null: false, description: '姓'
last_nameはあるが。。NG
↓
モジュール 'front/components/setting/Layout.tsx' またはそれに対応する型宣言が見つかりません。ts(2307)
=>
tsconfigは下記のように全部指定になっているので、
import Layout from '@/components/setting/Layout';
こんな感じでかけばOK
comapny=>NG
正しくはcompanyなのでただのtypo!!
https://chusotsu-program.com/vercel-do-not-pass-children/ =>ずみ
npm install @graphidocs/docs --save-dev
問題のところ
const graphidocsPackageJSON = require(path.resolve(__dirname, '../../package.json'));
これが存在しないがどうしようもないきが・・
代わりを考える
https://zenn.dev/codehex/articles/102b05544cce29#fnref-a763-1
https://zenn.dev/shuntaka/scraps/8175568eed2e31
https://github.com/wayfair/dociql
↓
trend
https://npmtrends.com/dociql-vs-graphql-markdown-vs-graphqldoc
↓
https://github.com/exogen/graphql-markdown
↓
インストール成功
The text was updated successfully, but these errors were encountered: