heyputer / terminal Goto Github PK
View Code? Open in Web Editor NEW⌨️ Web-based terminal in pure JavaScript
Home Page: https://puter.com/app/terminal
License: GNU Affero General Public License v3.0
⌨️ Web-based terminal in pure JavaScript
Home Page: https://puter.com/app/terminal
License: GNU Affero General Public License v3.0
I am on Windows 11 and use Microsoft Edge.
I cannot copy text in the Puter app and paste it into the Windows 11 app.
I am not good at English, so I tried to translate by copying the text in the Puter window and pasting it into the DeepL window, which works in Windows 11.
But I couldn't copy and paste.
And vice versa, I could not paste the text from the Windows 11 application into the Puter window.
Please let me know how to solve the problem.
I'm running on Linux, and this happens a bit inconsistently for me.
Steps:
dev-runner ./run-phoenix-http.json5
stop
to shut it downnode
processes related to it have exiteddev-runner ./run-phoenix-http.json5
again❯ dev-runner ./run-phoenix-http.json5
src/main.js → dist/bundle.js...
created dist/bundle.js in 602ms
src/main_puter.js → dist/bundle.js...
created dist/bundle.js in 516ms
[term.http:err] node:events:497
[term.http:err] throw er; // Unhandled 'error' event
[term.http:err] ^
[term.http:err]
[term.http:err] Error: listen EADDRINUSE: address already in use 0.0.0.0:8082
[term.http:err] at Server.setupListenHandle [as _listen2] (node:net:1893:16)
[term.http:err] at listenInCluster (node:net:1941:12)
[term.http:err] at doListen (node:net:2096:7)
[term.http:err] at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
[term.http:err] Emitted 'error' event on Server instance at:
[term.http:err] at emitErrorNT (node:net:1920:8)
[term.http:err] at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
[term.http:err] code: 'EADDRINUSE',
[term.http:err] errno: -98,
[term.http:err] syscall: 'listen',
[term.http:err] address: '0.0.0.0',
[term.http:err] port: 8082
[term.http:err] }
[term.http:err]
[term.http:err] Node.js v21.6.2
[term.http] STOPPED
[shell.rollup:err] rollup v3.21.4
[shell.rollup:err] bundles src/main_puter.js → dist/bundle.js...
[term.rollup:err] rollup v3.23.0
[term.rollup:err] bundles src/main.js → dist/bundle.js...
[shell.http:err] node:events:497
[shell.http:err] throw er; // Unhandled 'error' event
[shell.http:err] ^
[shell.http:err]
[shell.http:err] Error: listen EADDRINUSE: address already in use 0.0.0.0:8080
[shell.http:err] at Server.setupListenHandle [as _listen2] (node:net:1893:16)
[shell.http:err] at listenInCluster (node:net:1941:12)
[shell.http:err] at doListen (node:net:2096:7)
[shell.http:err] at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
[shell.http:err] Emitted 'error' event on Server instance at:
[shell.http:err] at emitErrorNT (node:net:1920:8)
[shell.http:err] at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
[shell.http:err] code: 'EADDRINUSE',
[shell.http:err] errno: -98,
[shell.http:err] syscall: 'listen',
[shell.http:err] address: '0.0.0.0',
[shell.http:err] port: 8080
[shell.http:err] }
[shell.http:err]
[shell.http:err] Node.js v21.6.2
[shell.http] STOPPED
After doing the same again, I only had the :8080
server fail to start. Then a third time, they both succeeded. But it definitely varies.
As reported by this user.
Chromium Version 123.0.6298.0 (Developer Build) (64-bit) from tip-of-tree developer builds today. On Linux.
Screenshot at https://gist.github.com/guest271314/94453a1f538df44be1623f75b0ed4b71
It would help if you didn't try to prevent inspecting the page.
There are several warnings and a couple errors thrown
v2/:4 WebSocket connection to 'wss://api.puter.com/socket.io/?auth_token=undefined&EIO=4&transport=websocket&sid=9uLAXMZ0SsMnkBVsAHNF' failed: WebSocket is closed before the connection is established.
bundle.js:10622 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'setAuthToken') at window.main_shell (bundle.js:10622:28)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.