Coder Social home page Coder Social logo

error about headshots-starter HOT 22 CLOSED

leap-ai avatar leap-ai commented on July 22, 2024
error

from headshots-starter.

Comments (22)

Marfuen avatar Marfuen commented on July 22, 2024

@rossman22590 Hi, what are the steps to reproduce this, also what package manager are you using and what version of next is in your package.json?

from headshots-starter.

rossman22590 avatar rossman22590 commented on July 22, 2024

using vercel "next": "^13.5.1",
"next-multipart": "^0.5.1",

from headshots-starter.

rossman22590 avatar rossman22590 commented on July 22, 2024

npm

from headshots-starter.

Marfuen avatar Marfuen commented on July 22, 2024

Can you provide the steps to reproduce this error?

from headshots-starter.

rossman22590 avatar rossman22590 commented on July 22, 2024

npm install npm run dev

from headshots-starter.

rossman22590 avatar rossman22590 commented on July 22, 2024

i will try again

from headshots-starter.

Marfuen avatar Marfuen commented on July 22, 2024

Yeah let me know, if not can you try using yarn?

from headshots-starter.

rossman22590 avatar rossman22590 commented on July 22, 2024

yes i can

from headshots-starter.

rossman22590 avatar rossman22590 commented on July 22, 2024

ok now it works but loggin in doesnt

from headshots-starter.

rossman22590 avatar rossman22590 commented on July 22, 2024

no error after email link I click it brings me home unlogged in

from headshots-starter.

rossman22590 avatar rossman22590 commented on July 22, 2024

ok i solved login now i ge this on train (node:36184) ExperimentalWarning: buffer.File is an experimental feature and might change at any time
(Use node --trace-warnings ... to show where the warning was created)
TypeError: Cannot read properties of undefined (reading 'map')
at POST (webpack-internal:///(rsc)/./app/leap/train-model/route.ts:87:97)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async C:\Users\Ross\Desktop\RealChar\headshots-starter\node_modules\next\dist\compiled\next-server\app-route.runtime.dev.js:1:66877

from headshots-starter.

rossman22590 avatar rossman22590 commented on July 22, 2024

i upload image and hit trian and get error

from headshots-starter.

ratracegrad avatar ratracegrad commented on July 22, 2024

I had the same issue earlier today with the same errors. It was resolved by changing the version of nextjs in package.json. See my issue for resolution

from headshots-starter.

rossman22590 avatar rossman22590 commented on July 22, 2024

and on vercel i get this

Error: MISSING NEXT_PUBLIC_SUPABASE_ANON_KEY!

20:06:12.642 | at 90791 (/vercel/path0/.next/server/app/leap/image-webhook/route.js:167:11)
20:06:12.642 | at webpack_require (/vercel/path0/.next/server/webpack-runtime.js:25:43)
20:06:12.643 | at webpack_exec (/vercel/path0/.next/server/app/leap/image-webhook/route.js:316:39)
20:06:12.643 | at /vercel/path0/.next/server/app/leap/image-webhook/route.js:317:74
20:06:12.643 | at webpack_require.X (/vercel/path0/.next/server/webpack-runtime.js:138:21)
20:06:12.643 | at /vercel/path0/.next/server/app/leap/image-webhook/route.js:317:47
20:06:12.643 | at Object. (/vercel/path0/.next/server/app/leap/image-webhook/route.js:320:3)
20:06:12.645 | at Module._compile (node:internal/modules/cjs/loader:1256:14)
20:06:12.645 | at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
20:06:12.645 | at Module.load (node:internal/modules/cjs/loader:1119:32)
20:06:12.649 |  
20:06:12.649 | > Build error occurred
20:06:12.654 | Error: Failed to collect page data for /leap/image-webhook
20:06:12.654 | at /vercel/path0/node_modules/next/dist/build/utils.js:1158:15
20:06:12.655 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
20:06:12.655 | type: 'Error'
20:06:12.656 | }
20:06:12.733 | error Command failed with exit code 1.
20:06:12.733 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
20:06:12.753 | Error: Command "yarn run build" exited with 1

from headshots-starter.

rossman22590 avatar rossman22590 commented on July 22, 2024

and its there

from headshots-starter.

rossman22590 avatar rossman22590 commented on July 22, 2024

ok anon key solved on vercel now , when i trian i get somehting went worng and here is log (node:8) ExperimentalWarning: buffer.File is an experimental feature and might change at any time
(Use node --trace-warnings ... to show where the warning was created)
{
code: 'PGRST204',
details: null,
hint: null,
message: "Column 'modelId' of relation 'models' does not exist"
}

from headshots-starter.

rossman22590 avatar rossman22590 commented on July 22, 2024

PXL_20230920_001950824.MP.jpg

from headshots-starter.

rossman22590 avatar rossman22590 commented on July 22, 2024

can you provide a supabase schema maybe something is wrong there.

from headshots-starter.

Marfuen avatar Marfuen commented on July 22, 2024

@rossman22590 It looks like you name modelId as modelid, maybe that's the issue?

from headshots-starter.

Marfuen avatar Marfuen commented on July 22, 2024

Like this
image

from headshots-starter.

rossman22590 avatar rossman22590 commented on July 22, 2024

Do you have a schema file im new to this it would really help me

from headshots-starter.

Marfuen avatar Marfuen commented on July 22, 2024

I don't think I can get a schema file from supabase, but the screenshot above shows you the tables you need, also in the readme you can also see the types and relations of each column and table

from headshots-starter.

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.