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

bundlingConfig.forEach is not a function Getting issue #148

Open
sandeep570 opened this issue Jul 4, 2022 · 1 comment
Open

bundlingConfig.forEach is not a function Getting issue #148

sandeep570 opened this issue Jul 4, 2022 · 1 comment

Comments

@sandeep570
Copy link

Hello Team,

I have started looking this pack for bundling and performance improvement so I have installed the magepack and after executing the "magepack bundle" I am getting the below error

magepack bundle
ℹ Using bundling config from "/var/www/html/localproject/magepack.config.js".
ℹ Creating bundles for "pub/static/frontend/Magento/luma/en_US".
ERROR bundlingConfig.forEach is not a function
at /home/user/.nvm/versions/node/v14.4.0/lib/node_modules/magepack/lib/bundle.js:34:24
at Array.forEach ()

Magepack version = 2.8.0
Node version = v14.4.0
Magento 2.4.1 open source
Screenshot from 2022-07-04 14-58-28

Could you please help me out?? I really need this.

@fredden
Copy link
Contributor

fredden commented Jul 28, 2022

Have you run magepack generate with success? Please can you share the contents of /var/www/html/localproject/magepack.config.js?

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

No branches or pull requests

2 participants