These are chat archives for quorrajs/quorrajs

28th
Jun 2016
maq
@maqboolkhan
Jun 28 2016 05:59
@harishanchu why this happening? any clue?
Harish
@harishanchu
Jun 28 2016 06:18
because it resolves to wrong path.
please use path.join(__dirname,'../providers/VawyServiceProvider')
or path.resolve("app/providers/VawyServiceProvider")
@maqboolkhan
One another thing, did you miss export statement in your service provider file?
maq
@maqboolkhan
Jun 28 2016 07:23

export statment??
actually i just copy paste from https://quorrajs.org/docs/v1/more/service-providers.html

to test this out

Harish
@harishanchu
Jun 28 2016 07:27
yes, that is the syntax to write a service provider
finally you need to export it like any other nodejs modules
maq
@maqboolkhan
Jun 28 2016 07:28
ohhhh God
:(
m sorry
Harish
@harishanchu
Jun 28 2016 07:28
if it is confusing may be I will add export statement to the documentation also.
maq
@maqboolkhan
Jun 28 2016 07:28
yes it was for me
:/
Harish
@harishanchu
Jun 28 2016 07:28
No problem
maq
@maqboolkhan
Jun 28 2016 07:29
please add as a complete service provider
Harish
@harishanchu
Jun 28 2016 07:29
:+1:
maq
@maqboolkhan
Jun 28 2016 07:29
well @harishanchu m about to start a tutorial series on my blog
Harish
@harishanchu
Jun 28 2016 07:29
Wow!
Thanks for the support pal
maq
@maqboolkhan
Jun 28 2016 07:31
:)
ur welcome
Harish
@harishanchu
Jun 28 2016 07:31
:smile: