kaarthik108 / snowBrain

snowBrain - AI-Driven Insights with Snowflake (New version- https://github.com/kaarthik108/snowbrain-AGUI)

Home Page:https://snowbrain.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

One-click Vercel deployment failed

chaoscreater opened this issue · comments

Getting this when I deploy to Vercel from the one-click button on your Github project:

image

coffee-script is depreciated, additionally you can add npm i -D request
This should still be able to build fine in vercel

Sorry, could you please provide a bit more instructions? I'm not a programmer and never used Vercel before, just trying to learn this stuff.

Initially, I simply clicked the Vercel "one-click deploy" button, hoping that everything will be set up in Vercel magically for me. But it doesn't seem like that's enough. If I understand this correctly, I'll need to:

  • Follow the installation steps from 1~8
  • For step 6, I can use this instead npm i -D request

All of this will be done in my own repo, so the Vercel deploy button URL will probably need to be updated right? At the moment, I THINK it's cloning your repo into my own repo, but I don't understand how to modify it.

https://vercel.com/new/clone?repository-url=https://github.com/kaarthik108/snowbrain&project-name=snowbrain&repo-name=snowbrain

I presume I'll need to modify it to this?

https://vercel.com/new/repository-url=https://github.com/chaoscreater/snowbrain&project-name=snowbrain&repo-name=snowbrain

I think once you click the deploy button it will take you to vercel and they will create a repo for you mirroring this one. You should be good to go post then by just adding the env and hopefully you had done the other steps like embedding and modal labs

Sorry, I'm a bit confused.

The issue here is that Vercel can't build the solution because it can't resolve "request". Which means that I need to first run "npm i -D request" like you've suggested. However, that is only run against my local repo. Even if I push my local repo into remote, it will be my own Github repo.

When I click on the Vercel deploy button, it clones your repo into my own repo. This means that whatever changes I make in my local or remote repo, it will never be referenced by Vercel.

See below URL, the deploy Vercel button uses your repo to clone from:
https://vercel.com/new/clone?repository-url=https://github.com/kaarthik108/snowbrain&project-name=snowbrain&repo-name=snowbrain

Would appreciate it if you can give out full instructions. I'm not a programmer and barely able to understand what's going on.