Module not found after upgrading to Pixi v6.4.0
See original GitHub issueCurrent Behavior
After upgrading from PixiJS v6.3.2 to v6.4.0, when building/serving an Angular project, I got the following error:
Error: Module not found: Error: Default condition should be last one
The problem seems to occur with WebPack and/or TypeScript, not only with Angular
Expected Behavior
There should be no error
Possible Solution
Downgrading PixiJS to v6.3.2 fixes the problem
Environment
PixiJS
version: 6.4.0Angular
version: 13.3.11TypeScript
version: 4.6.4
TSConfig
module
is set to es2020
and setting it to esnext
doesn’t solve the problem
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:5 (5 by maintainers)
Top Results From Across the Web
PIXIJS eventSystem is not found in V6.0.2 - Stack Overflow
js I found a workaround by installing @pixi/events separately and import the Event System from there. // In this a example, you can...
Read more >How to generate Typescript definitions for ES5 version of the ...
Navigate pixi-spine npm package, take dist/pixi-spine.umd.js file. Unfortunately, there are no typescript definitions for vanilla build on both ...
Read more >@pixi-spine/loader-4.0 - npm
@pixi-spine/loader-4.0. TypeScript icon, indicating that this package has built-in type declarations ... This package does not have a README. Add ...
Read more >Pixi's docs - PixiJS API Documentation
Error installing canvas package. The canvas library currently being used does not have a pre-built version for every environment. When the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, everything works fine now 👍
Making the release now