svendroid / homegame

Proof of concept for controlling your HomeAssistant Lights from inside a 2D Browser Game.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

package.json and npm install step

araczkowski opened this issue · comments

hi @svendroid :) very nice concept I'm trying to do something similar but from other side. I want to show that something is done at house on the game board. So the api on the game component will be called by HA to show the status.

Enyway I wont to run you project and I have some errors in browser:
GET http://localhost:8000/node_modules/phaser/dist/phaser.js net::ERR_ABORTED 404 (File not found)

I supouse that package.json and npm install step are missing?

Anyway great work, thanks for sharing!

in my case

npm init
npm install --save phaser

solved this

commented

Hi @araczkowski ,
thanks for the info. Somehow I missed to upload the package.json file. Will update it after work.