-
Notifications
You must be signed in to change notification settings - Fork 56
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
Docs: Add a section to explain how to make it work with nextjs and/or webpack #129
Comments
Since upgrading or downgrading the snappy dependency has helped in the past, I'm wondering if the newest release might help with this. Please report back if you can :) |
Upgrading to latest doesn't seem to fix the issue. Tested with |
Removing
|
🚀 Here's the PR! #146See Sweep's progress at the progress dashboard! 💎 Sweep Pro: I'm using GPT-4. You have unlimited GPT-4 tickets. (tracking ID:
4fd25d30d9 )Install Sweep Configs: Pull Request
Tip I can email you next time I complete a pull request if you set up your email here! Actions (click)
Step 1: 🔎 SearchingI found the following snippets in your repository. I will now analyze these snippets and come up with a plan. Some code snippets I think are relevant in decreasing order of relevance (click to expand). If some file is missing from here, you can mention the path in the ticket description.Lines 1 to 58 in 88399c8
Lines 1 to 129 in 88399c8
Lines 1 to 311 in 88399c8
Step 2: ⌨️ CodingCreate src/snappyLoader.js with contents:
Check src/snappyLoader.js with contents: Modify src/batcher.js with contents:
Check src/batcher.js with contents: Modify README.md with contents:
Check README.md with contents: Step 3: 🔁 Code ReviewI have finished reviewing the code for completeness. I did not find errors for 🎉 Latest improvements to Sweep:
💡 To recreate the pull request edit the issue title or description. This is an automated message generated by Sweep AI. |
From Brooooooklyn/snappy#119
Hi there
I'm using nextjs and
winston-loki
which has snappy has a peerDependency, and I'm getting the following error:I think the error is because nextjs/webpack doesn't know how to process a file with an extension
.node
.Maybe we can add, in the readme file, a section about how to fix this problem? 🤔 I have found this webpack-loader but I don't know if this is the recommended way.
Update1:
After implementing the node-loader, now I get these errors:
Thanks.
SO: macOS
package manager: pnpm v7.18.0
winston: "v3.8.2",
winston-loki: "v6.0.6"
snappy: 7.1.1
Checklist
src/snappyLoader.js
✓ 6926d0a Editsrc/snappyLoader.js
✓ Editsrc/batcher.js
✓ e2dadcf Editsrc/batcher.js
✓ EditREADME.md
✓ 0ddd1d5 EditREADME.md
✓ EditThe text was updated successfully, but these errors were encountered: