Skip to content
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

This warning is breaking the build #38

Open
amanmodiii opened this issue Jun 30, 2024 · 2 comments
Open

This warning is breaking the build #38

amanmodiii opened this issue Jun 30, 2024 · 2 comments

Comments

@amanmodiii
Copy link

amanmodiii commented Jun 30, 2024

I have a warning appearing as:

⚠ ./node_modules/payload/dist/config/load.js
require.extensions is not supported by webpack. Use a loader instead.

Import trace for requested module:
./node_modules/payload/dist/config/load.js
./node_modules/payload/dist/payload.js
./node_modules/payload/dist/index.js
./src/get-payload.ts
./src/app/product/[productId]/page.tsx

@joschan21

@kaleembhattiworks
Copy link

Same here, its very annoying and there isnt much information on this warning as well.
I even tried using vite as the builder, but nothing changed

@guotingchao
Copy link

Same problem. can't build & run dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants