evanshortiss / fh-service-request

make requests to MBaaS Services using the regular request module API
0 stars 1 forks source link

MODULE_NOT_FOUND #1

Closed gaurav341 closed 7 years ago

gaurav341 commented 7 years ago

I have used your plugin on RHMAP and the got teh following error

Internal error: { [Error: Cannot find module '/home/fh/apps/dhfl-js3xg2455hzthufd7ebviqe5-dev/src/fhconfig.json'] code: 'MODULE_NOT_FOUND' }

evanshortiss commented 7 years ago

@gaurav341 ah, interesting. This is something that should be easy to fix, but I won't get a chance until a little later today. As a workaround can you create an fhconfig.json in the root of your app (same folder as application.js) and copy the sample JSON here? This should unblock you.

Thanks for reporting it.

gaurav341 commented 7 years ago

Thanks its working now.