Require JS not loading
Open
Nobody has claimed this yet.
question
- Dominant language
- JavaScript
- Stars
- 176
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Description
After bundling using `bin/baler build` getting **_TypeError: require is not a function_** error
attached error log for your reference.
- [require_js error.log](https://github.com/magento/baler/files/3983443/require_js.error.log)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with `bin/baler build` and review the attached `require_js error.log`. Trace how the generated bundle handles `require` and identify why it is not callable in the bundled output. Done means the build completes and the resulting JavaScript loads without the reported TypeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100