project_openai_codex icon indicating copy to clipboard operation
project_openai_codex copied to clipboard

render failed

Open Skullomanic84 opened this issue 2 years ago • 4 comments

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 avatar Dec 25 '22 01:12 Skullomanic84

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?

RosaMoran avatar Dec 25 '22 20:12 RosaMoran

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

Tanimou avatar Dec 26 '22 11:12 Tanimou

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-

crocmons avatar Dec 27 '22 10:12 crocmons

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

crocmons avatar Dec 28 '22 02:12 crocmons

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

Skullomanic84 avatar Dec 28 '22 10:12 Skullomanic84

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 :)

Mussassa avatar Apr 03 '23 11:04 Mussassa