hiteshchoudhary / apihub

Your own API Hub to learn and master API interaction. Ideal for frontend, mobile dev and backend developers.
https://freeapi.app
Other
6.84k stars 1.09k forks source link

BUG: App does not start on latest version of node #202

Open Aryan9inja opened 1 month ago

Aryan9inja commented 1 month ago

Describe the bug

Whenever i try to start the api_hub using "npm run start", it does not work on node version 22.9.0 but then i try with a downgraded version specifically node version 20.16.0, it works fine.

To Reproduce

start the api_hub using "npm run start", on node version 22.9.0 then try with a downgraded version specifically node version 20.16.0, you will see the problem yourself

Expected behavior

The app should work fine on newer versions of node

Screenshots

Screenshot 2024-10-05 223516 This one was on latest version

Screenshot 2024-10-05 223654 This one on downgraded version.

OS

Windows

OS Version

22631.4169

Client

Chrome

Additional context or Information

No response

Kartikgupta666 commented 1 month ago

@Aryan9inja this is not the bug , but the assert support in the node version 22.9.0 is not given properly and also it is not an lts version so , may be its not bother other users

Aryan9inja commented 1 month ago

May be that can be the thing behind it

amardeepXy commented 4 weeks ago

this should be fixed instead of using assert use "with" so that no more developer should face this error because there is already 2 developer was facing this error