Closed PandaZhym closed 2 years ago
Switch to app/terminal directory, and try command npm rebuild
i have tried this command, and the terminal gives me this: rebuilt dependencies successfully however, in the eaf, i also get the same thing that i have present in this issue before. all in all, thank your comment.
I had the same issue, as it seems, which I infered that it is because the node_modules not being installed in app/terminal
from the 404 messages. Therefore, I ran npm install
in app/terminal, now it works.
I have fix dependencies, upgrade to newest version.
there is the context on eaf,and my emacs config from https://github.com/redguardtoo/emacs.d, and, i use clash to link google (i am from China). Also, browser can't open the link ,but www.baidu.com is ok, and my emacs display it very well. at last, think you for your demo: 127.0.0.1 - - [20/Mar/2022 17:12:26] "GET /index.html HTTP/1.1" 200 - 127.0.0.1 - - [20/Mar/2022 17:12:26] code 404, message File not found 127.0.0.1 - - [20/Mar/2022 17:12:26] "GET /node_modules/xterm/lib/xterm.js HTTP/1.1" 404 - 127.0.0.1 - - [20/Mar/2022 17:12:26] code 404, message File not found 127.0.0.1 - - [20/Mar/2022 17:12:26] "GET /node_modules/xterm-addon-attach/lib/xterm-addon-attach.js HTTP/1.1" 404 - 127.0.0.1 - - [20/Mar/2022 17:12:26] code 404, message File not found 127.0.0.1 - - [20/Mar/2022 17:12:26] "GET /node_modules/xterm-addon-fit/lib/xterm-addon-fit.js HTTP/1.1" 404 - 127.0.0.1 - - [20/Mar/2022 17:12:26] code 404, message File not found 127.0.0.1 - - [20/Mar/2022 17:12:26] "GET /node_modules/xterm-addon-search/lib/xterm-addon-search.js HTTP/1.1" 404 - 127.0.0.1 - - [20/Mar/2022 17:12:26] code 404, message File not found 127.0.0.1 - - [20/Mar/2022 17:12:26] "GET /node_modules/xterm-addon-web-links/lib/xterm-addon-web-links.js HTTP/1.1" 404 - 127.0.0.1 - - [20/Mar/2022 17:12:26] "GET /light_theme.js HTTP/1.1" 200 - 127.0.0.1 - - [20/Mar/2022 17:12:26] code 404, message File not found 127.0.0.1 - - [20/Mar/2022 17:12:26] "GET /node_modules/xterm/css/xterm.css HTTP/1.1" 404 - Uncaught ReferenceError: Terminal is not defined WebSocket connection to 'ws://127.0.0.1:32929/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED