Hi, I’m trying to install @osjs/xterm-application to have a complete remote webtop access to my old Raspberry Pi B+.
First error I’ve encountered was during npm install of @osjs/xterm-application. It was depending node-pty version 0.7.8, which was depending on nan 2.10.0. But nan 2.10 was not compiling on my machine. I’ve read that it’s fixed on later versions. So I forked @osjs/xterm-application and changed dependency version of node-pty to 0.9.0, which depends on nan 2.14.0. It compiled and installed. Seemed nice.
I’ve made npm run package:discover, npm run build and npm run serve commands as documented. Jumped into web browser, clicked xterm app, but it failed to launch.
Package Loading 'Xterm' failed: /apps/Xterm/main.js, /apps/Xterm/main.css
Checked the browser console, here is the message:
Refused to apply style from 'http://localhost:8000/apps/Xterm/main.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
Checked the url, response was:
Cannot GET /apps/Xterm/main.css
checked the filesystem on the server, dist/apps/Xterm/ is empty. I’ve looked around, but couldn’t figure out how to solve the issue. Any idea is welcome.