Module not found: Can't resolve '@builder.io/partytown/integration'
See original GitHub issueVerify canary release
- I verified that the issue exists in Next.js canary release
Provide environment information
Operating System:
Platform: darwin
Arch: x64
Version: Darwin Kernel Version 19.6.0: Tue Feb 15 21:39:11 PST 2022; root:xnu-6153.141.59~1/RELEASE_X86_64
Binaries:
Node: 14.18.1
npm: 8.1.0
Yarn: 1.22.10
pnpm: 6.32.2
Relevant packages:
next: 12.1.2-canary.0
react: 17.0.2
react-dom: 17.0.2
What browser are you using? (if relevant)
Not relevant
How are you deploying your application? (if relevant)
Vercel, next build
Describe the Bug
warn - Compiled with warnings
./node_modules/next/dist/pages/_document.js
Module not found: Can't resolve '@builder.io/partytown/integration' in '…'
Import trace for requested module:
./node_modules/next/document.js
./src/pages/_app.tsx
To ignore the warnings, use a custom webpack config:
config.ignoreWarnings = [
{
module: /\.\/node_modules\/next\/dist\/pages\/_document\.js/,
},
];
Expected Behavior
No warnings. It worked in the last next version 12.1.0
.
See recent merge of https://github.com/vercel/next.js/pull/34244
I like that PR. I would love to see a fix, rather than a rollback.
To Reproduce
Use a custom _app
and _document
and try building with webpack.
Probably not relevant, but I am using a monorepo and custom webpack config.
Issue Analytics
- State:
- Created a year ago
- Comments:23 (15 by maintainers)
Top Results From Across the Web
68 Versions - npm
Start using @builder.io/partytown in your project by running `npm i @builder.io/partytown`. There are 20 other projects in the npm registry ...
Read more >Cannot connect to builder.io using next.js - Bugs
Hi I'm going through the next.js/shopify tutorial but I can't seem the get the server up and running. I am getting some vulnerabilities...
Read more >I am not able to run party town on one specific nextJS project.
env TypeError: Cannot read properties of undefined (reading 'split')" and "Module not found: Can't resolve '@builder.io/partytown/integration' in …
Read more >Troubleshooting Common Errors - Gatsby
If you see errors about not being able to find a resource in the cache it may ... resolve module 'fs' or part...
Read more >Build Resumable Apps with Qwik - Learn With Jason
And, of course, I'm working on Qwik now, one of the things we're trying to do. ... snowball effect of, you know, what...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yup! I just tested, and I no longer have the issue while using canary 🥳
Thank you @ijjk 👍 I really appreciate your help and patience