node-XMLHttpRequest icon indicating copy to clipboard operation
node-XMLHttpRequest copied to clipboard

Webpack 1.15.0 can`t build for browser

Open Ohar opened this issue 8 years ago • 4 comments

There is an error

resolve module child_process in APP\node_modules\xmlhttprequest\lib looking for modules in APP\node_modules APP\node_modules\child_process doesn't exist (module as directory)

Problem is that webpack try to build XMLHttpRequest module for browser and there is no Node.js child_process here.

Webpack repo owner says that it is a problem with parent module (XMLHttpRequest) which has no directions for browser build.

I fix it in my pull request https://github.com/driverdan/node-XMLHttpRequest/pull/153

Ohar avatar Nov 21 '17 23:11 Ohar

I'm working with legacy code and having the same problem, could this be merged and fixed?

piranna avatar Nov 26 '17 00:11 piranna

@driverdan Hello?

Ohar avatar Nov 27 '17 17:11 Ohar

@driverdan Hello?

He told me on Twitter this morning is going to take a look on this in the next hours :-)

piranna avatar Nov 27 '17 17:11 piranna

@driverdan Hello. Can you please release this as version 1.8.1?

Ohar avatar Nov 28 '17 16:11 Ohar