Comments (11)
But there's no url in the Home. jsx file..
…
On Tue, 28 Mar, 2023, 10:01 pm Abdul Basit, @.> wrote: My issue was resolved by changing the localhost URL as follows, Change the localhost URL in the client/src/pages/Home.jsx to: " http://localhost:8080/api/v1/post". Change the localhost URL in the client/src/pages/CreatePost.jsx to: " http://localhost:8080/api/v1/dalle" — Reply to this email directly, view it on GitHub <#16 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXZJXR234RASMNCFP4H7V73W6MG7VANCNFSM6AAAAAAUKMMAVY . You are receiving this because you commented.Message ID: @. .com>
There is in the line 29.
from project_ai_mern_image_generation.
Sometimes it's working and sometimes not
Why is this happening? How to resolve?
from project_ai_mern_image_generation.
Even I'm facing the same issue. Were you able to resolve it?
from project_ai_mern_image_generation.
Same here, and I thought was just me, still looking for some way to resolve that
from project_ai_mern_image_generation.
Instead of alert use console.log(error) in the createPost page then see in detail what the issue is then solve or ask.
from project_ai_mern_image_generation.
I have fixed this issue by
create new api key from openai and use it in .env file.
from project_ai_mern_image_generation.
I got the same error and created new api key from openai too but this didnt solve my problem
from project_ai_mern_image_generation.
Same issue...tried using 4 different api keys but doesn't work
from project_ai_mern_image_generation.
Keep trying with new API keys, my issue was resolved like this only.
from project_ai_mern_image_generation.
Try reinstalling the nodemon:
For Linux:
sudo npm install -g nodemon
For Windows:
npm install -g nodemon
from project_ai_mern_image_generation.
from project_ai_mern_image_generation.
Related Issues (20)
- server responded with 500 error when i generate post and try to add to home page but photo is not showing on home page HOT 5
- CORS Error HOT 2
- help me to find a solution of the given erro... SyntaxError: Unexpected token 'B', "Billing ha"... is not valid JSON. HOT 11
- Getting error when I am clicking generate image "type error : failed to fetch " HOT 21
- Whenever I try to share API generated image to the home page, it gives me "POST http://localhost:8080/api/v1/post 500 (Internal Server Error) handleSubmit @ CreatePost.jsx:23" error even after giving "Success" alert. HOT 3
- Failed to load resource: the server responded with a status of 500 (Internal Server Error) HOT 4
- invalid image URL ,trouble in rendering image
- err in createpost page when i click generate than err occurs tht invalid api HOT 2
- Openai HOT 1
- Error HOT 4
- Error HOT 1
- unexpected end of json
- Error occured HOT 7
- Anyone can solve this.. HOT 3
- Running Project with Working API HOT 8
- POST http://localhost:8080/api/v1/post 500 (Internal Server Error) HOT 2
- Image error HOT 1
- [nodemon] app crashed - waiting for file changes before starting... HOT 4
- The solutions for major 4 Issues (#57, #56, #54 and # 59) HOT 2
- Solution Provided for : issue #2 File Saver npm Package not working after hosting
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_ai_mern_image_generation.