max-mapper / adventure-time

a web based environment for doing nodeschool adventures
97 stars 16 forks source link

Trying to set up locally #10

Open chopfitzroy opened 8 years ago

chopfitzroy commented 8 years ago

I have tried to set up using the following instructions:

I have also installed the https://github.com/mafintosh/docker-adventure-time docker image.

In order to run I am using the following commands:

I have the following adventure-time config:

adventureTime({
  guide: "http://maxogden.github.io/get-dat/guide",
  server: "localhost:8080",
  id: Math.random().toString(36).slice(2)
})

If I navigate to http://localhost:8080 docker-browser-server works fine. If I navigate to http://localhost:9966 adventure-time serves up but I get no output in the console window.

I am receiving the following error when adventure-time is starting the server:

Error: ENOENT: no such file or directory, open '/vagrant/hatchway/node_modules/edit/node_modules/codemirror/lib/codemirror.css' while parsing file: /vagrant/hatchway/node_modules/edit/index.js

Which is odd because I have double checked and the file is there...? But I can not see how this would effect the console anyway as codemirror is only used for the editor.

@maxogden & @mafintosh I know you guys haven't worked on either of these projects in awhile but I thought I would tag you in just in case you have some insight sorry if this bothers you! :L

BTW the tech you guys have put together is pretty amazing, couldn't believe it when I actually ran a terminal emulator in my browser :)

chopfitzroy commented 8 years ago

Side note when I do navigate to http://localhost:9966 the docker-server-browser shows the following output:

Spawning new container (efvrmy6tyo1f2vvcinscdcayvi)
Killing container (efvrmy6tyo1f2vvcinscdcayvi)

Looks like it is spawning a container and then killing it straight away.

Cheers.