Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

BadConvexModuleIdentifier: Hit an error while pushing when doing 'npx convex dev'

I am using Convex for the first time and i just added all my files:

Convex setup files

However when i hit npx convex dev i get this error,

Error fetching POST  https://enchanted-buffalo-216.convex.cloud/api/push_config 400 Bad Request: BadConvexModuleIdentifier: Hit an error while pushing:
_.._/_.._/_.._/HTML_CSS_JS/resumatch-ai/convex/auth.config.js is not a valid path to a Convex module. Path component _.._ must have at least one alphanumeric character.

I saw that it looked at .js files so i changed the .ts to .js, but it did not help.

like image 832
RakibulB Avatar asked Mar 04 '26 13:03

RakibulB


1 Answers

Your HTML_CSS_JS file has '/' so you need to replace that with something else. Folder names cannot have '/' in them.

like image 87
RakibulB Avatar answered Mar 07 '26 01:03

RakibulB



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!