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

Create reproduction for webpack bundling runtime error #1314

Closed
wants to merge 1 commit into from

Conversation

f0rr0
Copy link

@f0rr0 f0rr0 commented Jan 27, 2021

Reproduction for prisma/prisma#5250 and prisma/prisma#2303

2 errors

Update this dependency to remove implicit peer dependency or add note to readme.

WARNING in ./node_modules/@prisma/client/runtime/index.js 10099:16-43
Module not found: Error: Can't resolve 'encoding' in '/Users/sid/Dev/prisma-source/bundlers/webpack/node_modules/@prisma/client/runtime'
 @ ./node_modules/.prisma/client/index.js 18:4-37
 @ ./node_modules/@prisma/client/index.js 1:15-40
 @ ./src/index.js 1:0-45 5:19-31

Add to readme to set node to false in webpack config. https://webpack.js.org/configuration/node/

ERROR in ./node_modules/@prisma/client/runtime/index.js 59534:24-64
Module not found: Error: Can't resolve 'string_decoder/' in '/Users/sid/Dev/prisma-source/bundlers/webpack/node_modules/@prisma/client/runtime'
 @ ./node_modules/.prisma/client/index.js 18:4-37
 @ ./node_modules/@prisma/client/index.js 1:15-40
 @ ./src/index.js 1:0-45 5:19-31

@f0rr0 f0rr0 changed the title Create reproduction for webpack bunling runtime error Create reproduction for webpack bundling runtime error Jan 27, 2021
@janpio janpio marked this pull request as draft August 10, 2021 10:32
@millsp
Copy link
Member

millsp commented Apr 12, 2023

@millsp millsp closed this Apr 12, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants