undefined is not an object (evaluating Transform.call') React Native

Open
#26 5 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript, react-native

Research direction

Start with the reported React Native setup and the .babelrc alias for crypto-browserify, then reproduce the “undefined is not an object” error. Trace the failing Transform.call path and determine whether the integration works with the stated configuration; done means the error is resolved or the incompatibility is documented.

Written by the indexing model from the issue text.

Description

Getting this error in react-native using crypto-browserify.

Have setup .babelrc like this:

"plugins": [ ["babel-plugin-rewrite-require", { aliases: { crypto: 'crypto-browserify', } }]

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.