Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Version 1.1.3 fails in browser - Buffer is not defined

Open
#20 8 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
web-dev

Research direction

Start with the minimal CodeSandbox reproduction and the package import path in createHash. Confirm the failure in Chrome, then trace the browser bundle's Buffer dependency; done means the package imports and creates hashes in Chrome without “Buffer is not defined”.

Written by the indexing model from the issue text.

Description

We wanted to use the package to create hashes in Chrome, but on initial testing it seems like this package doesn't work in the browser.

When attempting to import the package it fails with the error message:

Buffer is not defined

You can see an minimal example in this Code Sandbox:
https://codesandbox.io/s/x2xyrq2plp

Dominant language
JavaScript
Stars
53
Forks
37
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from browserify/createHash

All issues in browserify/createHash

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.