Pixi is installed in version specified
Pixi installs current latest version with no respect to package.json / npm install with @
Remove ^ from version strings in https://github.com/pixijs/pixi.js/blob/dev/bundles/pixi.js/package.json
npm init
npm install [email protected] --save --save-exact
5.2.0 will be installed

pixi.js version: 5.2.0 (from my quick look all Pixi v5 versions do apply)p.s.
In my project this blocks development, because updating to 5.2.0 causes application to have new issues not present in previous versions.
You need to pin all the dependencies (anything package name โ@pixi/...โ) because the main package is a pretty empty shell to simply include dependencies. The other alternative is to use the dist build in 5.1.5, to get the locked version with all dependencies bundled. Both are obviously annoying to do, so when I do the next release Iโll make sure to pin exact versions when I bump.
@bigtimebuddy thanks for quick reply
Iโll make sure to pin exact versions when I bump
:+1:
You need to pin all the dependencies
I have already done that with yarn resolutions:
for anyone experiencing same issue:
"resolutions": {
"@pixi/accessibility": "5.1.5",
"@pixi/app": "5.1.5",
"@pixi/constants": "5.1.0",
"@pixi/core": "5.1.5",
"@pixi/display": "5.1.3",
"@pixi/extract": "5.1.5",
"@pixi/filter-alpha": "5.1.5",
"@pixi/filter-blur": "5.1.5",
"@pixi/filter-color-matrix": "5.1.5",
"@pixi/filter-displacement": "5.1.5",
"@pixi/filter-fxaa": "5.1.5",
"@pixi/filter-noise": "5.1.5",
"@pixi/graphics": "5.1.5",
"@pixi/interaction": "5.1.5",
"@pixi/loaders": "5.1.5",
"@pixi/math": "5.1.0",
"@pixi/mesh": "5.1.5",
"@pixi/mesh-extras": "5.1.5",
"@pixi/mixin-cache-as-bitmap": "5.1.5",
"@pixi/mixin-get-child-by-name": "5.1.3",
"@pixi/mixin-get-global-position": "5.1.3",
"@pixi/particles": "5.1.5",
"@pixi/polyfill": "5.1.0",
"@pixi/prepare": "5.1.5",
"@pixi/runner": "5.1.1",
"@pixi/settings": "5.1.3",
"@pixi/sprite": "5.1.5",
"@pixi/sprite-animated": "5.1.5",
"@pixi/sprite-tiling": "5.1.5",
"@pixi/spritesheet": "5.1.5",
"@pixi/text": "5.1.5",
"@pixi/text-bitmap": "5.1.5",
"@pixi/ticker": "5.1.3",
"@pixi/utils": "5.1.3"
}
@bigtimebuddy This doesn't seem to be fixed when using yarn to install 5.1.6
I've just done yarn install [email protected], and in the @pixi/ directory within node modules, it still points to 5.2.1
@adam-mvk Below seemed to work for me. Please provide some steps to reproduce 5.2.1.
yarn add [email protected]
yarn add v1.17.3
info No lockfile found.
[1/4] ๐ Resolving packages...
[2/4] ๐ Fetching packages...
[3/4] ๐ Linking dependencies...
[4/4] ๐จ Building fresh packages...
success Saved lockfile.
success Saved 33 new dependencies.
info Direct dependencies
โโ [email protected]
info All dependencies
โโ @pixi/[email protected]
โโ @pixi/[email protected]
โโ @pixi/[email protected]
โโ @pixi/[email protected]
โโ @pixi/[email protected]
โโ @pixi/[email protected]
โโ @pixi/[email protected]
โโ @pixi/[email protected]
โโ @pixi/[email protected]
โโ @pixi/[email protected]
โโ @pixi/[email protected]
โโ @pixi/[email protected]
โโ @pixi/[email protected]
โโ @pixi/[email protected]
โโ @pixi/[email protected]
โโ @pixi/[email protected]
โโ @pixi/[email protected]
โโ @pixi/[email protected]
โโ @pixi/[email protected]
โโ @pixi/[email protected]
โโ @pixi/[email protected]
โโ [email protected]
โโ [email protected]
โโ [email protected]
โโ [email protected]
โโ [email protected]
โโ [email protected]
โโ [email protected]
โโ [email protected]
โโ [email protected]
โโ [email protected]
โโ [email protected]
โโ [email protected]
Most helpful comment
You need to pin all the dependencies (anything package name โ@pixi/...โ) because the main package is a pretty empty shell to simply include dependencies. The other alternative is to use the dist build in 5.1.5, to get the locked version with all dependencies bundled. Both are obviously annoying to do, so when I do the next release Iโll make sure to pin exact versions when I bump.