Code Monkey home page Code Monkey logo

ai_saas_app's Introduction

JS Mastery Pro

ai_saas_app's People

Contributors

adrianhajdin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ai_saas_app's Issues

Transformation Pages are not rendering

At the timestamp of 1:42:39 , Whenever I tried to click one of the other options other than "home" , for example : Object Remove , Remove Background , instead of giving me with a transformation page , it says "404 not found" . I know it is a minor mistake or somehting , still dont knw , cuz im new ,so can some one pls figure me out , "Why the pages never loads , whenever i clck on any one of the optons ?"

Error: User not found

I get this error whenever I click on any of the buttons in the navbar. I thought maybe I did something wrong in my build, so I copied yours, added my .env.local, ran npm i, then npm run dev, but I get the same error. Did I make a mistake in Clerk or MongoDB?

Oddly enough, everything was fine initially. I was on the deployed version. I clicked on Generative fill, selected a picture from Unsplash, picked an aspect ration, and it transformed it, but the AI messed up, so I wanted to try a different picture. There is no cancel button, so I just clicked on the back button in the browser. After that it stopped working...

On the deployed version I get this error even on the home page.

InsufficientCreditsModal.tsx

I HAVE FAILED TO FIGURE OUT WHAT COULD BE THE ISSUE .When i try to deploy to versel i get an error .Below is my code and error
CODE
"use client";

import Image from "next/image";
import { useRouter } from "next/navigation";

import {
AlertDialog,
AlertDialogAction,
AlertDialogCancel,
AlertDialogContent,
AlertDialogDescription,
AlertDialogFooter,
AlertDialogHeader,
AlertDialogTitle,
} from "@/components/ui/alert-dialog";

export const InsufficientCreditsModal = () => {
const router = useRouter();

return (




Insufficient Credits


<AlertDialogCancel
className="border-0 p-0 hover:bg-transparent"
onClick={() => router.push("/profile")}
>
credit coins

      <Image
        src="/assets/images/stacked-coins.png"
        alt="credit coins"
        width={462}
        height={122}
      />

      <AlertDialogTitle className="p-24-bold text-dark-600">
        Oops.... Looks like you&#39;ve run out of free credits!
      </AlertDialogTitle>

      <AlertDialogDescription className="p-16-regular py-3">
        No worries, though - you can keep enjoying our services by grabbing
        more credits.
      </AlertDialogDescription>
    </AlertDialogHeader>
    <AlertDialogFooter>
      <AlertDialogCancel
        className="button w-full bg-purple-100 text-dark-400"
        onClick={() => router.push("/profile")}
      >
        No, Cancel
      </AlertDialogCancel>
      <AlertDialogAction
        className="button w-full bg-purple-gradient  bg-cover"
        onClick={() => router.push("/credits")}
      >
        Yes, Proceed
      </AlertDialogAction>
    </AlertDialogFooter>
  </AlertDialogContent>
</AlertDialog>

);
};

Error
[10:18:58.724] Running build in Washington, D.C., USA (East) – iad1
[10:18:58.909] Cloning github.com/ssemugabijames/imaginary (Branch: master, Commit: 4dc14f2)
[10:18:59.707] Cloning completed: 794.569ms
[10:19:04.698] Restored build cache
[10:19:04.921] Running "vercel build"
[10:19:05.805] Vercel CLI 33.7.1
[10:19:06.610] Installing dependencies...
[10:19:10.355]
[10:19:10.355] added 33 packages in 3s
[10:19:10.355]
[10:19:10.355] 140 packages are looking for funding
[10:19:10.355] run npm fund for details
[10:19:10.372] Detected Next.js version: 14.1.0
[10:19:10.377] Detected package-lock.json generated by npm 7+
[10:19:10.377] Running "npm run build"
[10:19:12.744]
[10:19:12.744] > [email protected] build
[10:19:12.744] > next build
[10:19:12.744]
[10:19:13.425] ▲ Next.js 14.1.0
[10:19:13.426]
[10:19:13.501] Creating an optimized production build ...
[10:19:24.551] Failed to compile.
[10:19:24.551]
[10:19:24.552] ./components/shared/InsufficientCreditsModal.ts
[10:19:24.552] Error:
[10:19:24.552] �[31mx�[0m Expected '>', got 'defaultOpen'
[10:19:24.552] ,-[�[36;1;4m/vercel/path0/components/shared/InsufficientCreditsModal.ts�[0m:18:1]
[10:19:24.552] �[2m18�[0m | const router = useRouter();
[10:19:24.552] �[2m19�[0m |
[10:19:24.552] �[2m20�[0m | return (
[10:19:24.553] �[2m21�[0m |
[10:19:24.553] : �[31;1m ^^^^^^^^^^^�[0m
[10:19:24.553] �[2m22�[0m |
[10:19:24.553] �[2m23�[0m |
[10:19:24.553] �[2m24�[0m |


[10:19:24.553] `----
[10:19:24.553]
[10:19:24.553] Caused by:
[10:19:24.553] Syntax Error
[10:19:24.553]
[10:19:24.553] Import trace for requested module:
[10:19:24.553] ./components/shared/InsufficientCreditsModal.ts
[10:19:24.553] ./components/shared/TransformationForm.tsx
[10:19:24.553]
[10:19:24.562]
[10:19:24.562] > Build failed because of webpack errors
[10:19:24.579] Error: Command "npm run build" exited with 1
[10:19:24.845]

MongoDB and clerk web hook error

I found when I connect to webhook, clerk shows some error and mongoDB shows the data not come frome my data model. I don't know where it comes from.
mongoDB data error
model

clerk error

I'd appreciated if you can give me some feedback.

Upload preset not found

Hi Everyone, im running into this error when trying to upload any image. I have checked all of my code against adrians and even copied his pages to the T I cannot figure out where to look to find this error and correct it.
Screenshot 2024-03-02 122402

Unhandled Runtime Error Error: Error:

Hello good afternoon all right? I am facing the following error when completing the ( [...]/saasai/app/(root)/transformations/add/[type]/page.tsx) settings, can you help me?

Issue with Search: does not search by image name!

The only problem I noticed is that we have a very smart search, it searches for "clouds" in pictures, but unfortunately can't search by words in the title.

Even though we put this functionality in, it doesn't work for some reason :(

So if you just search, for example: "horsey", "make", "meme" in the search results will be only "Empty list".

Transformation add types issues

Hi, I found some issues happen in app/(root)/transformations/add/[types]/page.tsx
When it routes to any form we want to use it shows error.
I've tried this ai_saas_app project have same issue.
Could anyone help me to find what problems is?
error
Screenshot 1
Screenshot 2

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.