Giter VIP home page Giter VIP logo

Comments (6)

crocmons avatar crocmons commented on June 30, 2024 1

Thanks Adrian for the wonderful tutorial. Am having an issue uploading the server files to render. Keep getting an error

image

see image attached. Any assistance or advice

git link: https://github.com/Skullomanic84/codex

@Skullomanic84
render deploy issue:
In render your root directory should be server and the build command should be npm install if you are using npm ..then start should be specified on your server package.json file check it there if you using start on the JSON file then it should be the npm start or if you use server then it should be npm run server..

401 Issue solved / render issue solved:

Make sure that your localhost is closed that is not up & running while deploying because it conflicts with your API key with the locally deployed API key.
then deploy the server to render.com and add also your environment key in the Environment Variable.
Now Update your fetch URL on the client side by adding your back-end render deploy URL
then open your terminal and do this thing --
git init
git add .
git commit -m "fetch URL or something you want"
git push
That should be updated, your GitHub code .
Now go to the vercel select your GitHub repo
The root directory should be the client
then hit deploy
that's all ..

My code is perfectly working on the live deployment-

from project_openai_codex.

RosaMoran avatar RosaMoran commented on June 30, 2024

the path look like if it's wrong
i have my path like this
[email protected] server /opt/render/project/src/server

By the way it's working on your machine the code?

from project_openai_codex.

Tanimou avatar Tanimou commented on June 30, 2024

seems like bunch of people couldn't get their code working well too. I keep having server side error

from project_openai_codex.

crocmons avatar crocmons commented on June 30, 2024

Thanks Adrian for the wonderful tutorial. Am having an issue uploading the server files to render. Keep getting an error

image

see image attached. Any assistance or advice

git link: https://github.com/Skullomanic84/codex

In render you root directory should be server and build command should be npm install if you are using npm ..then start should be specify on your server package.json file check it there if you using start on the json file then it should be npm start or if you use server then it should be npm run server.. @Skullomanic84

from project_openai_codex.

Skullomanic84 avatar Skullomanic84 commented on June 30, 2024

Thanks Adrian for the wonderful tutorial. Am having an issue uploading the server files to render. Keep getting an error
image
see image attached. Any assistance or advice
git link: https://github.com/Skullomanic84/codex

@Skullomanic84 render deploy issue: In render your root directory should be server and the build command should be npm install if you are using npm ..then start should be specified on your server package.json file check it there if you using start on the JSON file then it should be the npm start or if you use server then it should be npm run server..

401 Issue solved / render issue solved:

Make sure that your localhost is closed that is not up & running while deploying because it conflicts with your API key with the locally deployed API key. then deploy the server to render.com and add also your environment key in the Environment Variable. Now Update your fetch URL on the client side by adding your back-end render deploy URL then open your terminal and do this thing -- git init git add . git commit -m "fetch URL or something you want" git push That should be updated, your GitHub code . Now go to the vercel select your GitHub repo The root directory should be the client then hit deploy that's all ..

My code is perfectly working on the live deployment-

thank you worked perfectly

from project_openai_codex.

Mussassa avatar Mussassa commented on June 30, 2024

Thanks Adrian for the wonderful tutorial. Am having an issue uploading the server files to render. Keep getting an error
image
see image attached. Any assistance or advice
git link: https://github.com/Skullomanic84/codex

In render you root directory should be server and build command should be npm install if you are using npm ..then start should be specify on your server package.json file check it there if you using start on the json file then it should be npm start or if you use server then it should be npm run server.. @Skullomanic84

Thank you @crocmons, the first solution worked for me :)

from project_openai_codex.

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.