How to start the server?
See original GitHub issueI’m pretty sure there must be a server involved somewhere, since it’s a terminal, but the Getting started section at https://xtermjs.org/ doesn’t mention one.
For someone who’s never used node
or npm
before, it’s not obvious.
I tried downloading the src, naviagating to the demo directory, and trying node start.js
, node server.js
… and also, npm start
, but all crashed.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Starting and Stopping the Application Server
Using Windows Program Group Items. On Windows, the easiest means of starting the entire application server is to use the Start button on...
Read more >Starting the server as a Windows service - IBM
Procedure · Log on to the server with a user ID that is in the Administrators group. · From the Windows Start menu,...
Read more >How do you set up a local testing server? - MDN Web Docs
Running a simple local HTTP server · Install Python. · Open your command prompt (Windows) / terminal (macOS/ Linux). · This should return...
Read more >Unable to Start the Server Service - Microsoft Support
Could not start the Server service on \\<Computer Name>. Error 1058: The specified service is disabled and cannot be started. When you attempt...
Read more >How to set up a server for a small or mid-sized business
Prepare. Before you begin, document your network. · Install your server. If your server came with an operating system preinstalled, you can connect...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Tyriar Linking to the electron demo in node-pty sounds good.
@hyperpallium
npm install xterm
installs the drilled down package from the npm repo, imho this does not contain the dev parts like the demo in source code repo. To get the demo part as well, run:and point your browser to
localhost:3000
.We have a warning on the demo HTML page, I think this is enough:
https://github.com/xtermjs/xterm.js/blob/a7b051c52f1cb6bc4c02a1786a9d949bd8d46ad7/demo/index.html#L37
node-pty has a barebones Electron demo https://github.com/Microsoft/node-pty/tree/master/examples/electron, maybe we should link to that at the bottom of the demo too?