fritzy / ecs-js-example

A classic roguelike example for the usage of fritzy/ecs-js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

directions don't work

esromneb opened this issue · comments

I tried the the directions on node 11,12,13. I get the same error:

🚨  /mnt/ecs-js-example/src/game.js:1:20: Failed to install @fritzy/ecs.
> 1 | const ECS = require('@fritzy/ecs');
    |                    ^
  2 | const ROT = require('rot-js');
  3 | import StayDown from 'staydown'
  4 | import * as ComponentExports from './components';

Okay, I pushed an update to fix the package.json. Pull down the change, delete your node_modules folder within the project, and npm install again.

Thanks!