pixijs / pixi-react

Write PIXI apps using React declarative style
https://pixijs.io/pixi-react/
MIT License
2.42k stars 180 forks source link

Bug: No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import X #396

Closed SampsaKaskela closed 1 year ago

SampsaKaskela commented 1 year ago

Current Behavior

App crashes with a lot of import errors to @pixi/core

Expected Behavior

App should launch normally

Steps to Reproduce

  1. Create project using npm create vite@latest
  2. Run npm install pixi.js @pixi/react
  3. Add some imports from @pixi/react to code
  4. Run npm run dev

Environment

Possible Solution

No response

Additional Information

No response

baseten commented 1 year ago

Are you able to post the exact errors you're seeing?

We've not tried to use the package with vite so far, only webpack, so I'm not totally sure about compatibility.

SampsaKaskela commented 1 year ago

Here is the full error. It is quite long. Same errors happen with CRA too so this is not Vite specific.

Error X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Point" node_modules/@pixi/sprite/lib/Sprite.mjs:1:9: 1 │ import { Point, ObservablePoint, BLEND_MODES, Texture, settings, utils, Rectangle } from '@pixi/core'; ╵ ~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "ObservablePoint" node_modules/@pixi/sprite/lib/Sprite.mjs:1:16: 1 │ import { Point, ObservablePoint, BLEND_MODES, Texture, settings, utils, Rectangle } from '@pixi/core'; ╵ ~~~~~~~~~~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "BLEND_MODES" node_modules/@pixi/sprite/lib/Sprite.mjs:1:33: 1 │ import { Point, ObservablePoint, BLEND_MODES, Texture, settings, utils, Rectangle } from '@pixi/core'; ╵ ~~~~~~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "settings" node_modules/@pixi/sprite/lib/Sprite.mjs:1:55: 1 │ import { Point, ObservablePoint, BLEND_MODES, Texture, settings, utils, Rectangle } from '@pixi/core'; ╵ ~~~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils" node_modules/@pixi/sprite/lib/Sprite.mjs:1:65: 1 │ import { Point, ObservablePoint, BLEND_MODES, Texture, settings, utils, Rectangle } from '@pixi/core'; ╵ ~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Rectangle" node_modules/@pixi/sprite/lib/Sprite.mjs:1:72: 1 │ import { Point, ObservablePoint, BLEND_MODES, Texture, settings, utils, Rectangle } from '@pixi/core'; ╵ ~~~~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "settings" node_modules/@pixi/text/lib/TextMetrics.mjs:1:9: 1 │ import { settings } from '@pixi/core'; ╵ ~~~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils" node_modules/@pixi/text/lib/TextStyle.mjs:2:9: 2 │ import { utils } from '@pixi/core'; ╵ ~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "settings" node_modules/@pixi/text/lib/Text.mjs:1:9: 1 │ import { settings, Texture, Rectangle, utils } from '@pixi/core'; ╵ ~~~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Rectangle" node_modules/@pixi/text/lib/Text.mjs:1:28: 1 │ import { settings, Texture, Rectangle, utils } from '@pixi/core'; ╵ ~~~~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils" node_modules/@pixi/text/lib/Text.mjs:1:39: 1 │ import { settings, Texture, Rectangle, utils } from '@pixi/core'; ╵ ~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "settings" node_modules/@pixi/text-bitmap/lib/formats/XMLStringFormat.mjs:1:9: 1 │ import { settings } from '@pixi/core'; ╵ ~~~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils" node_modules/@pixi/text-bitmap/lib/utils/drawGlyph.mjs:1:9: 1 │ import { utils } from '@pixi/core'; ╵ ~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils" node_modules/@pixi/text-bitmap/lib/BitmapFont.mjs:1:9: 1 │ import { utils, ALPHA_MODES, MIPMAP_MODES, Rectangle, Texture, settings, BaseTexture } from '@pixi/core'; ╵ ~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "ALPHA_MODES" node_modules/@pixi/text-bitmap/lib/BitmapFont.mjs:1:16: 1 │ import { utils, ALPHA_MODES, MIPMAP_MODES, Rectangle, Texture, settings, BaseTexture } from '@pixi/core'; ╵ ~~~~~~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "MIPMAP_MODES" node_modules/@pixi/text-bitmap/lib/BitmapFont.mjs:1:29: 1 │ import { utils, ALPHA_MODES, MIPMAP_MODES, Rectangle, Texture, settings, BaseTexture } from '@pixi/core'; ╵ ~~~~~~~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Rectangle" node_modules/@pixi/text-bitmap/lib/BitmapFont.mjs:1:43: 1 │ import { utils, ALPHA_MODES, MIPMAP_MODES, Rectangle, Texture, settings, BaseTexture } from '@pixi/core'; ╵ ~~~~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "settings" node_modules/@pixi/text-bitmap/lib/BitmapFont.mjs:1:63: 1 │ import { utils, ALPHA_MODES, MIPMAP_MODES, Rectangle, Texture, settings, BaseTexture } from '@pixi/core'; ╵ ~~~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Point" node_modules/@pixi/mesh/lib/Mesh.mjs:1:9: 1 │ import { Point, Polygon, State, settings, DRAW_MODES } from '@pixi/core'; ╵ ~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Polygon" node_modules/@pixi/mesh/lib/Mesh.mjs:1:16: 1 │ import { Point, Polygon, State, settings, DRAW_MODES } from '@pixi/core'; ╵ ~~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "settings" node_modules/@pixi/mesh/lib/Mesh.mjs:1:32: 1 │ import { Point, Polygon, State, settings, DRAW_MODES } from '@pixi/core'; ╵ ~~~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "DRAW_MODES" node_modules/@pixi/mesh/lib/Mesh.mjs:1:42: 1 │ import { Point, Polygon, State, settings, DRAW_MODES } from '@pixi/core'; ╵ ~~~~~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "TYPES" node_modules/@pixi/mesh/lib/MeshGeometry.mjs:1:27: 1 │ import { Geometry, Buffer, TYPES } from '@pixi/core'; ╵ ~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Matrix" node_modules/@pixi/mesh/lib/MeshMaterial.mjs:1:17: 1 │ import { Shader, Matrix, Program, TextureMatrix, utils } from '@pixi/core'; ╵ ~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils" node_modules/@pixi/mesh/lib/MeshMaterial.mjs:1:49: 1 │ import { Shader, Matrix, Program, TextureMatrix, utils } from '@pixi/core'; ╵ ~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "ObservablePoint" node_modules/@pixi/text-bitmap/lib/BitmapText.mjs:1:9: 1 │ import { ObservablePoint, settings, Point, Texture, utils, BLEND_MODES, Program } from '@pixi/core'; ╵ ~~~~~~~~~~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "settings" node_modules/@pixi/text-bitmap/lib/BitmapText.mjs:1:26: 1 │ import { ObservablePoint, settings, Point, Texture, utils, BLEND_MODES, Program } from '@pixi/core'; ╵ ~~~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Point" node_modules/@pixi/text-bitmap/lib/BitmapText.mjs:1:36: 1 │ import { ObservablePoint, settings, Point, Texture, utils, BLEND_MODES, Program } from '@pixi/core'; ╵ ~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils" node_modules/@pixi/text-bitmap/lib/BitmapText.mjs:1:52: 1 │ import { ObservablePoint, settings, Point, Texture, utils, BLEND_MODES, Program } from '@pixi/core'; ╵ ~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "BLEND_MODES" node_modules/@pixi/text-bitmap/lib/BitmapText.mjs:1:59: 1 │ import { ObservablePoint, settings, Point, Texture, utils, BLEND_MODES, Program } from '@pixi/core'; ╵ ~~~~~~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils" node_modules/@pixi/assets/lib/utils/checkExtension.mjs:1:9: 1 │ import { utils } from '@pixi/core'; ╵ ~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils" node_modules/@pixi/assets/lib/loader/Loader.mjs:1:9: 1 │ import { utils } from '@pixi/core'; ╵ ~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils" node_modules/@pixi/assets/lib/loader/parsers/loadJson.mjs:1:24: 1 │ import { ExtensionType, utils, settings, extensions } from '@pixi/core'; ╵ ~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "settings" node_modules/@pixi/assets/lib/loader/parsers/loadJson.mjs:1:31: 1 │ import { ExtensionType, utils, settings, extensions } from '@pixi/core'; ╵ ~~~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils" node_modules/@pixi/assets/lib/loader/parsers/loadTxt.mjs:1:24: 1 │ import { ExtensionType, utils, settings, extensions } from '@pixi/core'; ╵ ~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "settings" node_modules/@pixi/assets/lib/loader/parsers/loadTxt.mjs:1:31: 1 │ import { ExtensionType, utils, settings, extensions } from '@pixi/core'; ╵ ~~~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils" node_modules/@pixi/assets/lib/loader/parsers/loadWebFont.mjs:1:9: 1 │ import { utils, ExtensionType, settings, extensions } from '@pixi/core'; ╵ ~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "settings" node_modules/@pixi/assets/lib/loader/parsers/loadWebFont.mjs:1:31: 1 │ import { utils, ExtensionType, settings, extensions } from '@pixi/core'; ╵ ~~~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "settings" node_modules/@pixi/assets/lib/loader/parsers/textures/loadTextures.mjs:1:9: 1 │ import { settings, ExtensionType, BaseTexture, utils, extensions } from '@pixi/core'; ╵ ~~~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils" node_modules/@pixi/assets/lib/loader/parsers/textures/loadTextures.mjs:1:47: 1 │ import { settings, ExtensionType, BaseTexture, utils, extensions } from '@pixi/core'; ╵ ~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils" node_modules/@pixi/assets/lib/loader/parsers/textures/loadSVG.mjs:1:24: 1 │ import { ExtensionType, utils, SVGResource, BaseTexture, settings, extensions } from '@pixi/core'; ╵ ~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "settings" node_modules/@pixi/assets/lib/loader/parsers/textures/loadSVG.mjs:1:57: 1 │ import { ExtensionType, utils, SVGResource, BaseTexture, settings, extensions } from '@pixi/core'; ╵ ~~~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils" node_modules/@pixi/assets/lib/resolver/Resolver.mjs:1:9: 1 │ import { utils } from '@pixi/core'; ╵ ~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "settings" node_modules/@pixi/assets/lib/detections/parsers/detectAvif.mjs:1:24: 1 │ import { ExtensionType, settings, extensions } from '@pixi/core'; ╵ ~~~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "settings" node_modules/@pixi/assets/lib/detections/parsers/detectWebp.mjs:1:24: 1 │ import { ExtensionType, settings, extensions } from '@pixi/core'; ╵ ~~~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "settings" node_modules/@pixi/assets/lib/resolver/parsers/resolveTextureUrl.mjs:1:24: 1 │ import { ExtensionType, settings, extensions } from '@pixi/core'; ╵ ~~~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils" node_modules/@pixi/text-bitmap/lib/loadBitmapFont.mjs:2:24: 2 │ import { ExtensionType, utils, settings, extensions } from '@pixi/core'; ╵ ~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "settings" node_modules/@pixi/text-bitmap/lib/loadBitmapFont.mjs:2:31: 2 │ import { ExtensionType, utils, settings, extensions } from '@pixi/core'; ╵ ~~~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "SHAPES" node_modules/@pixi/graphics/lib/utils/buildCircle.mjs:1:9: 1 │ import { SHAPES } from '@pixi/core'; ╵ ~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils" node_modules/@pixi/graphics/lib/utils/buildPoly.mjs:1:9: 1 │ import { utils } from '@pixi/core'; ╵ ~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "PI_2" node_modules/@pixi/graphics/lib/utils/ArcUtils.mjs:1:9: 1 │ import { PI_2 } from '@pixi/core'; ╵ ~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Point" node_modules/@pixi/graphics/lib/utils/buildLine.mjs:1:9: 1 │ import { Point, SHAPES } from '@pixi/core'; ╵ ~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "SHAPES" node_modules/@pixi/graphics/lib/utils/buildLine.mjs:1:16: 1 │ import { Point, SHAPES } from '@pixi/core'; ╵ ~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "SHAPES" node_modules/@pixi/graphics/lib/utils/index.mjs:1:9: 1 │ import { SHAPES } from '@pixi/core'; ╵ ~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Point" node_modules/@pixi/graphics/lib/GraphicsGeometry.mjs:1:9: 1 │ import { Point, BatchGeometry, WRAP_MODES, BaseTexture, BatchDrawCall, BatchTextureArray, DRAW_MODES, util... ╵ ~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "WRAP_MODES" node_modules/@pixi/graphics/lib/GraphicsGeometry.mjs:1:31: 1 │ import { Point, BatchGeometry, WRAP_MODES, BaseTexture, BatchDrawCall, BatchTextureArray, DRAW_MODES, util... ╵ ~~~~~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "DRAW_MODES" node_modules/@pixi/graphics/lib/GraphicsGeometry.mjs:1:90: 1 │ ...eometry, WRAP_MODES, BaseTexture, BatchDrawCall, BatchTextureArray, DRAW_MODES, utils } from '@pixi/core'; ╵ ~~~~~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils" node_modules/@pixi/graphics/lib/GraphicsGeometry.mjs:1:102: 1 │ ...eometry, WRAP_MODES, BaseTexture, BatchDrawCall, BatchTextureArray, DRAW_MODES, utils } from '@pixi/core'; ╵ ~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "BLEND_MODES" node_modules/@pixi/graphics/lib/Graphics.mjs:1:16: 1 │ import { State, BLEND_MODES, Texture, Polygon, PI_2, Rectangle, RoundedRectangle, Circle, Ellipse, SHAPES,... ╵ ~~~~~~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Polygon" node_modules/@pixi/graphics/lib/Graphics.mjs:1:38: 1 │ import { State, BLEND_MODES, Texture, Polygon, PI_2, Rectangle, RoundedRectangle, Circle, Ellipse, SHAPES,... ╵ ~~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "PI_2" node_modules/@pixi/graphics/lib/Graphics.mjs:1:47: 1 │ import { State, BLEND_MODES, Texture, Polygon, PI_2, Rectangle, RoundedRectangle, Circle, Ellipse, SHAPES,... ╵ ~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Rectangle" node_modules/@pixi/graphics/lib/Graphics.mjs:1:53: 1 │ ... { State, BLEND_MODES, Texture, Polygon, PI_2, Rectangle, RoundedRectangle, Circle, Ellipse, SHAPES, ut... ╵ ~~~~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "RoundedRectangle" node_modules/@pixi/graphics/lib/Graphics.mjs:1:64: 1 │ ...D_MODES, Texture, Polygon, PI_2, Rectangle, RoundedRectangle, Circle, Ellipse, SHAPES, utils, Matrix, U... ╵ ~~~~~~~~~~~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Circle" node_modules/@pixi/graphics/lib/Graphics.mjs:1:82: 1 │ ...ure, Polygon, PI_2, Rectangle, RoundedRectangle, Circle, Ellipse, SHAPES, utils, Matrix, UniformGroup, ... ╵ ~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Ellipse" node_modules/@pixi/graphics/lib/Graphics.mjs:1:90: 1 │ ...gon, PI_2, Rectangle, RoundedRectangle, Circle, Ellipse, SHAPES, utils, Matrix, UniformGroup, Shader, P... ╵ ~~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "SHAPES" node_modules/@pixi/graphics/lib/Graphics.mjs:1:99: 1 │ ...2, Rectangle, RoundedRectangle, Circle, Ellipse, SHAPES, utils, Matrix, UniformGroup, Shader, Point } f... ╵ ~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils" node_modules/@pixi/graphics/lib/Graphics.mjs:1:107: 1 │ ...ngle, RoundedRectangle, Circle, Ellipse, SHAPES, utils, Matrix, UniformGroup, Shader, Point } from '@pi... ╵ ~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Matrix" node_modules/@pixi/graphics/lib/Graphics.mjs:1:114: 1 │ ...RoundedRectangle, Circle, Ellipse, SHAPES, utils, Matrix, UniformGroup, Shader, Point } from '@pixi/core'; ╵ ~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Point" node_modules/@pixi/graphics/lib/Graphics.mjs:1:144: 1 │ ...RoundedRectangle, Circle, Ellipse, SHAPES, utils, Matrix, UniformGroup, Shader, Point } from '@pixi/core'; ╵ ~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "WRAP_MODES" node_modules/@pixi/mesh-extras/lib/SimpleRope.mjs:1:9: 1 │ import { WRAP_MODES } from '@pixi/core'; ╵ ~~~~~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "BLEND_MODES" node_modules/@pixi/particle-container/lib/ParticleContainer.mjs:1:9: 1 │ import { BLEND_MODES, utils } from '@pixi/core'; ╵ ~~~~~~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils" node_modules/@pixi/particle-container/lib/ParticleContainer.mjs:1:22: 1 │ import { BLEND_MODES, utils } from '@pixi/core'; ╵ ~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "TYPES" node_modules/@pixi/particle-container/lib/ParticleBuffer.mjs:1:19: 1 │ import { Geometry, TYPES, Buffer, utils } from '@pixi/core'; ╵ ~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils" node_modules/@pixi/particle-container/lib/ParticleBuffer.mjs:1:34: 1 │ import { Geometry, TYPES, Buffer, utils } from '@pixi/core'; ╵ ~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Matrix" node_modules/@pixi/particle-container/lib/ParticleRenderer.mjs:1:25: 1 │ import { ObjectRenderer, Matrix, TYPES, Shader, State, utils, ExtensionType, extensions } from '@pixi/core'; ╵ ~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "TYPES" node_modules/@pixi/particle-container/lib/ParticleRenderer.mjs:1:33: 1 │ import { ObjectRenderer, Matrix, TYPES, Shader, State, utils, ExtensionType, extensions } from '@pixi/core'; ╵ ~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils" node_modules/@pixi/particle-container/lib/ParticleRenderer.mjs:1:55: 1 │ import { ObjectRenderer, Matrix, TYPES, Shader, State, utils, ExtensionType, extensions } from '@pixi/core'; ╵ ~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Ticker" node_modules/@pixi/sprite-animated/lib/AnimatedSprite.mjs:1:18: 1 │ import { Texture, Ticker, UPDATE_PRIORITY } from '@pixi/core'; ╵ ~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "UPDATE_PRIORITY" node_modules/@pixi/sprite-animated/lib/AnimatedSprite.mjs:1:26: 1 │ import { Texture, Ticker, UPDATE_PRIORITY } from '@pixi/core'; ╵ ~~~~~~~~~~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Point" node_modules/@pixi/sprite-tiling/lib/TilingSprite.mjs:1:9: 1 │ import { Point, Transform, TextureMatrix, Rectangle, Texture } from '@pixi/core'; ╵ ~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Transform" node_modules/@pixi/sprite-tiling/lib/TilingSprite.mjs:1:16: 1 │ import { Point, Transform, TextureMatrix, Rectangle, Texture } from '@pixi/core'; ╵ ~~~~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Rectangle" node_modules/@pixi/sprite-tiling/lib/TilingSprite.mjs:1:42: 1 │ import { Point, Transform, TextureMatrix, Rectangle, Texture } from '@pixi/core'; ╵ ~~~~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Matrix" node_modules/@pixi/sprite-tiling/lib/TilingSpriteRenderer.mjs:1:9: 1 │ import { Matrix, ObjectRenderer, QuadUv, State, Shader, WRAP_MODES, utils, ExtensionType, extensions } fro... ╵ ~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "WRAP_MODES" node_modules/@pixi/sprite-tiling/lib/TilingSpriteRenderer.mjs:1:56: 1 │ ...Matrix, ObjectRenderer, QuadUv, State, Shader, WRAP_MODES, utils, ExtensionType, extensions } from '@pi... ╵ ~~~~~~~~~~ X [ERROR] No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils" node_modules/@pixi/sprite-tiling/lib/TilingSpriteRenderer.mjs:1:68: 1 │ ..., ObjectRenderer, QuadUv, State, Shader, WRAP_MODES, utils, ExtensionType, extensions } from '@pixi/core'; ╵ ~~~~~ F:\Downloads\react-pixi-issue-main\react-pixi-issue-main\node_modules\esbuild\lib\main.js:1604 let error = new Error(`${text}${summary}`); ^ Error: Build failed with 85 errors: node_modules/@pixi/assets/lib/detections/parsers/detectAvif.mjs:1:24: ERROR: No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "settings" node_modules/@pixi/assets/lib/detections/parsers/detectWebp.mjs:1:24: ERROR: No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "settings" node_modules/@pixi/assets/lib/loader/Loader.mjs:1:9: ERROR: No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils" node_modules/@pixi/assets/lib/loader/parsers/loadJson.mjs:1:24: ERROR: No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils" node_modules/@pixi/assets/lib/loader/parsers/loadJson.mjs:1:31: ERROR: No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "settings" ... at failureErrorWithLog (F:\Downloads\react-pixi-issue-main\react-pixi-issue-main\node_modules\esbuild\lib\main.js:1604:15) at F:\Downloads\react-pixi-issue-main\react-pixi-issue-main\node_modules\esbuild\lib\main.js:1056:28 at runOnEndCallbacks (F:\Downloads\react-pixi-issue-main\react-pixi-issue-main\node_modules\esbuild\lib\main.js:1476:61) at buildResponseToResult (F:\Downloads\react-pixi-issue-main\react-pixi-issue-main\node_modules\esbuild\lib\main.js:1054:7) at F:\Downloads\react-pixi-issue-main\react-pixi-issue-main\node_modules\esbuild\lib\main.js:1166:14 at responseCallbacks. (F:\Downloads\react-pixi-issue-main\react-pixi-issue-main\node_modules\esbuild\lib\main.js:701:9) at handleIncomingPacket (F:\Downloads\react-pixi-issue-main\react-pixi-issue-main\node_modules\esbuild\lib\main.js:756:9) at Socket.readFromStdout (F:\Downloads\react-pixi-issue-main\react-pixi-issue-main\node_modules\esbuild\lib\main.js:677:7) at Socket.emit (node:events:520:28) at addChunk (node:internal/streams/readable:315:12) { errors: [ { detail: undefined, id: '', location: { column: 24, file: 'node_modules/@pixi/assets/lib/detections/parsers/detectAvif.mjs', length: 8, line: 1, lineText: "import { ExtensionType, settings, extensions } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "settings"' }, { detail: undefined, id: '', location: { column: 24, file: 'node_modules/@pixi/assets/lib/detections/parsers/detectWebp.mjs', length: 8, line: 1, lineText: "import { ExtensionType, settings, extensions } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "settings"' }, { detail: undefined, id: '', location: { column: 9, file: 'node_modules/@pixi/assets/lib/loader/Loader.mjs', length: 5, line: 1, lineText: "import { utils } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils"' }, { detail: undefined, id: '', location: { column: 24, file: 'node_modules/@pixi/assets/lib/loader/parsers/loadJson.mjs', length: 5, line: 1, lineText: "import { ExtensionType, utils, settings, extensions } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils"' }, { detail: undefined, id: '', location: { column: 31, file: 'node_modules/@pixi/assets/lib/loader/parsers/loadJson.mjs', length: 8, line: 1, lineText: "import { ExtensionType, utils, settings, extensions } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "settings"' }, { detail: undefined, id: '', location: { column: 24, file: 'node_modules/@pixi/assets/lib/loader/parsers/loadTxt.mjs', length: 5, line: 1, lineText: "import { ExtensionType, utils, settings, extensions } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils"' }, { detail: undefined, id: '', location: { column: 31, file: 'node_modules/@pixi/assets/lib/loader/parsers/loadTxt.mjs', length: 8, line: 1, lineText: "import { ExtensionType, utils, settings, extensions } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "settings"' }, { detail: undefined, id: '', location: { column: 9, file: 'node_modules/@pixi/assets/lib/loader/parsers/loadWebFont.mjs', length: 5, line: 1, lineText: "import { utils, ExtensionType, settings, extensions } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils"' }, { detail: undefined, id: '', location: { column: 31, file: 'node_modules/@pixi/assets/lib/loader/parsers/loadWebFont.mjs', length: 8, line: 1, lineText: "import { utils, ExtensionType, settings, extensions } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "settings"' }, { detail: undefined, id: '', location: { column: 24, file: 'node_modules/@pixi/assets/lib/loader/parsers/textures/loadSVG.mjs', length: 5, line: 1, lineText: "import { ExtensionType, utils, SVGResource, BaseTexture, settings, extensions } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils"' }, { detail: undefined, id: '', location: { column: 57, file: 'node_modules/@pixi/assets/lib/loader/parsers/textures/loadSVG.mjs', length: 8, line: 1, lineText: "import { ExtensionType, utils, SVGResource, BaseTexture, settings, extensions } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "settings"' }, { detail: undefined, id: '', location: { column: 9, file: 'node_modules/@pixi/assets/lib/loader/parsers/textures/loadTextures.mjs', length: 8, line: 1, lineText: "import { settings, ExtensionType, BaseTexture, utils, extensions } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "settings"' }, { detail: undefined, id: '', location: { column: 47, file: 'node_modules/@pixi/assets/lib/loader/parsers/textures/loadTextures.mjs', length: 5, line: 1, lineText: "import { settings, ExtensionType, BaseTexture, utils, extensions } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils"' }, { detail: undefined, id: '', location: { column: 9, file: 'node_modules/@pixi/assets/lib/resolver/Resolver.mjs', length: 5, line: 1, lineText: "import { utils } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils"' }, { detail: undefined, id: '', location: { column: 24, file: 'node_modules/@pixi/assets/lib/resolver/parsers/resolveTextureUrl.mjs', length: 8, line: 1, lineText: "import { ExtensionType, settings, extensions } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "settings"' }, { detail: undefined, id: '', location: { column: 9, file: 'node_modules/@pixi/assets/lib/utils/checkExtension.mjs', length: 5, line: 1, lineText: "import { utils } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils"' }, { detail: undefined, id: '', location: { column: 16, file: 'node_modules/@pixi/graphics/lib/Graphics.mjs', length: 11, line: 1, lineText: "import { State, BLEND_MODES, Texture, Polygon, PI_2, Rectangle, RoundedRectangle, Circle, Ellipse, SHAPES, utils, Matrix, UniformGroup, Shader, Point } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "BLEND_MODES"' }, { detail: undefined, id: '', location: { column: 38, file: 'node_modules/@pixi/graphics/lib/Graphics.mjs', length: 7, line: 1, lineText: "import { State, BLEND_MODES, Texture, Polygon, PI_2, Rectangle, RoundedRectangle, Circle, Ellipse, SHAPES, utils, Matrix, UniformGroup, Shader, Point } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Polygon"' }, { detail: undefined, id: '', location: { column: 47, file: 'node_modules/@pixi/graphics/lib/Graphics.mjs', length: 4, line: 1, lineText: "import { State, BLEND_MODES, Texture, Polygon, PI_2, Rectangle, RoundedRectangle, Circle, Ellipse, SHAPES, utils, Matrix, UniformGroup, Shader, Point } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "PI_2"' }, { detail: undefined, id: '', location: { column: 53, file: 'node_modules/@pixi/graphics/lib/Graphics.mjs', length: 9, line: 1, lineText: "import { State, BLEND_MODES, Texture, Polygon, PI_2, Rectangle, RoundedRectangle, Circle, Ellipse, SHAPES, utils, Matrix, UniformGroup, Shader, Point } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Rectangle"' }, { detail: undefined, id: '', location: { column: 64, file: 'node_modules/@pixi/graphics/lib/Graphics.mjs', length: 16, line: 1, lineText: "import { State, BLEND_MODES, Texture, Polygon, PI_2, Rectangle, RoundedRectangle, Circle, Ellipse, SHAPES, utils, Matrix, UniformGroup, Shader, Point } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "RoundedRectangle"' }, { detail: undefined, id: '', location: { column: 82, file: 'node_modules/@pixi/graphics/lib/Graphics.mjs', length: 6, line: 1, lineText: "import { State, BLEND_MODES, Texture, Polygon, PI_2, Rectangle, RoundedRectangle, Circle, Ellipse, SHAPES, utils, Matrix, UniformGroup, Shader, Point } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Circle"' }, { detail: undefined, id: '', location: { column: 90, file: 'node_modules/@pixi/graphics/lib/Graphics.mjs', length: 7, line: 1, lineText: "import { State, BLEND_MODES, Texture, Polygon, PI_2, Rectangle, RoundedRectangle, Circle, Ellipse, SHAPES, utils, Matrix, UniformGroup, Shader, Point } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Ellipse"' }, { detail: undefined, id: '', location: { column: 99, file: 'node_modules/@pixi/graphics/lib/Graphics.mjs', length: 6, line: 1, lineText: "import { State, BLEND_MODES, Texture, Polygon, PI_2, Rectangle, RoundedRectangle, Circle, Ellipse, SHAPES, utils, Matrix, UniformGroup, Shader, Point } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "SHAPES"' }, { detail: undefined, id: '', location: { column: 107, file: 'node_modules/@pixi/graphics/lib/Graphics.mjs', length: 5, line: 1, lineText: "import { State, BLEND_MODES, Texture, Polygon, PI_2, Rectangle, RoundedRectangle, Circle, Ellipse, SHAPES, utils, Matrix, UniformGroup, Shader, Point } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils"' }, { detail: undefined, id: '', location: { column: 114, file: 'node_modules/@pixi/graphics/lib/Graphics.mjs', length: 6, line: 1, lineText: "import { State, BLEND_MODES, Texture, Polygon, PI_2, Rectangle, RoundedRectangle, Circle, Ellipse, SHAPES, utils, Matrix, UniformGroup, Shader, Point } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Matrix"' }, { detail: undefined, id: '', location: { column: 144, file: 'node_modules/@pixi/graphics/lib/Graphics.mjs', length: 5, line: 1, lineText: "import { State, BLEND_MODES, Texture, Polygon, PI_2, Rectangle, RoundedRectangle, Circle, Ellipse, SHAPES, utils, Matrix, UniformGroup, Shader, Point } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Point"' }, { detail: undefined, id: '', location: { column: 9, file: 'node_modules/@pixi/graphics/lib/GraphicsGeometry.mjs', length: 5, line: 1, lineText: "import { Point, BatchGeometry, WRAP_MODES, BaseTexture, BatchDrawCall, BatchTextureArray, DRAW_MODES, utils } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Point"' }, { detail: undefined, id: '', location: { column: 31, file: 'node_modules/@pixi/graphics/lib/GraphicsGeometry.mjs', length: 10, line: 1, lineText: "import { Point, BatchGeometry, WRAP_MODES, BaseTexture, BatchDrawCall, BatchTextureArray, DRAW_MODES, utils } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "WRAP_MODES"' }, { detail: undefined, id: '', location: { column: 90, file: 'node_modules/@pixi/graphics/lib/GraphicsGeometry.mjs', length: 10, line: 1, lineText: "import { Point, BatchGeometry, WRAP_MODES, BaseTexture, BatchDrawCall, BatchTextureArray, DRAW_MODES, utils } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "DRAW_MODES"' }, { detail: undefined, id: '', location: { column: 102, file: 'node_modules/@pixi/graphics/lib/GraphicsGeometry.mjs', length: 5, line: 1, lineText: "import { Point, BatchGeometry, WRAP_MODES, BaseTexture, BatchDrawCall, BatchTextureArray, DRAW_MODES, utils } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils"' }, { detail: undefined, id: '', location: { column: 9, file: 'node_modules/@pixi/graphics/lib/utils/ArcUtils.mjs', length: 4, line: 1, lineText: "import { PI_2 } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "PI_2"' }, { detail: undefined, id: '', location: { column: 9, file: 'node_modules/@pixi/graphics/lib/utils/buildCircle.mjs', length: 6, line: 1, lineText: "import { SHAPES } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "SHAPES"' }, { detail: undefined, id: '', location: { column: 9, file: 'node_modules/@pixi/graphics/lib/utils/buildLine.mjs', length: 5, line: 1, lineText: "import { Point, SHAPES } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Point"' }, { detail: undefined, id: '', location: { column: 16, file: 'node_modules/@pixi/graphics/lib/utils/buildLine.mjs', length: 6, line: 1, lineText: "import { Point, SHAPES } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "SHAPES"' }, { detail: undefined, id: '', location: { column: 9, file: 'node_modules/@pixi/graphics/lib/utils/buildPoly.mjs', length: 5, line: 1, lineText: "import { utils } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils"' }, { detail: undefined, id: '', location: { column: 9, file: 'node_modules/@pixi/graphics/lib/utils/index.mjs', length: 6, line: 1, lineText: "import { SHAPES } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "SHAPES"' }, { detail: undefined, id: '', location: { column: 9, file: 'node_modules/@pixi/mesh-extras/lib/SimpleRope.mjs', length: 10, line: 1, lineText: "import { WRAP_MODES } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "WRAP_MODES"' }, { detail: undefined, id: '', location: { column: 9, file: 'node_modules/@pixi/mesh/lib/Mesh.mjs', length: 5, line: 1, lineText: "import { Point, Polygon, State, settings, DRAW_MODES } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Point"' }, { detail: undefined, id: '', location: { column: 16, file: 'node_modules/@pixi/mesh/lib/Mesh.mjs', length: 7, line: 1, lineText: "import { Point, Polygon, State, settings, DRAW_MODES } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Polygon"' }, { detail: undefined, id: '', location: { column: 32, file: 'node_modules/@pixi/mesh/lib/Mesh.mjs', length: 8, line: 1, lineText: "import { Point, Polygon, State, settings, DRAW_MODES } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "settings"' }, { detail: undefined, id: '', location: { column: 42, file: 'node_modules/@pixi/mesh/lib/Mesh.mjs', length: 10, line: 1, lineText: "import { Point, Polygon, State, settings, DRAW_MODES } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "DRAW_MODES"' }, { detail: undefined, id: '', location: { column: 27, file: 'node_modules/@pixi/mesh/lib/MeshGeometry.mjs', length: 5, line: 1, lineText: "import { Geometry, Buffer, TYPES } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "TYPES"' }, { detail: undefined, id: '', location: { column: 17, file: 'node_modules/@pixi/mesh/lib/MeshMaterial.mjs', length: 6, line: 1, lineText: "import { Shader, Matrix, Program, TextureMatrix, utils } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Matrix"' }, { detail: undefined, id: '', location: { column: 49, file: 'node_modules/@pixi/mesh/lib/MeshMaterial.mjs', length: 5, line: 1, lineText: "import { Shader, Matrix, Program, TextureMatrix, utils } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils"' }, { detail: undefined, id: '', location: { column: 19, file: 'node_modules/@pixi/particle-container/lib/ParticleBuffer.mjs', length: 5, line: 1, lineText: "import { Geometry, TYPES, Buffer, utils } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "TYPES"' }, { detail: undefined, id: '', location: { column: 34, file: 'node_modules/@pixi/particle-container/lib/ParticleBuffer.mjs', length: 5, line: 1, lineText: "import { Geometry, TYPES, Buffer, utils } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils"' }, { detail: undefined, id: '', location: { column: 9, file: 'node_modules/@pixi/particle-container/lib/ParticleContainer.mjs', length: 11, line: 1, lineText: "import { BLEND_MODES, utils } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "BLEND_MODES"' }, { detail: undefined, id: '', location: { column: 22, file: 'node_modules/@pixi/particle-container/lib/ParticleContainer.mjs', length: 5, line: 1, lineText: "import { BLEND_MODES, utils } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils"' }, { detail: undefined, id: '', location: { column: 25, file: 'node_modules/@pixi/particle-container/lib/ParticleRenderer.mjs', length: 6, line: 1, lineText: "import { ObjectRenderer, Matrix, TYPES, Shader, State, utils, ExtensionType, extensions } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Matrix"' }, { detail: undefined, id: '', location: { column: 33, file: 'node_modules/@pixi/particle-container/lib/ParticleRenderer.mjs', length: 5, line: 1, lineText: "import { ObjectRenderer, Matrix, TYPES, Shader, State, utils, ExtensionType, extensions } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "TYPES"' }, { detail: undefined, id: '', location: { column: 55, file: 'node_modules/@pixi/particle-container/lib/ParticleRenderer.mjs', length: 5, line: 1, lineText: "import { ObjectRenderer, Matrix, TYPES, Shader, State, utils, ExtensionType, extensions } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils"' }, { detail: undefined, id: '', location: { column: 18, file: 'node_modules/@pixi/sprite-animated/lib/AnimatedSprite.mjs', length: 6, line: 1, lineText: "import { Texture, Ticker, UPDATE_PRIORITY } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Ticker"' }, { detail: undefined, id: '', location: { column: 26, file: 'node_modules/@pixi/sprite-animated/lib/AnimatedSprite.mjs', length: 15, line: 1, lineText: "import { Texture, Ticker, UPDATE_PRIORITY } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "UPDATE_PRIORITY"' }, { detail: undefined, id: '', location: { column: 9, file: 'node_modules/@pixi/sprite-tiling/lib/TilingSprite.mjs', length: 5, line: 1, lineText: "import { Point, Transform, TextureMatrix, Rectangle, Texture } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Point"' }, { detail: undefined, id: '', location: { column: 16, file: 'node_modules/@pixi/sprite-tiling/lib/TilingSprite.mjs', length: 9, line: 1, lineText: "import { Point, Transform, TextureMatrix, Rectangle, Texture } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Transform"' }, { detail: undefined, id: '', location: { column: 42, file: 'node_modules/@pixi/sprite-tiling/lib/TilingSprite.mjs', length: 9, line: 1, lineText: "import { Point, Transform, TextureMatrix, Rectangle, Texture } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Rectangle"' }, { detail: undefined, id: '', location: { column: 9, file: 'node_modules/@pixi/sprite-tiling/lib/TilingSpriteRenderer.mjs', length: 6, line: 1, lineText: "import { Matrix, ObjectRenderer, QuadUv, State, Shader, WRAP_MODES, utils, ExtensionType, extensions } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Matrix"' }, { detail: undefined, id: '', location: { column: 56, file: 'node_modules/@pixi/sprite-tiling/lib/TilingSpriteRenderer.mjs', length: 10, line: 1, lineText: "import { Matrix, ObjectRenderer, QuadUv, State, Shader, WRAP_MODES, utils, ExtensionType, extensions } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "WRAP_MODES"' }, { detail: undefined, id: '', location: { column: 68, file: 'node_modules/@pixi/sprite-tiling/lib/TilingSpriteRenderer.mjs', length: 5, line: 1, lineText: "import { Matrix, ObjectRenderer, QuadUv, State, Shader, WRAP_MODES, utils, ExtensionType, extensions } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils"' }, { detail: undefined, id: '', location: { column: 9, file: 'node_modules/@pixi/sprite/lib/Sprite.mjs', length: 5, line: 1, lineText: "import { Point, ObservablePoint, BLEND_MODES, Texture, settings, utils, Rectangle } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Point"' }, { detail: undefined, id: '', location: { column: 16, file: 'node_modules/@pixi/sprite/lib/Sprite.mjs', length: 15, line: 1, lineText: "import { Point, ObservablePoint, BLEND_MODES, Texture, settings, utils, Rectangle } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "ObservablePoint"' }, { detail: undefined, id: '', location: { column: 33, file: 'node_modules/@pixi/sprite/lib/Sprite.mjs', length: 11, line: 1, lineText: "import { Point, ObservablePoint, BLEND_MODES, Texture, settings, utils, Rectangle } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "BLEND_MODES"' }, { detail: undefined, id: '', location: { column: 55, file: 'node_modules/@pixi/sprite/lib/Sprite.mjs', length: 8, line: 1, lineText: "import { Point, ObservablePoint, BLEND_MODES, Texture, settings, utils, Rectangle } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "settings"' }, { detail: undefined, id: '', location: { column: 65, file: 'node_modules/@pixi/sprite/lib/Sprite.mjs', length: 5, line: 1, lineText: "import { Point, ObservablePoint, BLEND_MODES, Texture, settings, utils, Rectangle } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils"' }, { detail: undefined, id: '', location: { column: 72, file: 'node_modules/@pixi/sprite/lib/Sprite.mjs', length: 9, line: 1, lineText: "import { Point, ObservablePoint, BLEND_MODES, Texture, settings, utils, Rectangle } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Rectangle"' }, { detail: undefined, id: '', location: { column: 9, file: 'node_modules/@pixi/text-bitmap/lib/BitmapFont.mjs', length: 5, line: 1, lineText: "import { utils, ALPHA_MODES, MIPMAP_MODES, Rectangle, Texture, settings, BaseTexture } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils"' }, { detail: undefined, id: '', location: { column: 16, file: 'node_modules/@pixi/text-bitmap/lib/BitmapFont.mjs', length: 11, line: 1, lineText: "import { utils, ALPHA_MODES, MIPMAP_MODES, Rectangle, Texture, settings, BaseTexture } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "ALPHA_MODES"' }, { detail: undefined, id: '', location: { column: 29, file: 'node_modules/@pixi/text-bitmap/lib/BitmapFont.mjs', length: 12, line: 1, lineText: "import { utils, ALPHA_MODES, MIPMAP_MODES, Rectangle, Texture, settings, BaseTexture } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "MIPMAP_MODES"' }, { detail: undefined, id: '', location: { column: 43, file: 'node_modules/@pixi/text-bitmap/lib/BitmapFont.mjs', length: 9, line: 1, lineText: "import { utils, ALPHA_MODES, MIPMAP_MODES, Rectangle, Texture, settings, BaseTexture } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Rectangle"' }, { detail: undefined, id: '', location: { column: 63, file: 'node_modules/@pixi/text-bitmap/lib/BitmapFont.mjs', length: 8, line: 1, lineText: "import { utils, ALPHA_MODES, MIPMAP_MODES, Rectangle, Texture, settings, BaseTexture } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "settings"' }, { detail: undefined, id: '', location: { column: 9, file: 'node_modules/@pixi/text-bitmap/lib/BitmapText.mjs', length: 15, line: 1, lineText: "import { ObservablePoint, settings, Point, Texture, utils, BLEND_MODES, Program } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "ObservablePoint"' }, { detail: undefined, id: '', location: { column: 26, file: 'node_modules/@pixi/text-bitmap/lib/BitmapText.mjs', length: 8, line: 1, lineText: "import { ObservablePoint, settings, Point, Texture, utils, BLEND_MODES, Program } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "settings"' }, { detail: undefined, id: '', location: { column: 36, file: 'node_modules/@pixi/text-bitmap/lib/BitmapText.mjs', length: 5, line: 1, lineText: "import { ObservablePoint, settings, Point, Texture, utils, BLEND_MODES, Program } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Point"' }, { detail: undefined, id: '', location: { column: 52, file: 'node_modules/@pixi/text-bitmap/lib/BitmapText.mjs', length: 5, line: 1, lineText: "import { ObservablePoint, settings, Point, Texture, utils, BLEND_MODES, Program } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils"' }, { detail: undefined, id: '', location: { column: 59, file: 'node_modules/@pixi/text-bitmap/lib/BitmapText.mjs', length: 11, line: 1, lineText: "import { ObservablePoint, settings, Point, Texture, utils, BLEND_MODES, Program } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "BLEND_MODES"' }, { detail: undefined, id: '', location: { column: 9, file: 'node_modules/@pixi/text-bitmap/lib/formats/XMLStringFormat.mjs', length: 8, line: 1, lineText: "import { settings } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "settings"' }, { detail: undefined, id: '', location: { column: 24, file: 'node_modules/@pixi/text-bitmap/lib/loadBitmapFont.mjs', length: 5, line: 2, lineText: "import { ExtensionType, utils, settings, extensions } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils"' }, { detail: undefined, id: '', location: { column: 31, file: 'node_modules/@pixi/text-bitmap/lib/loadBitmapFont.mjs', length: 8, line: 2, lineText: "import { ExtensionType, utils, settings, extensions } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "settings"' }, { detail: undefined, id: '', location: { column: 9, file: 'node_modules/@pixi/text-bitmap/lib/utils/drawGlyph.mjs', length: 5, line: 1, lineText: "import { utils } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils"' }, { detail: undefined, id: '', location: { column: 9, file: 'node_modules/@pixi/text/lib/Text.mjs', length: 8, line: 1, lineText: "import { settings, Texture, Rectangle, utils } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "settings"' }, { detail: undefined, id: '', location: { column: 28, file: 'node_modules/@pixi/text/lib/Text.mjs', length: 9, line: 1, lineText: "import { settings, Texture, Rectangle, utils } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "Rectangle"' }, { detail: undefined, id: '', location: { column: 39, file: 'node_modules/@pixi/text/lib/Text.mjs', length: 5, line: 1, lineText: "import { settings, Texture, Rectangle, utils } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils"' }, { detail: undefined, id: '', location: { column: 9, file: 'node_modules/@pixi/text/lib/TextMetrics.mjs', length: 8, line: 1, lineText: "import { settings } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "settings"' }, { detail: undefined, id: '', location: { column: 9, file: 'node_modules/@pixi/text/lib/TextStyle.mjs', length: 5, line: 2, lineText: "import { utils } from '@pixi/core';", namespace: '', suggestion: '' }, notes: [], pluginName: '', text: 'No matching export in "node_modules/@pixi/core/dist/esm/core.mjs" for import "utils"' } ], warnings: [] }
baseten commented 1 year ago

What version of node are you running? I haven't had a chance to check out your code yet, but I have a similar setup running with no problems. My hunch is that peer-dependencies aren't being installed.

SampsaKaskela commented 1 year ago

Node 16.14.0 and NPM 8.3.1

Edit: Did update to Node 18.14.0 and NPM 9.3.1 Issue still exists.

Zyie commented 1 year ago

Hey @SampsaKaskela it seems you are running into the same issue mentioned here https://github.com/pixijs/pixijs/issues/8977

Could you try uninstalling / reinstalling pixi as you may have multiple versions installed at the same time

https://github.com/pixijs/pixijs/wiki/Upgrading-PixiJS

SampsaKaskela commented 1 year ago

I tried removing node_modules but that was not the issue. I deleted package-lock.json and installed again and now no longer errors. I checked what was difference between package-lock.json files and in old one it was installing @pixi/core v6 for some reason and that was the issue.

So issue seems to be resolved now. Thank you @Zyie