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

CANNOT READ PROPERTIES OF UNDEFINED (READING 'LINEAR') #12

Open
hosseinnedaee opened this issue Oct 23, 2022 · 1 comment
Open

CANNOT READ PROPERTIES OF UNDEFINED (READING 'LINEAR') #12

hosseinnedaee opened this issue Oct 23, 2022 · 1 comment

Comments

@hosseinnedaee
Copy link

I'm trying to use @pixijs/gif in my app but there is an issue.
when I import it:

import @pixi/gif

get this error message:

CANNOT READ PROPERTIES OF UNDEFINED (READING 'LINEAR')
TYPEERROR: CANNOT READ PROPERTIES OF UNDEFINED (READING 'LINEAR') AT EVAL (WEBPACK-INTERNAL:///./NODE_MODULES/@PIXI/GIF/DIST/PIXI-GIF.ESM.MJS:15:12094) AT ./NODE_MODULES/@PIXI/GIF/DIST/PIXI-GIF.ESM.MJS (HTTP://LOCALHOST:3000/_NEXT/STATIC/CHUNKS/SRC_COMPONENTS_CANVAS_BILLBOARDCANVAS_INDEX_TSX.JS:4362:1) AT OPTIONS.FACTORY (HTTP://LOCALHOST:3000/_NEXT/STATIC/CHUNKS/WEBPACK.JS?TS=1666530387962:688:31) AT __WEBPACK_REQUIRE__ (HTTP://LOCALHOST:3000/_NEXT/STATIC/CHUNKS/WEBPACK.JS?TS=1666530387962:37:33) AT FN (HTTP://LOCALHOST:3000/_NEXT/STATIC/CHUNKS/WEBPACK.JS?TS=1666530387962:343:21) AT EVAL (WEBPACK-INTERNAL:///./SRC/COMPONENTS/CANVAS/BILLBOARDCANVAS/INDEX.TSX:9:67) AT ./SRC/COMPONENTS/CANVAS/BILLBOARDCANVAS/INDEX.TSX (HTTP://LOCALHOST:3000/_NEXT/STATIC/CHUNKS/SRC_COMPONENTS_CANVAS_BILLBOARDCANVAS_INDEX_TSX.JS:73:1) AT OPTIONS.FACTORY (HTTP://LOCALHOST:3000/_NEXT/STATIC/CHUNKS/WEBPACK.JS?TS=1666530387962:688:31) AT __WEBPACK_REQUIRE__ (HTTP://LOCALHOST:3000/_NEXT/STATIC/CHUNKS/WEBPACK.JS?TS=1666530387962:37:33) AT FUNCTION.FN (HTTP://LOCALHOST:3000/_NEXT/STATIC/CHUNKS/WEBPACK.JS?TS=1666530387962:343:21)
@bigtimebuddy
Copy link
Member

bigtimebuddy commented Jan 6, 2023

Gonna need more information than that. Do you have a reproduction? What version of webpack are you using? You should be on v5.

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