You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
console.logging webpack above the module.exports function in webpack.config.js file does return a list of getters so it definitely exists somewhere.
Requiring webpack in the webpack.config.js and omitting it as a parameter from the module.exports function fixes the issue however it clearly states in the webpack.config.js file 'Note: we provide webpack above so you should not require it'.
Can keep using this method, just don't want to run into any additional problems with the require further down the line!
The text was updated successfully, but these errors were encountered:
Thank you for reporting this bug, however we are unable to reproduce the issue you described given the information we have on hand. Can you please create a fresh project that you are able to reproduce the issue in, provide clear steps to reproduce this issue, and either upload this fresh project to a new GitHub repo or compress it into a .zip and upload it on this issue?
We would greatly appreciate your assistance with this, by working in a fresh project it will cut out any possible variables that might be unrelated.
Please note that issues labeled with status: can not reproduce will be closed in 14 days if there is no activity.
Bug report
Required System information
Describe the bug
When updating Strapi to latest version or incrementally upgrading Strapi it results in a webpack error on yarn build from version 4.15.2 onwards
Steps to reproduce the behavior
4.14.3 -> 4.24.2 Direct
4.14.3 -> 4.15.2 Incremental
Downgrade and migration guide
Downgraded to 4.14.0 and followed migration guide:
https://docs.strapi.io/dev-docs/migration/v4/migration-guide-4.14.0-to-4.15.5
Again, results in the same behaviour.
Expected behavior
When upgrading, Strapi should retain webpack integration.
Screenshots
yarn build error:
Code Snippets
Yarn build --debug
Additional context
This issue exists on the community forum however the solution doesn't seem to work for me:
https://forum.strapi.io/t/webpack-typeerror-when-going-higher-than-4-15/35561
console.logging webpack above the module.exports function in webpack.config.js file does return a list of getters so it definitely exists somewhere.
Requiring webpack in the webpack.config.js and omitting it as a parameter from the module.exports function fixes the issue however it clearly states in the webpack.config.js file 'Note: we provide webpack above so you should not
require
it'.Can keep using this method, just don't want to run into any additional problems with the require further down the line!
The text was updated successfully, but these errors were encountered: