Skip to content
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

πŸ«’πŸ― ↝ Invalid input syntax & planet tabs #26

Closed
Gizmotronn opened this issue Feb 26, 2023 — with Huly for GitHub · 7 comments
Closed

πŸ«’πŸ― ↝ Invalid input syntax & planet tabs #26

Gizmotronn opened this issue Feb 26, 2023 — with Huly for GitHub · 7 comments
Assignees
Labels

Comments

Copy link
Member

Gizmotronn commented Feb 26, 2023

First up, we've got an issue that I'm assuming is related to our database.types.ts or potentially with our Lens client (however I'm doubting that is the case because when using the Lens client as a standalone NextJs app we're not getting that error AFAIK).

error - unhandledRejection: {
  code: '22P02',
  details: null,
  hint: null,
  message: 'invalid input syntax for type uuid: "undefined"'
}```

We just need to look through the `profiles`, `planets`, `posts`, & `articles` tables to find any references in the current codebase to `uuid` type entries and see if we've got any calls to those Supabase/postgres fields that are causing this issue.

Second issue:
https://user-images.githubusercontent.com/31812229/221401121-d3d2cf16-3a27-4248-9075-a23699598fbd.mov
What's going on here?
1. For some reason, clicking on some of the tabs on a planet results in an "undefined" tag replacing the `id` slug from the `planets` table. This might be related to the above issue
2. Clicking on the tabs on a planet doesn't change what data/contents is shown. This could again be because of the invalid input syntax issue. I'll create a copy of this section, but again for the `profiles` table with the same behaviour as the pages in `/posts/profile` to see what's going on.

Third issue:
Upserting data isn't working -> see `function claimPlanet` in `pages/planets/planet.tsx` (this should be moved into one of the tabs once we fix the second issue

```ts
function claimPlanet () {
        supabase.from('planets').upsert({
            'id': planetId,
            //'userId': 'profile?.username',
            'ownerId': session?.user?.id,
        })
    }

For now, I'm just working around this by setting up certain content/div tags/elements to show only if the user owns the anomaly/object they're viewing, and will add the XP section next.

Signal-K/sytizen#29

@Gizmotronn
Copy link
Member Author

#26 (reference) -> We now have a duplicate of the pages/posts/profile section with user replace profile. Right now, everything works fine. Next step for testing is to duplicate Cover, Avatar, ProfileNavigation, & ProfileCard to be a new component, again replacing profile with user. This is to examine the behaviour of the tabs and also the database types (speaking of, I'm removing the type profiles = Database... component). Once we have this new <User .../> section/component class working, we'll replace everything with entries from supabase >> planets table.

@Gizmotronn
Copy link
Member Author

I've just duplicated the PostCardAvatar function exported from components/AccountAvatar.tsx to components/User/UserAvatar.tsx and the "undefined" slug has started appearing occasionally when clicking on different tabs. I have confirmed that this issue is not replicated on the pages/posts/profile/${userId}/ slug, regardless of what order the tabs are clicked (however, there is an issue where some of the assets from Supabase load in slowly -> I am assuming this is due to my currently poor connection. I believe this is due to the fetch failing:

error - unhandledRejection: {
  message: 'FetchError: fetch failed',
  details: '',
  hint: '',
  code: ''
}

I'll have to confirm this later when my connection is better

@Gizmotronn
Copy link
Member Author

New build error:

[21:59:09.354] Running build in San Francisco, USA (West) – sfo1
[21:59:09.407] Retrieving list of deployment files...
[21:59:09.649] Previous build caches not available
[21:59:09.986] Downloading 165 deployment files...
[21:59:10.473] Running "vercel build"
[21:59:10.896] Vercel CLI 28.16.6
[21:59:11.140] Installing dependencies...
[21:59:11.431] yarn install v1.22.17
[21:59:11.498] [1/4] Resolving packages...
[21:59:12.033] [2/4] Fetching packages...
[22:00:02.242] [3/4] Linking dependencies...
[22:00:02.245] warning " > @chakra-ui/react@2.4.9" has unmet peer dependency "@emotion/react@^11.0.0".
[22:00:02.246] warning " > @chakra-ui/react@2.4.9" has unmet peer dependency "@emotion/styled@^11.0.0".
[22:00:02.248] warning "@chakra-ui/react > @chakra-ui/css-reset@2.0.12" has unmet peer dependency "@emotion/react@>=10.0.35".
[22:00:02.250] warning "@chakra-ui/react > @chakra-ui/provider@2.1.0" has unmet peer dependency "@emotion/react@^11.0.0".
[22:00:02.250] warning "@chakra-ui/react > @chakra-ui/provider@2.1.0" has unmet peer dependency "@emotion/styled@^11.0.0".
[22:00:02.251] warning "@chakra-ui/react > @chakra-ui/system@2.4.0" has unmet peer dependency "@emotion/react@^11.0.0".
[22:00:02.252] warning "@chakra-ui/react > @chakra-ui/system@2.4.0" has unmet peer dependency "@emotion/styled@^11.0.0".
[22:00:02.272] warning "@thirdweb-dev/react > @safe-global/safe-ethers-adapters@0.1.0-alpha.13" has unmet peer dependency "@ethersproject/abstract-provider@^5.5.1".
[22:00:02.273] warning "@thirdweb-dev/react > @safe-global/safe-ethers-adapters@0.1.0-alpha.13" has unmet peer dependency "@ethersproject/abstract-signer@^5.5.0".
[22:00:02.273] warning "@thirdweb-dev/react > @safe-global/safe-ethers-adapters@0.1.0-alpha.13" has unmet peer dependency "@ethersproject/bignumber@^5.5.0".
[22:00:02.273] warning "@thirdweb-dev/react > @safe-global/safe-ethers-adapters@0.1.0-alpha.13" has unmet peer dependency "@ethersproject/properties@^5.5.0".
[22:00:02.273] warning "@thirdweb-dev/react > @thirdweb-dev/wallets@0.2.1" has unmet peer dependency "@paperxyz/embedded-wallet-service-sdk@^0.0.16".
[22:00:02.273] warning "@thirdweb-dev/react > wagmi@0.2.28" has incorrect peer dependency "react@^17.0.0".
[22:00:02.275] warning " > bootstrap@5.2.3" has unmet peer dependency "@popperjs/core@^2.11.6".
[22:00:02.278] warning "react-bootstrap > @react-bootstrap/react-popper@1.2.1" has incorrect peer dependency "react@0.14.x || ^15.0.0 || ^16.0.0".
[22:00:02.279] warning "react-bootstrap > @react-bootstrap/react-popper > create-react-context@0.2.3" has incorrect peer dependency "react@^0.14.0 || ^15.0.0 || ^16.0.0".
[22:00:02.279] warning "react-bootstrap > react-overlays > react-popper@1.3.11" has incorrect peer dependency "react@0.14.x || ^15.0.0 || ^16.0.0 || ^17.0.0".
[22:00:02.279] warning " > react-clickout-handler@1.2.1" has incorrect peer dependency "react@^15.5.x || ^16.x".
[22:00:02.280] warning " > react-clickout-handler@1.2.1" has incorrect peer dependency "react-dom@^15.5.x || ^16.x".
[22:00:02.280] warning " > use-react-screenshot@3.0.0" has incorrect peer dependency "react@^17.0.2".
[22:00:02.282] warning " > @graphql-codegen/cli@2.16.5" has unmet peer dependency "graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0".
[22:00:02.283] warning "@graphql-codegen/cli > @graphql-codegen/core@2.6.8" has unmet peer dependency "graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0".
[22:00:02.283] warning "@graphql-codegen/cli > @graphql-codegen/plugin-helpers@3.1.2" has unmet peer dependency "graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0".
[22:00:02.283] warning "@graphql-codegen/cli > @graphql-tools/apollo-engine-loader@7.3.25" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[22:00:02.283] warning "@graphql-codegen/cli > @graphql-tools/code-file-loader@7.3.20" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[22:00:02.283] warning "@graphql-codegen/cli > @graphql-tools/git-loader@7.2.19" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[22:00:02.284] warning "@graphql-codegen/cli > @graphql-tools/github-loader@7.3.26" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[22:00:02.284] warning "@graphql-codegen/cli > @graphql-tools/graphql-file-loader@7.5.16" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[22:00:02.284] warning "@graphql-codegen/cli > @graphql-tools/json-file-loader@7.4.17" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[22:00:02.284] warning "@graphql-codegen/cli > @graphql-tools/load@7.8.12" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[22:00:02.284] warning "@graphql-codegen/cli > @graphql-tools/prisma-loader@7.2.62" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[22:00:02.285] warning "@graphql-codegen/cli > @graphql-tools/url-loader@7.17.11" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[22:00:02.285] warning "@graphql-codegen/cli > @graphql-tools/utils@9.2.1" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[22:00:02.285] warning "@graphql-codegen/cli > graphql-config@4.4.1" has unmet peer dependency "graphql@^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0".
[22:00:02.285] warning "@graphql-codegen/cli > @graphql-codegen/core > @graphql-tools/schema@9.0.16" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[22:00:02.285] warning "@graphql-codegen/cli > @graphql-tools/code-file-loader > @graphql-tools/graphql-tag-pluck@7.4.6" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[22:00:02.289] warning "@graphql-codegen/cli > @graphql-tools/graphql-file-loader > @graphql-tools/import@6.7.17" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[22:00:02.289] warning "@graphql-codegen/cli > @graphql-tools/prisma-loader > graphql-request@5.1.0" has unmet peer dependency "graphql@14 - 16".
[22:00:02.289] warning "@graphql-codegen/cli > @graphql-tools/url-loader > @graphql-tools/delegate@9.0.26" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[22:00:02.289] warning "@graphql-codegen/cli > @graphql-tools/url-loader > @graphql-tools/executor-graphql-ws@0.0.10" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[22:00:02.289] warning "@graphql-codegen/cli > @graphql-tools/url-loader > @graphql-tools/executor-http@0.1.6" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[22:00:02.289] warning "@graphql-codegen/cli > @graphql-tools/url-loader > @graphql-tools/executor-legacy-ws@0.0.8" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[22:00:02.289] warning "@graphql-codegen/cli > @graphql-tools/url-loader > @graphql-tools/wrap@9.3.5" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[22:00:02.289] warning "@graphql-codegen/cli > graphql-config > @graphql-tools/merge@8.3.18" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[22:00:02.289] warning "@graphql-codegen/cli > @graphql-tools/url-loader > @graphql-tools/delegate > @graphql-tools/batch-execute@8.5.17" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[22:00:02.289] warning "@graphql-codegen/cli > @graphql-tools/url-loader > @graphql-tools/delegate > @graphql-tools/executor@0.0.14" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[22:00:02.289] warning "@graphql-codegen/cli > @graphql-tools/url-loader > @graphql-tools/executor-graphql-ws > graphql-ws@5.11.3" has unmet peer dependency "graphql@>=0.11 <=16".
[22:00:02.289] warning " > @graphql-codegen/fragment-matcher@3.3.3" has unmet peer dependency "graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0".
[22:00:02.289] warning " > @graphql-codegen/typescript@2.8.8" has unmet peer dependency "graphql@^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0".
[22:00:02.290] warning "@graphql-codegen/typescript > @graphql-codegen/schema-ast@2.6.1" has unmet peer dependency "graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0".
[22:00:02.290] warning "@graphql-codegen/typescript > @graphql-codegen/visitor-plugin-common@2.13.8" has unmet peer dependency "graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0".
[22:00:02.290] warning "@graphql-codegen/typescript > @graphql-codegen/visitor-plugin-common > @graphql-tools/optimize@1.3.1" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[22:00:02.290] warning "@graphql-codegen/typescript > @graphql-codegen/visitor-plugin-common > @graphql-tools/relay-operation-optimizer@6.5.17" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[22:00:02.290] warning "@graphql-codegen/typescript > @graphql-codegen/visitor-plugin-common > @graphql-tools/relay-operation-optimizer > @ardatan/relay-compiler@12.0.0" has unmet peer dependency "graphql@*".
[22:00:02.290] warning " > @graphql-codegen/typescript-operations@2.5.13" has unmet peer dependency "graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0".
[22:00:02.291] warning " > @graphql-codegen/typescript-react-query@4.1.0" has unmet peer dependency "graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0".
[22:00:02.291] warning "@graphql-codegen/typescript-react-query > @graphql-codegen/visitor-plugin-common@2.13.1" has unmet peer dependency "graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0".
[22:00:02.291] warning "@graphql-codegen/typescript-react-query > @graphql-codegen/visitor-plugin-common > @graphql-codegen/plugin-helpers@2.7.2" has unmet peer dependency "graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0".
[22:00:02.291] warning "@graphql-codegen/typescript-react-query > @graphql-codegen/visitor-plugin-common > @graphql-tools/utils@8.13.1" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[22:00:02.291] warning " > babel-loader@9.1.2" has unmet peer dependency "webpack@>=5".
[22:00:58.093] [4/4] Building fresh packages...
[22:01:02.626] Done in 111.20s.
[22:01:02.680] Detected Next.js version: 13.0.2
[22:01:02.681] Running "yarn run build"
[22:01:02.860] yarn run v1.22.17
[22:01:02.883] $ next build
[22:01:03.202] info  - Loaded env from /vercel/path0/.env
[22:01:03.340] Attention: Next.js now collects completely anonymous telemetry regarding usage.
[22:01:03.341] This information is used to shape Next.js' roadmap and prioritize features.
[22:01:03.341] You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
[22:01:03.341] https://nextjs.org/telemetry
[22:01:03.341] 
[22:01:03.467] info  - Linting and checking validity of types...
[22:01:17.158] info  - Creating an optimized production build...

Essentially it just stalls at 'creating an optimized production build...'

I removed the _document from the journal directory after cancelling this build attempt:

[21:54:33.699] Running build in San Francisco, USA (West) – sfo1
[21:54:33.755] Retrieving list of deployment files...
[21:54:34.006] Previous build caches not available
[21:54:34.213] Downloading 166 deployment files...
[21:54:36.042] Running "vercel build"
[21:54:36.500] Vercel CLI 28.16.6
[21:54:36.756] Installing dependencies...
[21:54:37.070] yarn install v1.22.17
[21:54:37.143] [1/4] Resolving packages...
[21:54:37.685] [2/4] Fetching packages...
[21:55:30.677] [3/4] Linking dependencies...
[21:55:30.680] warning " > @chakra-ui/react@2.4.9" has unmet peer dependency "@emotion/react@^11.0.0".
[21:55:30.680] warning " > @chakra-ui/react@2.4.9" has unmet peer dependency "@emotion/styled@^11.0.0".
[21:55:30.681] warning "@chakra-ui/react > @chakra-ui/css-reset@2.0.12" has unmet peer dependency "@emotion/react@>=10.0.35".
[21:55:30.682] warning "@chakra-ui/react > @chakra-ui/provider@2.1.0" has unmet peer dependency "@emotion/react@^11.0.0".
[21:55:30.682] warning "@chakra-ui/react > @chakra-ui/provider@2.1.0" has unmet peer dependency "@emotion/styled@^11.0.0".
[21:55:30.683] warning "@chakra-ui/react > @chakra-ui/system@2.4.0" has unmet peer dependency "@emotion/react@^11.0.0".
[21:55:30.683] warning "@chakra-ui/react > @chakra-ui/system@2.4.0" has unmet peer dependency "@emotion/styled@^11.0.0".
[21:55:30.697] warning "@thirdweb-dev/react > @safe-global/safe-ethers-adapters@0.1.0-alpha.13" has unmet peer dependency "@ethersproject/abstract-provider@^5.5.1".
[21:55:30.697] warning "@thirdweb-dev/react > @safe-global/safe-ethers-adapters@0.1.0-alpha.13" has unmet peer dependency "@ethersproject/abstract-signer@^5.5.0".
[21:55:30.697] warning "@thirdweb-dev/react > @safe-global/safe-ethers-adapters@0.1.0-alpha.13" has unmet peer dependency "@ethersproject/bignumber@^5.5.0".
[21:55:30.697] warning "@thirdweb-dev/react > @safe-global/safe-ethers-adapters@0.1.0-alpha.13" has unmet peer dependency "@ethersproject/properties@^5.5.0".
[21:55:30.698] warning "@thirdweb-dev/react > @thirdweb-dev/wallets@0.2.1" has unmet peer dependency "@paperxyz/embedded-wallet-service-sdk@^0.0.16".
[21:55:30.698] warning "@thirdweb-dev/react > wagmi@0.2.28" has incorrect peer dependency "react@^17.0.0".
[21:55:30.699] warning " > bootstrap@5.2.3" has unmet peer dependency "@popperjs/core@^2.11.6".
[21:55:30.701] warning "react-bootstrap > @react-bootstrap/react-popper@1.2.1" has incorrect peer dependency "react@0.14.x || ^15.0.0 || ^16.0.0".
[21:55:30.702] warning "react-bootstrap > @react-bootstrap/react-popper > create-react-context@0.2.3" has incorrect peer dependency "react@^0.14.0 || ^15.0.0 || ^16.0.0".
[21:55:30.702] warning "react-bootstrap > react-overlays > react-popper@1.3.11" has incorrect peer dependency "react@0.14.x || ^15.0.0 || ^16.0.0 || ^17.0.0".
[21:55:30.702] warning " > react-clickout-handler@1.2.1" has incorrect peer dependency "react@^15.5.x || ^16.x".
[21:55:30.702] warning " > react-clickout-handler@1.2.1" has incorrect peer dependency "react-dom@^15.5.x || ^16.x".
[21:55:30.703] warning " > use-react-screenshot@3.0.0" has incorrect peer dependency "react@^17.0.2".
[21:55:30.703] warning " > @graphql-codegen/cli@2.16.5" has unmet peer dependency "graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0".
[21:55:30.704] warning "@graphql-codegen/cli > @graphql-codegen/core@2.6.8" has unmet peer dependency "graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0".
[21:55:30.706] warning "@graphql-codegen/cli > @graphql-codegen/plugin-helpers@3.1.2" has unmet peer dependency "graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0".
[21:55:30.706] warning "@graphql-codegen/cli > @graphql-tools/apollo-engine-loader@7.3.25" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[21:55:30.706] warning "@graphql-codegen/cli > @graphql-tools/code-file-loader@7.3.20" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[21:55:30.706] warning "@graphql-codegen/cli > @graphql-tools/git-loader@7.2.19" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[21:55:30.706] warning "@graphql-codegen/cli > @graphql-tools/github-loader@7.3.26" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[21:55:30.707] warning "@graphql-codegen/cli > @graphql-tools/graphql-file-loader@7.5.16" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[21:55:30.707] warning "@graphql-codegen/cli > @graphql-tools/json-file-loader@7.4.17" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[21:55:30.707] warning "@graphql-codegen/cli > @graphql-tools/load@7.8.12" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[21:55:30.707] warning "@graphql-codegen/cli > @graphql-tools/prisma-loader@7.2.62" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[21:55:30.708] warning "@graphql-codegen/cli > @graphql-tools/url-loader@7.17.11" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[21:55:30.708] warning "@graphql-codegen/cli > @graphql-tools/utils@9.2.1" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[21:55:30.708] warning "@graphql-codegen/cli > graphql-config@4.4.1" has unmet peer dependency "graphql@^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0".
[21:55:30.709] warning "@graphql-codegen/cli > @graphql-codegen/core > @graphql-tools/schema@9.0.16" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[21:55:30.709] warning "@graphql-codegen/cli > @graphql-tools/code-file-loader > @graphql-tools/graphql-tag-pluck@7.4.6" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[21:55:30.710] warning "@graphql-codegen/cli > @graphql-tools/graphql-file-loader > @graphql-tools/import@6.7.17" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[21:55:30.710] warning "@graphql-codegen/cli > @graphql-tools/prisma-loader > graphql-request@5.1.0" has unmet peer dependency "graphql@14 - 16".
[21:55:30.710] warning "@graphql-codegen/cli > @graphql-tools/url-loader > @graphql-tools/delegate@9.0.26" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[21:55:30.710] warning "@graphql-codegen/cli > @graphql-tools/url-loader > @graphql-tools/executor-graphql-ws@0.0.10" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[21:55:30.710] warning "@graphql-codegen/cli > @graphql-tools/url-loader > @graphql-tools/executor-http@0.1.6" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[21:55:30.711] warning "@graphql-codegen/cli > @graphql-tools/url-loader > @graphql-tools/executor-legacy-ws@0.0.8" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[21:55:30.711] warning "@graphql-codegen/cli > @graphql-tools/url-loader > @graphql-tools/wrap@9.3.5" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[21:55:30.711] warning "@graphql-codegen/cli > graphql-config > @graphql-tools/merge@8.3.18" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[21:55:30.711] warning "@graphql-codegen/cli > @graphql-tools/url-loader > @graphql-tools/delegate > @graphql-tools/batch-execute@8.5.17" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[21:55:30.711] warning "@graphql-codegen/cli > @graphql-tools/url-loader > @graphql-tools/delegate > @graphql-tools/executor@0.0.14" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[21:55:30.712] warning "@graphql-codegen/cli > @graphql-tools/url-loader > @graphql-tools/executor-graphql-ws > graphql-ws@5.11.3" has unmet peer dependency "graphql@>=0.11 <=16".
[21:55:30.712] warning " > @graphql-codegen/fragment-matcher@3.3.3" has unmet peer dependency "graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0".
[21:55:30.712] warning " > @graphql-codegen/typescript@2.8.8" has unmet peer dependency "graphql@^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0".
[21:55:30.712] warning "@graphql-codegen/typescript > @graphql-codegen/schema-ast@2.6.1" has unmet peer dependency "graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0".
[21:55:30.712] warning "@graphql-codegen/typescript > @graphql-codegen/visitor-plugin-common@2.13.8" has unmet peer dependency "graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0".
[21:55:30.712] warning "@graphql-codegen/typescript > @graphql-codegen/visitor-plugin-common > @graphql-tools/optimize@1.3.1" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[21:55:30.712] warning "@graphql-codegen/typescript > @graphql-codegen/visitor-plugin-common > @graphql-tools/relay-operation-optimizer@6.5.17" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[21:55:30.713] warning "@graphql-codegen/typescript > @graphql-codegen/visitor-plugin-common > @graphql-tools/relay-operation-optimizer > @ardatan/relay-compiler@12.0.0" has unmet peer dependency "graphql@*".
[21:55:30.713] warning " > @graphql-codegen/typescript-operations@2.5.13" has unmet peer dependency "graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0".
[21:55:30.713] warning " > @graphql-codegen/typescript-react-query@4.1.0" has unmet peer dependency "graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0".
[21:55:30.713] warning "@graphql-codegen/typescript-react-query > @graphql-codegen/visitor-plugin-common@2.13.1" has unmet peer dependency "graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0".
[21:55:30.713] warning "@graphql-codegen/typescript-react-query > @graphql-codegen/visitor-plugin-common > @graphql-codegen/plugin-helpers@2.7.2" has unmet peer dependency "graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0".
[21:55:30.714] warning "@graphql-codegen/typescript-react-query > @graphql-codegen/visitor-plugin-common > @graphql-tools/utils@8.13.1" has unmet peer dependency "graphql@^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
[21:55:30.714] warning " > babel-loader@9.1.2" has unmet peer dependency "webpack@>=5".
[21:56:27.114] [4/4] Building fresh packages...
[21:56:31.471] Done in 114.41s.
[21:56:31.526] Detected Next.js version: 13.0.2
[21:56:31.528] Running "yarn run build"
[21:56:31.711] yarn run v1.22.17
[21:56:31.735] $ next build
[21:56:32.058] info  - Loaded env from /vercel/path0/.env
[21:56:32.236] Attention: Next.js now collects completely anonymous telemetry regarding usage.
[21:56:32.236] This information is used to shape Next.js' roadmap and prioritize features.
[21:56:32.237] You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
[21:56:32.237] https://nextjs.org/telemetry
[21:56:32.237] 
[21:56:32.381] info  - Linting and checking validity of types...
[21:56:46.735] info  - Creating an optimized production build...
[21:56:46.792] warn  - The following reserved Next.js pages were detected not directly under the pages directory:
[21:56:46.793] /journal/_document
[21:56:46.793] See more info here: https://nextjs.org/docs/messages/nested-reserved-page
[21:56:46.793] 

(as it had apparently stalled after seeing the reserved file).

#26 (reference)

@zaq42

@Gizmotronn
Copy link
Member Author

@zaq42 here's a list of files that were changed since the last build was confirmed to work: https://github.com/Signal-K/client/pull/28/files#diff-b0e318abee3bb2907d39bd3f76e024c7e9572fb6c92dd47691b44ba9414997eb

@Gizmotronn
Copy link
Member Author

The more I'm doing, the more I'm convinced it's something in the pages/planets/planet.tsx file going on that is causing the build to get stuck in a loop

See #30 -> appears that pages/Journal was causing the issue @zaq42

@Gizmotronn
Copy link
Member Author

https://starprotocol-gizmotronn.vercel.app/planets/fdd401bf-3925-49ba-a155-4c3dba8dd93f -> latest deployment

Appears the undefined error in the tabs was due to my connection...normal service resumed

@Gizmotronn
Copy link
Member Author

image

Gizmotronn added a commit that referenced this issue Mar 4, 2023
… beginning for Signal-K/Silfur#22, Signal-K/Silfur#24. Added new ship interface for the web game type interface described in Signal-K/sytizen#16. Build error tracked down in #26 -> mapping the articles was not an issue, it was the use of the UI Provider that caused the build errors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

No branches or pull requests

3 participants