Giter Club home page Giter Club logo

Comments (10)

AsakuraMizu avatar AsakuraMizu commented on July 21, 2024 7

workaround: add --remote option when starting slidev

from slidev-vscode.

SulfurZinc avatar SulfurZinc commented on July 21, 2024

@leo91000 ,hi leo, I am totally new to this. Could I ask, how to start the slidev server after it's shut down. I tried to run"npm init slidev" but it will create a new project, which is not what I want.

from slidev-vscode.

hejfelix avatar hejfelix commented on July 21, 2024

I second this, I can't make it work no matter when I start the server. Works fine in my browser.

from slidev-vscode.

Shinigami92 avatar Shinigami92 commented on July 21, 2024

I'm also affected by this issue

from slidev-vscode.

PeterWang-dev avatar PeterWang-dev commented on July 21, 2024

same issue on archlinux

from slidev-vscode.

Mickychen00 avatar Mickychen00 commented on July 21, 2024

Same issue in mac arm64 and windows10

from slidev-vscode.

wakuflair avatar wakuflair commented on July 21, 2024

Same issue

from slidev-vscode.

Delta-in-hub avatar Delta-in-hub commented on July 21, 2024

Same issue

from slidev-vscode.

NonurSis avatar NonurSis commented on July 21, 2024

Has anyone found a solution?

from slidev-vscode.

AsakuraMizu avatar AsakuraMizu commented on July 21, 2024

After some investigation, I figured out it's caused by the same problem as vitest-dev/vscode#55. Newer versions of node resolve localhost to ::1 while older ones (under 17) resolve localhost to 127.0.0.1. Unfortunately, VS Code uses node16.
As #issuecomment-1272985138 commented out, the issue could be solved by adding dns.setDefaultResultOrder("verbatim"), but it's not a good practice.

from slidev-vscode.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.