lights icon indicating copy to clipboard operation
lights copied to clipboard

Can't find variable: PIXI

Open bdanis opened this issue 5 years ago • 3 comments

typescript project using pixi-js 5.0.3 and importing this way import * as PIXI from 'pixi.js' I was getting an error where PointLike wasn't found and in the browser I get a compilation error where lights can't find the PIXI package.

bdanis avatar Jun 06 '19 19:06 bdanis

Lights are not converted to v5 yet, but its close. pixi-layers has v5 branch :)

ivanpopelyshev avatar Jun 06 '19 20:06 ivanpopelyshev

thanks for the info!

bdanis avatar Jun 07 '19 12:06 bdanis

i tried downgrading, here is my package excerpt

```
"pixi-filters": "^3.0.3",
"pixi-layers": "^0.1.6",
"pixi-lights": "^2.0.3",
"pixi.js": "^4.8.8",

but getting a type error
`TypeError: undefined is not an object (evaluating 'new PIXI.display.Group')`

bdanis avatar Jun 07 '19 12:06 bdanis