Jump to content

Error says to use pixi.js-legacy even though it's already being used


Johnny Kontrolleti
 Share

Recommended Posts

I import pixi.js like this: 

import * as PIXI from 'pixi.js-legacy'

But somehow when I visit the web-app using a browser having webGl disabled I get an error which tells me to use "pixi.js-legacy".

How so? My package.json still contains the normal pixi.js and hence it's still installed, but not imported - could this cause the problem, i don't think right?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...