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

Unable to Initialize Node Bundle #8494

Closed
bigtimebuddy opened this issue Jul 14, 2022 · 0 comments · Fixed by #8497
Closed

Unable to Initialize Node Bundle #8494

bigtimebuddy opened this issue Jul 14, 2022 · 0 comments · Fixed by #8497
Assignees
Milestone

Comments

@bigtimebuddy
Copy link
Member

Unable to create the hello world for @pixi/node

https://github.com/bigtimebuddy/pixi-node-example

% npm test

> pixi-node-example@1.0.0 test
> node index.js

PixiJS 6.5.0-rc - WebGL 1 - http://www.pixijs.com/
~/pixi-node-example/node_modules/@pixi/assets/dist/cjs/assets.js:625
            formats.unshift.apply(formats, format);
                    ^

TypeError: Cannot read properties of undefined (reading 'unshift')
    at ~/pixi-node-example/node_modules/@pixi/assets/dist/cjs/assets.js:625:21
    at step (~/pixi-node-example/node_modules/@pixi/assets/dist/cjs/assets.js:81:23)
    at Object.next (~/pixi-node-example/node_modules/@pixi/assets/dist/cjs/assets.js:62:53)
    at ~/pixi-node-example/node_modules/@pixi/assets/dist/cjs/assets.js:55:71
    at new Promise (<anonymous>)
    at __awaiter (~/pixi-node-example/node_modules/@pixi/assets/dist/cjs/assets.js:51:12)
    at Object.add (~/pixi-node-example/node_modules/@pixi/assets/dist/cjs/assets.js:623:40)
    at Object.detection-parser (~/pixi-node-example/node_modules/@pixi/core/dist/cjs/core.js:261:85)
    at ~/pixi-node-example/node_modules/@pixi/core/dist/cjs/core.js:207:35
    at Array.forEach (<anonymous>)
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

Successfully merging a pull request may close this issue.

2 participants