Comments (6)
Thanks Adrian for the wonderful tutorial. Am having an issue uploading the server files to render. Keep getting an error
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.
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.
seems like bunch of people couldn't get their code working well too. I keep having server side error
from project_openai_codex.
Thanks Adrian for the wonderful tutorial. Am having an issue uploading the server files to render. Keep getting an error
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.
Thanks Adrian for the wonderful tutorial. Am having an issue uploading the server files to render. Keep getting an error
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.
Thanks Adrian for the wonderful tutorial. Am having an issue uploading the server files to render. Keep getting an error
see image attached. Any assistance or advice
git link: https://github.com/Skullomanic84/codexIn 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)
- Can't find any way to change bot name while asking! HOT 1
- POST http://localhost:3000/ 500 (Internal Server Error) HOT 1
- Chat got 4 or 3.5 turbo models not supported
- POST http://localhost:5173/ 404 (Not Found) HOT 1
- Program not working after copying the exact same code as in Github. HOT 1
- Request failed with status code 429 HOT 6
- Chatbot doesn't remember previous chats and also giving answer of the question when i asked about today's date. it gives answer 11th August,2020 but today is 22nd April,2023 HOT 1
- User. Svg expected js
- 404 Error HOT 1
- Why does the client send the POST to 'https://codex-im0y.onrender.com/'? HOT 1
- KeyCode is deprecated
- Conversation Is Not Saved HOT 3
- Urgent Error facing Localhost:5173 says ~~~~~ HOT 4
- API KEY NOT GETTING RECOGNISED
- POST http://localhost:5173/ 404 (Not Found) HOT 1
- Not getting the result,could anyone solve this issue HOT 2
- Error 401
- api is not working and chat gpt tells about this error is your exceeding the api limit HOT 2
- folder is not copying
- 'openai' does not provide an export named 'Configuration' 🥲 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from project_openai_codex.