After ejecting getting "process.binding is not supported" error
Created by: brakowski
Description
After ejecting a newly created app, and try to open it in the browser, i get a "Uncaught Error: process.binding is not supported" in the browser.
Expected behavior
It should work the same like before ejecting.
Actual behavior
An "Uncaught Error: process.binding is not supported" error is displayed in the browser console.
Environment
- Operating system: Linux Mint 17 Qiana
- Browser and version: Google Chrome 47.0.2526.111 (64-bit)
- Node: v6.2.1
- NPM: 2.11.3
- create-react-app test-app
- cd test-app
- npm run eject
- npm start
Seems like "usr/lib/nodejs" is also bundled by webpack. The whole error message:
Uncaught Error: process.binding is not supportedprocess.binding @ browser.js:173(anonymous function) @ buffer.js:4(anonymous function) @ buffer.js:1293__webpack_require__ @ bootstrap e7633f287f581d8681cb:555fn @ bootstrap e7633f287f581d8681cb:86(anonymous function) @ querystring.js:6__webpack_require__ @ bootstrap e7633f287f581d8681cb:555fn @ bootstrap e7633f287f581d8681cb:86(anonymous function) @ url.js:61__webpack_require__ @ bootstrap e7633f287f581d8681cb:555fn @ bootstrap e7633f287f581d8681cb:86(anonymous function) @ webpackHotDevClient.js:22__webpack_require__ @ bootstrap e7633f287f581d8681cb:555fn @ bootstrap e7633f287f581d8681cb:86(anonymous function) @ bootstrap e7633f287f581d8681cb:578__webpack_require__ @ bootstrap e7633f287f581d8681cb:555(anonymous function) @ bootstrap e7633f287f581d8681cb:578(anonymous function) @ bootstrap e7633f287f581d8681cb:578