-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Open
Description
Hello,
I tried to install Scratch on a Debian 12 system.
Expected Behavior
http://localhost:8601 shows a Scratch page.
http://192.168.10.15:8601 shows a Scratch page.
Actual Behavior
But http://debian:8601 returns the message Invalid Host header.
Steps to Reproduce
I proceeded as follows:
# as root
# install node.js
apt-get update && apt-get -y dist-upgrade
apt-get install -y curl git
curl -fsSL https://deb.nodesource.com/setup_23.x -o nodesource_setup.sh
bash nodesource_setup.sh
apt-get install -y nodejs
# setup the location of the Scratch code
mkdir -p /usr/app
cd /usr/app
npm install -g npm@11.4.2
# get the base Scratch code
git clone --depth=1 https://github.com/LLK/scratch-vm.git
git clone --depth=1 https://github.com/LLK/scratch-gui.git
# build Scratch vm
cd /usr/app/scratch-vm
npm install
npm ln
# build Scratch gui
cd /usr/app/scratch-gui
npm install
npm ln scratch-vm
npm start
System Details
I have Debian 12 installed in a virtual machine.
If this is the wrong place for such a question, I apologize.
Thanks in advance,
Mathias
Metadata
Metadata
Assignees
Labels
No labels