"amplify mock api" showing "NO SCHEMA AVAILABLE"

0
bento on  main [!1] via  v20.7.0 on 🅰 (Japan) took 1m16s
❯ java --version
openjdk 16.0.1 2021-04-20
OpenJDK Runtime Environment (build 16.0.1+9-24)
OpenJDK 64-Bit Server VM (build 16.0.1+9-24, mixed mode, sharing)

bento on  main [!1] via  v20.7.0 on 🅰 (Japan)
❯ amplify upgrade
This is the latest Amplify CLI version.

bento on  main [!1] via  v20.7.0 on 🅰 (Japan) took 2s
❯ amplify mock api

⚠️  WARNING: your GraphQL API currently allows public create, read, update, and delete access to all models via an API Key. To configure PRODUCTION-READY authorization rules, review: https://docs.amplify.aws/cli/graphql/authorization-rules

⚠️ WARNING: owners may reassign ownership for the following model(s) and role(s): User: [owner], Order: [owner], OrderProduct: [owner], OrderStatusHistory: [owner]. If this is not intentional, you may want to apply field-level authorization rules to these fields. To read more: https://docs.amplify.aws/cli/graphql/authorization-rules/#per-user--owner-based-data-access.
✅ GraphQL schema compiled successfully.

Edit your schema at /Users/monti/.z/projects/bento/amplify/backend/api/bento/schema.graphql or place .graphql files in a directory at /Users/monti/.z/projects/bento/amplify/backend/api/bento/schema
Running GraphQL codegen
✔ Generated GraphQL operations successfully and saved at src/graphql
✔ Code generated successfully and saved in file src/API.ts
AppSync Mock endpoint is running at http://192.168.68.119:20002

when browsing http://192.168.68.119:20002: no schema available apikey cannot be updated

Bento
gefragt vor 7 Monaten91 Aufrufe
Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen