Skip to content

Problem with Create React App (react script v5.0) due to shpjs dependency on (Node) buffer #1

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

Open
vanakenm opened this issue Sep 19, 2022 · 1 comment

Comments

@vanakenm
Copy link

Hi!
First of all great work - this works and is exactly what I'm trying to do in my app (provide a way for user to upload their own shp files).

My issue is that while I could make your example work, I did not manage to have it working on my own app. This seems to be linked to react script v5 using Webpack 5 which itself does not anymore provide a polyfill for the "buffer" Node class (used by shipjs).

While I understand this is in no way due to an error in your example, I'm curious if you did run on that problem/have any advice how to use it (downgrading react-script is not ideal onwards).

@oxy86
Copy link
Owner

oxy86 commented Oct 11, 2022 via email

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

2 participants