-
Notifications
You must be signed in to change notification settings - Fork 455
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
Development Environment on Docker - "UnauthorizedError: Not Login" Error #4256
Comments
Hi, try opening http://localhost:8000/ and see what happens |
Hi, @zheng1 Just loading page and some connection error. |
Any errors reported in the Docker container? |
Full log:
|
It looks like the UnauthorizedError: Not Login error is not coming from inside the docker container. |
Yes
|
Did yo configure Docker for port forwarding? According to this error, it was not later than 2024-01-02 10:35:56 |
Which port? 8001? |
8000 and 8001 |
The problem was solved when I opened the 8001 port. Thank you @zheng1 As I mentioned at the beginning, I want to create a development environment on Docker. Do you think it will cause problems if I mount the ./src folder to the working directory? |
For node.js projects, using docker to develop will have a lot of problems, it is highly recommended that you use VM to develop, and then develop via vscode remote, it will reduce a lot of strange problems |
Thank you. |
I want to create a development environment on Windows Docker. I want it to be run as dev and add the local folder as a volume. I wrote a dockerfile. But I get "UnauthorizedError: Not Login" error.
Console Log:
Dockerfile.local
The text was updated successfully, but these errors were encountered: