-
Notifications
You must be signed in to change notification settings - Fork 20
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
Not compatible with Webpack 5 (Next.js 11) #122
Labels
bug
Something isn't working
Comments
Still here, same warning with |
Any chance we can get an update on this to remove the warnings? It's really noisy. |
+1 |
is there any progress on this? |
Any answers on this one? |
Any updates? |
@PavelMeyer did you manage to resolve it. Same issue on my side. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
Shouldn't log warnings
Current Behavior
When importing the file
import { init } from '@amplitude/node';
, it yields the following output:It's hard to tell if it's a warning or an error. The warning is displayed at every rebuild.
It seems to be related to webpack 5, the
@amplitude/node
package might not be compatible with Webpack 5. This affects Next.js 10+. (Webpack 5 is enabled by default in Next.js 11)Steps to Reproduce
git clone [email protected]:UnlyEd/next-right-now.git nrn-refactor-amplitude && cd nrn-refactor-amplitude && git checkout refactor-amplitude && cp .env.local.example .env.local && yarn && yarn start
localhost:8888/api/status
and look at the server consoleEnvironment
The text was updated successfully, but these errors were encountered: