ossn / fixme

Easily find open source projects that are a good fit for your skills and abilities
https://fixme.ossn.club
31 stars 61 forks source link

[HPM] Error occurred while trying to proxy request /api/projects from localhost:4010 to http://localhost:3000 (ECONNREFUSED) (https://nodejs.org/api/errors.html#errors_common_system_errors) #100

Closed alx168 closed 5 years ago

alx168 commented 5 years ago

[HPM] Error occurred while trying to proxy request /api/projects from localhost:4010 to http://localhost:3000 (ECONNREFUSED) (https://nodejs.org/api/errors.html#errors_common_system_errors) Proxy error: Could not proxy request /api/projects from localhost:4010 to http://localhost:3000. See https://nodejs.org/api/errors.html#errors_common_system_errors for more information (ECONNREFUSED).

Error encountered while trying to access the projects available after selecting options.

Originally posted by @alx168 in https://github.com/ossn/fixme/issues/99#issuecomment-466613365

alx168 commented 5 years ago

change the .env.development file.

REACT_APP_ENV=development

should be

REACT_APP_ENV=production