Skip to content

Conversation

@SirBlobby
Copy link

I added a terminal that allows users to see the colors that their normal Minecraft console would show. However, when adding the terminal, I wasn't able to find out how to make it update on reload, so it only show the console lines that were requested from the API at page load.

@Fiahblade
Copy link
Member

Unable to run it locally,
Error when evaluating SSR module /src/lib/code/XTerminal.ts: failed to import "xterm" |- ReferenceError: self is not defined at Object.<anonymous> (......\MC Server Soft RemotePanel\node_modules\xterm\lib\xterm.js:1:224) at Module._compile (node:internal/modules/cjs/loader:1105:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10) at Module.load (node:internal/modules/cjs/loader:981:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:170:29) at ModuleJob.run (node:internal/modules/esm/module_job:198:25) at async Promise.all (index 0) at async ESMLoader.import (node:internal/modules/esm/loader:385:24) at async nodeImport (..../MC%20Server%20Soft%20RemotePanel/node_modules/vite/dist/node/chunks/dep-df561101.js:56019:17)

What version of node do you have?

@SirBlobby
Copy link
Author

I am on v16 or v18.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants