# Drab webpack problem - Uncaught ReferenceError: require is not defined

**URL:** <https://forum.elixirforum.com/t/drab-webpack-problem-uncaught-referenceerror-require-is-not-defined/14402>\
**Category:** Questions\
**Tags:** phoenix, drab, webpack, socket\
**Created:** [May 27, 2018, 5:16pm UTC](https://forum.elixirforum.com/t/drab-webpack-problem-uncaught-referenceerror-require-is-not-defined/14402 "2018-05-27T17:16:13Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![grych](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/grych/32/5610_2.png) [@grych](https://forum.elixirforum.com/u/grych)\
**Post date:** [May 28, 2018, 12:18pm UTC](https://forum.elixirforum.com/t/drab-webpack-problem-uncaught-referenceerror-require-is-not-defined/14402/5 "2018-05-28T12:18:17Z")

</div>

I don’t think the link is relevant, as the guy there want to use the plain net socket in the browser, we are here speaking about websockets…

---

_[View the full topic](https://forum.elixirforum.com/t/drab-webpack-problem-uncaught-referenceerror-require-is-not-defined/14402)._
