Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project Setup: Clearing Most Common asked doubts ( For Window Users ) #4630

Open
sudhanshugautam2911 opened this issue Oct 23, 2023 · 0 comments
Labels

Comments

@sudhanshugautam2911
Copy link
Contributor

sudhanshugautam2911 commented Oct 23, 2023

How to Setup Novu for the First Time?

Refer to this Run Novu in Local Machine.


1. Unable to Login ( Network Error ) ?

Mostly it happens if you did not set up the MongoDB and Redis.

Solution 1:

Just run npm run start and Jarvis CLI will guide you through the process.

Solution 2:

Setup Docker Manually.

  1. Download and Install Docker and keep the Docker application running in the background.
  2. Open 4 terminals.
  3. First terminal, run these command cd docker/local/development and docker-compose up
  4. Now run these 3 commands individually in remaining terminals, npm run start:web , npm run start:api and npm run start:worker

2. Local Host Server Not Starting ?

If you are getting this type of error:

image

Solution:

You have to run this command $Env:NODE_OPTIONS='--max-old-space-size=8192'.

It may be possible you get this error multiple times so whenever it happens just use the above command.


3. pnpm Version is Incompatible with local version ?

When there is a discrepancy between your local package version and the project's designated version, it necessitates the installation of the precise package version aligned with the project's specifications.

Screenshot of the issue:

image

Solution:

Refer to this link to install pnpm -> Installing pnpm.

I personally install pnpm using npm with the help of this command npm run pnpm@[version_number].

In case you installed the wrong version of pnpm, then you may need to uninstall and install again.
Reference for uninstallation process -> Uninstalling pnpm

@jainpawan21 jainpawan21 self-assigned this Oct 24, 2023
@jainpawan21 jainpawan21 removed their assignment Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants