pixijs / open-games

243 stars 40 forks source link

can't build game #6

Closed whizzkid closed 9 months ago

whizzkid commented 1 year ago

I can't seem to build the bubbo-bubbo project.

npm run start works perfectly, no errors and I can play the game.

but when I try:

npm run build I get a load of errors. I've listed the first 2 here. (it found 97 errors in 26 files.)

src/assets.ts:5:5 - error TS2305: Module '"pixi.js"' has no exported member 'ResolverAssetsArray'.

5     ResolverAssetsArray,
      ~~~~~~~~~~~~~~~~~~~

src/game/entities/Bubble.ts:73:28 - error TS2345: Argument of type 'Container<DisplayObject>' is not assignable to parameter of type 'DisplayObject'.

73         this.view.addChild(this.bubbleView.view);
                              ~~~~~~~~~~~~~~~~~~~~

That doesn't seem right to me? :)

CyberDex commented 11 months ago

Will be fixed in #7

bigtimebuddy commented 9 months ago

This has been addressed. Closing.