npm build fails

Do you want to request a feature or report a bug?

bug

What is the current behavior?
npm build sends an error

screen shot 2018-01-16 at 12 33 20
If the current behavior is a bug, please provide the steps to reproduce.

followed the getting started tutorial until npm script
Here is the github repo: https://github.com/JulienDemarque/webpack-demo

What is the expected behavior?
building the bundle again

If this is a feature request, what is motivation or use case for changing the behavior?

Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
node v6.11.1
webpack@3.10.0
os sierra 10.12.6

Author: Fantashit

3 thoughts on “npm build fails

  1. I have a similar issue with create-react-app. Any idea how to fix the problem? (except changing computer… 🙂 )

  2. Hi,

    Unfortunately, I am getting the same error when running Webpack on Node 9.5.0 on Debian 9 stretch. Could you help me with debugging this issue?

    Webpack: 3.7.1
    npm: 5.6.0
    Node: 9.5.0
    Debian: 9.3.0

    My command:

    ./node_modules/webpack/bin/webpack.js -p --progress
    

    Error:

    Error: write EPIPE
        at _errnoException (util.js:1003:13)
        at WriteWrap.afterWrite [as oncomplete] (net.js:866:14)
    

    Logs:

    13 verbose stack Exit status 1
    13 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:285:16)
    13 verbose stack     at EventEmitter.emit (events.js:160:13)
    13 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
    13 verbose stack     at ChildProcess.emit (events.js:160:13)
    13 verbose stack     at maybeClose (internal/child_process.js:943:16)
    13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5)
    

    Thank you in advance 😃

Comments are closed.