adrianhajdin / project_threejs_ai

https://jsmastery.pro
922 stars 277 forks source link

Error regarding deployment on render.com #9

Open Gola-k opened 1 year ago

Gola-k commented 1 year ago

Hello everyone can someone help me, after completing the project "Build and Deploy an AI-Powered 3D Website Using React | 2023 Three JS Course Tutorial for Beginners"https://www.youtube.com/watch?v=ZqEa8fTxypQ&t=254s&ab_channel=JavaScriptMastery

during the deployment I get this error in the logs

Apr 25 10:47:12 PM ==> Cloning from https://github.com/Gola-k/Shirt_renderer_threejs_3D_ai... Apr 25 10:47:13 PM ==> Checking out commit 96a7d32c67e860f463464f3a83574a4e009931d3 in branch master Apr 25 10:47:16 PM ==> Running build command 'yarn'... Apr 25 10:47:17 PM yarn install v1.22.5 Apr 25 10:47:17 PM info No lockfile found. Apr 25 10:47:17 PM [1/4] Resolving packages... Apr 25 10:47:18 PM [2/4] Fetching packages... Apr 25 10:47:26 PM error bson@5.2.0: The engine "node" is incompatible with this module. Expected version ">=14.20.1". Got "14.17.0" Apr 25 10:47:26 PM error Found incompatible module. Apr 25 10:47:26 PM info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. Apr 25 10:47:26 PM ==> Build failed 😞

I have tried changing the location and in the build command it is yarn and in the start command it is npm run start and the root is server what I'm doing wrong I don't know can someone help me pleeease 🥺

sanjeethm commented 1 year ago

add the below in the package.json commit and redeploy in render.

"engines": { "node": ">=14 <15" }

this worked for me

pradeepthsjain commented 1 year ago

As soon as i click on ai full or ai logo button my screen goes white and i can see errors on the server terminal and even in inspect console. Screenshot (8) ![Screenshot (9)](https://github.com/adrianhajdin/project_threejs_ai/assets/115602871/712d6f9b-014d-4565-a1fd Screenshot (10) -8d91beeafb68) Screenshot (11) Can someone please help me out with this....?

anayatkhan1 commented 1 year ago

As soon as i click on ai full or ai logo button my screen goes white and i can see errors on the server terminal and even in inspect console. Screenshot (8) ![Screenshot (9)](https://github.com/adrianhajdin/project_threejs_ai/assets/115602871/712d6f9b-014d-4565-a1fd Screenshot (10) -8d91beeafb68) Screenshot (11) Can someone please help me out with this....?

Your API limit is exceeded. Try to singup with brand new account make sure create a account with new number.

pradeepthsjain commented 1 year ago

Thank you buddy I figured it out I created a new account and generated api from there. But thanks for your reply ✨ On Wed, 12 Jul 2023 at 1:15 AM, Anayat Khan @.***> wrote:

As soon as i click on ai full or ai logo button my screen goes white and i can see errors on the server terminal and even in inspect console. [image: Screenshot (8)] https://user-images.githubusercontent.com/115602871/247987272-3f35cfde-1f1a-4d50-9e24-91f7f745ab1e.png ![Screenshot (9)]( https://github.com/adrianhajdin/project_threejs_ai/assets/115602871/712d6f9b-014d-4565-a1fd [image: Screenshot (10)] https://user-images.githubusercontent.com/115602871/247987372-ce78e289-260d-481d-b3f4-38cfe98ab756.png -8d91beeafb68) [image: Screenshot (11)] https://user-images.githubusercontent.com/115602871/247987395-e8dba14d-2033-4c15-85ae-04699646b1ea.png Can someone please help me out with this....?

Your API limit is exceeded. Try to singup with brand new account make sure create a account with new number.

— Reply to this email directly, view it on GitHub https://github.com/adrianhajdin/project_threejs_ai/issues/9#issuecomment-1631416566, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3R7LN3S43OTFXDFVZ2CLK3XPWUN7ANCNFSM6AAAAAAXLKGSJE . You are receiving this because you commented.Message ID: @.***>