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

an exception occurred while processing the buffer: Buffer is not defined #251

Open
JohnSmall opened this issue Oct 1, 2024 · 0 comments

Comments

@JohnSmall
Copy link

JohnSmall commented Oct 1, 2024

with this code

`<%= form.filestack_field :image, 'Test Filestack!', pickerOptions: { 'maxFiles': 2 , onFileUploadFinished: 'onFileUploadFinishedCallback' }, id: SecureRandom.uuid , input_id: SecureRandom.uuid %>

`

When I upload an image I see this error in the console log

An exception occurred while processing the buffer: Buffer is not defined
and below it an error that expand out to

Could not load content for webpack://filestack/filestack.umd.js (Fetch through target failed: Unsupported URL scheme; Fallback: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME)

But the file gets uploaded anyway.

I'm using Rails 7.2 with import maps, so I'm not using webpack.

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

1 participant