ReferenceError: Buffer is not defined
See original GitHub issueWhat package has an issue
Describe the bug
Following the mantine directions on getting started on remix I get ReferenceError: Buffer is not defined
# this is the basic stup I did to make this project
npx create-remix@latest mantine-remix
# What type of app do you want to create? Just the basics
# Where do you want to deploy? Choose Remix if you're unsure, it's easy to change deployment targets. Cloudflare Workers
# TypeScript or JavaScript? JavaScript
# Do you want me to run `npm install`? Yes
cd mantine-remix
npm install @mantine/hooks @mantine/core @mantine/ssr
# replace entry.server.jsx with js equiv of text in article
npm run dev
In which browser did the problem occur
N/A
If possible, please include a link to a codesandbox with the reproduced problem
N/A
Do you know how to fix the issue
No
Are you willing to participate in fixing this issue and create a pull request with the fix
Yes
Possible fix
No response
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Uncaught ReferenceError: Buffer is not defined - Stack Overflow
Answering my own question. Two things helped to resolve the issue: Adding plugins section with ProviderPlugin into webpack.config.js.
Read more >Uncaught ReferenceError: Buffer is not defined #2248 - GitHub
If you install polyfill buffer package, you get the error: It appears you're using a module that is built in to node, but...
Read more >Buffer is not defined. Using Phantom Wallet, Solana and ...
testing - Uncaught ReferenceError: Buffer is not defined. Using Phantom Wallet, Solana and React to make a transaction - Solana Stack Exchange. ...
Read more >ReferenceError: Buffer is not defined - Homey Community Forum
I am running Homey 7.4.1 and HomeyScript v3.3.0. Restarted HomeyScript and also have restarted Homey. No change. No other installs etc done.
Read more >How to polyfill Buffer with Webpack 5 - viglucci.io
The "buffer is not defined" error is a common error that can occur when trying to use the Buffer Node.js API in an...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Alright, if you find a working solution, please ping me, I’ll add it to documentation
Emotion server does not support cloudflare-workers