Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't find variable: PIXI #40

Open
bdanis opened this issue Jun 6, 2019 · 3 comments
Open

Can't find variable: PIXI #40

bdanis opened this issue Jun 6, 2019 · 3 comments

Comments

@bdanis
Copy link

bdanis commented Jun 6, 2019

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.

@ivanpopelyshev
Copy link
Contributor

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

@bdanis
Copy link
Author

bdanis commented Jun 7, 2019

thanks for the info!

@bdanis
Copy link
Author

bdanis commented Jun 7, 2019

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')`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants