Unable to use webpack externals #54326
Replies: 6 comments 2 replies
-
@frankandrobot Out of curiosity, did you see the same errors in previous versions of Next.js? |
Beta Was this translation helpful? Give feedback.
-
Haven't tried this in 12. But if I'm not mistaken, this is a systematic issue. There's no way to control load order on the server so it'll happen regardless of version
On Jan 6, 2023 6:02 AM, Matt Bae ***@***.***> wrote:
@frankandrobot<https://github.com/frankandrobot> Out of curiosity, did you see the same errors in previous versions of Next.js?
—
Reply to this email directly, view it on GitHub<#43842 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAGAGMMKLIUWBL4HPHKWKPLWRACVLANCNFSM6AAAAAASXWN4NQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
On Jan 6, 2023 6:02 AM, Matt Bae ***@***.***> wrote:
@frankandrobot<https://github.com/frankandrobot> Out of curiosity, did you see the same errors in previous versions of Next.js?
—
Reply to this email directly, view it on GitHub<#43842 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAGAGMMKLIUWBL4HPHKWKPLWRACVLANCNFSM6AAAAAASXWN4NQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
On Jan 6, 2023 6:02 AM, Matt Bae ***@***.***> wrote:
@frankandrobot<https://github.com/frankandrobot> Out of curiosity, did you see the same errors in previous versions of Next.js?
—
Reply to this email directly, view it on GitHub<#43842 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAGAGMMKLIUWBL4HPHKWKPLWRACVLANCNFSM6AAAAAASXWN4NQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
On Jan 6, 2023 6:02 AM, Matt Bae ***@***.***> wrote:
@frankandrobot<https://github.com/frankandrobot> Out of curiosity, did you see the same errors in previous versions of Next.js?
—
Reply to this email directly, view it on GitHub<#43842 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAGAGMMKLIUWBL4HPHKWKPLWRACVLANCNFSM6AAAAAASXWN4NQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
On Jan 6, 2023 6:02 AM, Matt Bae ***@***.***> wrote:
@frankandrobot<https://github.com/frankandrobot> Out of curiosity, did you see the same errors in previous versions of Next.js?
—
Reply to this email directly, view it on GitHub<#43842 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAGAGMMKLIUWBL4HPHKWKPLWRACVLANCNFSM6AAAAAASXWN4NQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
On Jan 6, 2023 6:02 AM, Matt Bae ***@***.***> wrote:
@frankandrobot<https://github.com/frankandrobot> Out of curiosity, did you see the same errors in previous versions of Next.js?
—
Reply to this email directly, view it on GitHub<#43842 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAGAGMMKLIUWBL4HPHKWKPLWRACVLANCNFSM6AAAAAASXWN4NQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
On Jan 6, 2023 6:02 AM, Matt Bae ***@***.***> wrote:
@frankandrobot<https://github.com/frankandrobot> Out of curiosity, did you see the same errors in previous versions of Next.js?
—
Reply to this email directly, view it on GitHub<#43842 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAGAGMMKLIUWBL4HPHKWKPLWRACVLANCNFSM6AAAAAASXWN4NQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
@frankandrobot We've faced with same issue 13.4.6 and 13.4.7 |
Beta Was this translation helpful? Give feedback.
-
I faced with same issue in 13.4.12 |
Beta Was this translation helpful? Give feedback.
-
Converted to discussions because this is about webpack customization:
https://nextjs.org/docs/app/api-reference/next-config-js/webpack |
Beta Was this translation helpful? Give feedback.
-
I am having the same issue with externals not being honored in my webpack config. Any ideas on how to get around? |
Beta Was this translation helpful? Give feedback.
-
Verify canary release
Provide environment information
npm WARN ignoring workspace config at /Users/uriel.avalos/Documents/manage/private/packages/next13-poc/.npmrc
warn - Latest canary version not detected, detected: "13.0.3-canary.0", newest: "13.0.7-canary.3".
Please try the latest canary version (
npm install next@canary
) to confirm the issue still exists before creating a new issue.NOTE: issue also exists in 13.0.6 as well!
Which area(s) of Next.js are affected? (leave empty if unsure)
No response
Link to the code that reproduces this issue
https://stackblitz.com/edit/nextjs-osfxky?file=app/use.tsx
To Reproduce
Unfortunately, it's a private work repo so cannot post links to repo.
But this should be the repo steps:
Describe the Bug
Expected Behavior
Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
Beta Was this translation helpful? Give feedback.
All reactions