Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fix for unavailable CDN resource. #45

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ChooKing
Copy link

Updated drei and fiber to latest version. Changed "map-anisotropy" to "anisotropy" in Shirt.jsx.

…t version. Changed "map-anisotropy" to "anisotropy" in Shirt.jsx.
@ChooKing
Copy link
Author

Fixes issue #29

@Anand8216
Copy link

Screenshot 2023-10-19 002615 I got this error and i'm unable to fix this error. please help me to fix this

i got hi same error please fix this asap

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did any one find a fix for it my shirt is black and does not change color

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes , same error . did you resolve it

@AnshAtreja
Copy link

Screenshot 2023-10-19 002615 I got this error and i'm unable to fix this error. please help me to fix this

i got hi same error please fix this asap

Did anyone get the solution? If yes then please tell

@ayushssshhh
Copy link

292600216-899be984-edf6-48b9-9300-97b85634fa8f

my shirt model is by default black and does not change it's color. does any one encountered same issue and have any fix??

@AnshAtreja
Copy link

292600216-899be984-edf6-48b9-9300-97b85634fa8f

my shirt model is by default black and does not change it's color. does any one encountered same issue and have any fix??

Im not having this issue but I'm not able to add shadows to the TShirt as Environment preset is not working, can you tell how did u add the shadow to the tshirt please?

@sufi-mubashar
Copy link

[Failed to load PostCSS config: Failed to load PostCSS config (searchPath: C:/Users/pp/Desktop/ThreeJs/client): [Error] Loading PostCSS Plugin failed: Cannot find module 'autoprefixer'
Require stack:

  • C:\Users\pp\Desktop\ThreeJs\client\postcss.config.js

(@C:\Users\pp\Desktop\ThreeJs\client\postcss.config.js)
Error: Loading PostCSS Plugin failed: Cannot find module 'autoprefixer'
Require stack:

  • C:\Users\pp\Desktop\ThreeJs\client\postcss.config.js

(@C:\Users\pp\Desktop\ThreeJs\client\postcss.config.js)
at load (file:///C:/Users/pp/Desktop/ThreeJs/client/node_modules/vite/dist/node/chunks/dep-R0I0XnyH.js:37375:11)
at file:///C:/Users/pp/Desktop/ThreeJs/client/node_modules/vite/dist/node/chunks/dep-R0I0XnyH.js:37400:16
at Array.map ()
at plugins (file:///C:/Users/pp/Desktop/ThreeJs/client/node_modules/vite/dist/node/chunks/dep-R0I0XnyH.js:37399:8)
at processResult (file:///C:/Users/pp/Desktop/ThreeJs/client/node_modules/vite/dist/node/chunks/dep-R0I0XnyH.js:37469:14)
at file:///C:/Users/pp/Desktop/ThreeJs/client/node_modules/vite/dist/node/chunks/dep-R0I0XnyH.js:37599:14]

Node.js v20.10.0

I am facing this issue and not getting output can anyone help me out there please

@Merwin-Rebello
Copy link

Can anyone help me because the shirt is only not displaying on the page

@Merwin-Rebello
Copy link

Can anyone help me because the shirt is only not displaying on the page

got the error sorted

@JusticeChaudhari
Copy link

Could not load potsdamer_platz_1k.hdr: Failed to fetch
at Object.onError (http://localhost:3000/static/js/bundle.js:5339:36)
at http://localhost:3000/static/js/bundle.js:140550:40

getting this error and also the Shirt component is not getting rendered

@ShivamB15
Copy link

Failed to load resource: the server responded with a status of 500 (Internal Server Error)
can anyone help

@beetroze10
Copy link

beetroze10 commented Jan 17, 2024

am gettting this error as i load my nodemon server even after updating it cannot connect to the local host in the customizer here the error
[nodemon] restarting due to changes...
[nodemon] starting node index.js
file:///C:/Users/beetr/OneDrive/Desktop/threejs/server/routes/dalle.routes.js:3
import { Configuration, OpenAIApi} from 'openai';
^^^^^^^^^^^^^
SyntaxError: The requested module 'openai' does not provide an export named 'Configuration'
at ModuleJob._instantiate (node:internal/modules/esm/module_job:124:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:190:5)

Node.js v18.17.1
[nodemon] app crashed - waiting for file changes before starting...
so my local host http://localhost:8080/api/v1/dalle does not work making me not make a logo using the ai.
which gpt is used 3 or 4????

@hizya
Copy link

hizya commented Jan 24, 2024

my shirt can not change color

@EvroHQ
Copy link

EvroHQ commented Jan 25, 2024

i'm getting this error:

file:///C:/Users/beetr/OneDrive/Desktop/threejs/server/routes/dalle.routes.js:3
import { Configuration, OpenAIApi} from 'openai';
^^^^^^^^^^^^^
SyntaxError: The requested module 'openai' does not provide an export named 'Configuration'
at ModuleJob._instantiate (node:internal/modules/esm/module_job:124:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:190:5)

someone to explain please ?

@Anthonyjgr
Copy link

i'm getting this error:

file:///C:/Users/beetr/OneDrive/Desktop/threejs/server/routes/dalle.routes.js:3 import { Configuration, OpenAIApi} from 'openai'; ^^^^^^^^^^^^^ SyntaxError: The requested module 'openai' does not provide an export named 'Configuration' at ModuleJob._instantiate (node:internal/modules/esm/module_job:124:21) at async ModuleJob.run (node:internal/modules/esm/module_job:190:5)

someone to explain please ?

Hi the problem is on the "openai" module, i solved it by deleting the node modules and installing them again with this versions:
{
"name": "server",
"version": "1.0.0",
"type": "module",
"description": "",
"main": "index.js",
"scripts": {
"start": "nodemon index"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"axios": "^1.6.7",
"cloudinary": "^1.35.0",
"cors": "^2.8.5",
"dotenv": "^16.0.3",
"express": "^4.18.2",
"mongoose": "^7.0.3",
"nodemon": "^2.0.22",
"openai": "^3.2.1"
}
}
image

@hakambachi
Copy link

Can anyone help me because the shirt is only not displaying on the page

how did you fix it buddy please help me

@naman1512
Copy link

er2 er1 I am having the following error when working on the backend. I am unable to fetch the images for the AI picker. I am on the latest version of openai. All the syntax has been changed to the latest version but still it doesn't seem to work. Please help me out. Appreciate it.

@rhyno3117
Copy link

I also have this problem. I have updated code to have latest version of openai and that mainly was removing Configuration. I am running into these same problems and get a bunch of errors in my console once i click on the "AI Logo" or "AI Full" when asking the AI to create image.

@AnshAtreja
Copy link

I also have this problem. I have updated code to have latest version of openai and that mainly was removing Configuration. I am running into these same problems and get a bunch of errors in my console once i click on the "AI Logo" or "AI Full" when asking the AI to create image.

the AI is paid, so you either you would need to pay or use a free api, if you want free one i recommend Clipdrop API

@Mike-00000
Copy link

I also have this problem. I have updated code to have latest version of openai and that mainly was removing Configuration. I am running into these same problems and get a bunch of errors in my console once i click on the "AI Logo" or "AI Full" when asking the AI to create image.

I have the same problem. Did you find a solution ?

@rhyno3117
Copy link

rhyno3117 commented Mar 4, 2024 via email

@Mike-00000
Copy link

Hey Mike, I basically commented out a lot of the buttons for the AI part but I still have it there to add in the future. I concluded from other people that openAI now costs money so we basically cannot use this function unless you sign up and pay.

On Mon, Mar 4, 2024 at 12:45 AM Mike @.> wrote: I also have this problem. I have updated code to have latest version of openai and that mainly was removing Configuration. I am running into these same problems and get a bunch of errors in my console once i click on the "AI Logo" or "AI Full" when asking the AI to create image. I have the same problem. Did you find a solution ? — Reply to this email directly, view it on GitHub <#45 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBKYYQVPFRYI2Q4GCDUCP4DYWQYCJAVCNFSM6AAAAAA42OXWRKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZWGAZDOOBSGQ . You are receiving this because you commented.Message ID: @.>

Thank you for your answer.
So you didn't try another logo/image creator instead of dalle/openai ?

@LakshyaNayyar18
Copy link

can someone send me save button code

@FatenBorchani
Copy link

for me the site doesnt work it works 1 sec then turns white
can someone help me ?

@seedhantkalra
Copy link

Getting the same error as @FatenBorchani. Can someone please help???

@seedhantkalra
Copy link

I updated three and drei to the latest version and removed the Configuration. Project is working fine except the AI part of it. When I enter a prompt and click the AI logo or AI full button, the entire screen goes white and I get this error.
Screenshot 2024-05-22 001856

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet