-
Notifications
You must be signed in to change notification settings - Fork 235
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Error while doing the project setup #492
Comments
I think that error occurs when either you didn't install the npm packages, or you didn't run the manage.py runserver command with the npm package prefix. Please tell me exactly what commands you ran before you got this error. |
@sagesharp I followed the steps as mentioned in the README.md file. Did |
@mridubhatnagar You did almost all the right steps! For the last command, the README.md says that you need to run this command:
That first part of the command does something very important. Leaving it off caused the error you encountered. I'll explain why below. If you already know these things, no worries! I just want to make sure other people who run into this error understand what's happening. You installed some node.js packages with the command You've executed (run) commands in a window called a shell (or terminal). Those commands included things like the Running a command in your shell is actually a short cut -- the shell finds an executable file with that command name, runs it with the arguments you passed, and displays the output from the program on your shell window. So, running a command actually runs an executable file. Where are these executable files normally stored? You can find out where the executable file for a command is stored by running
So the Executable files can be in many different directories on your computer. By default, the shell looks in a specific set of directories for executable files. The shell doesn't know that it needs to search the local directory So we need to tell the shell about this new "directory path" to the node.js executable files. That's what the first part of this command does:
It's basically giving the shell a hint, saying, "look here for the executable files for any command you want to run." This blog post has a good write up for what a shell "path" is. I hope this helps! Let me know if you run into any more issues. |
Ah, I thought of one more thing that might be an issue. You will also need to make sure you run the command while in your git repository. That may mean you need to change directories, as sometimes invoking a virtual environment can cause you to change directories. But if the migrate command succeeded, you're probably in the correct directory. If you still have trouble after trying the command in my first comment, please copy and paste your full output from your shell window, including the commands and where you are running them. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
I am trying to set up the project on my local system based on the steps mentioned in the repository's README.md file but I am facing the following issue when I am trying to access the web applications URL. I am able to access the admin panel though.
Can you guide me on how to do the project setup?
The text was updated successfully, but these errors were encountered: