Comments (10)
workaround: add --remote
option when starting slidev
from slidev-vscode.
@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.
I second this, I can't make it work no matter when I start the server. Works fine in my browser.
from slidev-vscode.
I'm also affected by this issue
from slidev-vscode.
same issue on archlinux
from slidev-vscode.
Same issue in mac arm64 and windows10
from slidev-vscode.
Same issue
from slidev-vscode.
Same issue
from slidev-vscode.
Has anyone found a solution?
from slidev-vscode.
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)
- Extension inactive if the Slidev project is in a sub-folder HOT 3
- How to start the extension? HOT 1
- May i Change localhost to a remote server? HOT 2
- Why the icon didn't show up in my VScode primary sidebar? HOT 9
- Command not found HOT 4
- Preview does not work HOT 7
- Slidev server not found HOT 6
- SLIDEV extension icon not appearing in activity bar HOT 5
- Feature: Auto-Focus `<v-click>` Elements HOT 1
- Page breaks (---) barely visible in VSCode, e.g. with Dracula, but also any other theme HOT 2
- command 'slidev.preview-refresh' not found HOT 3
- Question: No Slidev icon in activity bar HOT 6
- Update documentation for use of this extension HOT 8
- Cannot find the button on the sidebar HOT 7
- bug: Focus side panel resulted in an error HOT 4
- [Feature Request]: can add slidev language server? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slidev-vscode.