#Local setup
1 messages · Page 1 of 1 (latest)
Hi Florian,
Thanks for reporting this
https://docs.novu.co/community/run-locally
What do you think we should update in this guide?
Oh I didn't find it. I think this should be better located, like in the first section of the sidebar and also linked in other readmes
Yes, I agree
Thank you for your help, once more!
Another question though @mystic dawn I have issues with eol because I'm on windows I guess, and I don't manage to get rid of all the errors I get (there are thousands of lines)
src\store\use-theme-controller.ts
Line 1:45: Delete `␍` prettier/prettier
Line 2:1: Delete `␍` prettier/prettier
Line 3:39: Delete `␍` prettier/prettier
Line 4:79: Delete `␍` prettier/prettier
Line 5:1: Delete `␍` prettier/prettier
Line 6:20: Delete `␍` prettier/prettier
Line 7:35: Delete `␍` prettier/prettier
Line 8:43: Delete `␍` prettier/prettier
Line 9:47: Delete `␍` prettier/prettier
Line 10:13: Delete `␍` prettier/prettier
Line 11:44: Delete `␍` prettier/prettier
Line 12:46: Delete `␍` prettier/prettier
Line 13:6: Delete `␍` prettier/prettier
Search for the keywords to learn more about each error.
webpack compiled with 1 error
No issues found.
Are you using VS Code?
Have you installed prettier extension?
Yes
@tranquil apex, you just advanced to level 2!
Many of the files are detected as CRLF so I think that's responsible of the issue
Okay so I did add
'prettier/prettier': [
'error',
{
endOfLine: 'auto',
},
],
``` to the rules of the root `eslintrc.js` and I'm getting way less errors, good start
I think some subprojects do not extend the root eslinrc, I'm gonna check
Ok, I had to manually update eol for icons but everything's working now, thank you
Hey @mystic dawn another question. I'm running pnpm start:e2e:api (alongside docker compose up in /environment/local) and looks like its stuck
[Nest] 2204 - 25/09/2022, 16:53:40 LOG [RouterExplorer] Mapped {/v1/invites/resend, POST} route +1ms
[Nest] 2204 - 25/09/2022, 16:53:40 LOG [RouterExplorer] Mapped {/v1/invites/bulk, POST} route +1ms
[Nest] 2204 - 25/09/2022, 16:53:40 LOG [RoutesResolver] FeedsController {/v1/feeds}: +8ms
[Nest] 2204 - 25/09/2022, 16:53:40 LOG [RouterExplorer] Mapped {/v1/feeds, POST} route +2ms
[Nest] 2204 - 25/09/2022, 16:53:40 LOG [RouterExplorer] Mapped {/v1/feeds, GET} route +0ms
[Nest] 2204 - 25/09/2022, 16:53:40 LOG [RouterExplorer] Mapped {/v1/feeds/:feedId, DELETE} route +1ms
[Nest] 2204 - 25/09/2022, 16:53:40 LOG [RoutesResolver] MessagesController {/v1/messages}: +1ms
[Nest] 2204 - 25/09/2022, 16:53:40 LOG [RouterExplorer] Mapped {/v1/messages, GET} route +1ms
[Nest] 2204 - 25/09/2022, 16:53:40 LOG [RouterExplorer] Mapped {/v1/messages/:messageId, DELETE} route +1ms
[Nest] 2204 - 25/09/2022, 16:53:40 LOG [RoutesResolver] TestingController {/v1/testing}: +1ms
[Nest] 2204 - 25/09/2022, 16:53:40 LOG [RouterExplorer] Mapped {/v1/testing/clear-db, POST} route +1ms
[Nest] 2204 - 25/09/2022, 16:53:40 LOG [RouterExplorer] Mapped {/v1/testing/session, POST} route +1ms
[Nest] 2204 - 25/09/2022, 16:53:40 LOG [RouterExplorer] Mapped {/v1/testing/seed, POST} route +1ms
[Nest] 2204 - 25/09/2022, 16:53:40 LOG [NestApplication] Nest application successfully started +11ms
[Nest] 2204 - 25/09/2022, 16:53:40 LOG Started application in NODE_ENV=test on port 1336
What should I do?
you want to run tests for api?
yes, to check if the tests I wrote are actually working
is redis and mongodb running?
Now working? Are you able to test your changes?
Sorry I meant that I tried with pnpm start > api + web and cd environment/local && docker compose up and it worked, so I'm trying pnpm start:e2e:api and cd environment/local && docker compose up but it still doesn't work
I removed all the containers/volumes to be sure there won't be any issue
okay so you are running redis and mongodb in docker
yes
That's what I did
There are no errors, just stuck on started application in NODE_ENV=test on port 1336
@tranquil apex fyi, contributing documentation is currently in the works.
I saw yes, that's great 👍
Hi @tranquil apex
Is this issue resolved or you need more help?