Home > Mobile >  Webpack installation error
Webpack installation error

Time:11-03

Bogon: ~ hanhaibo $sudo NPM install webpack - g

/usr/local/bin/webpack - & gt;/usr/local/lib/node_modules/webpack/bin/webpack js



[email protected] install/usr/local/lib/node_modules/webpack/node_modules/fsevents

The node install



The node - pre - gyp ERR! Tried to download (undefined) : https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.2/fse-v1.1.2-node-v51-darwin-x64.tar.gz

The node - pre - gyp ERR! The Pre - built binaries not found for [email protected] and [email protected] (node - v51 ABI) (falling back to the source compile with node - gyp)

Gyp ERR! Clean the error

Gyp ERR! Stack the Error: EACCES: permission denied, rmdir 'build'

Gyp ERR! The System Darwin 14.5.0

Gyp ERR! The command "/usr/local/bin/node", "/usr/local/lib/node_modules/node - gyp/bin/node - gyp. Js" "clean"

Gyp ERR! CWD/usr/local/lib/node_modules/webpack/node_modules/fsevents

Gyp ERR! Node - v v7.6.0

Gyp ERR! Node - v3.6.2 gyp - v

Gyp ERR! Not ok

The node - pre - gyp ERR! The build error

The node - pre - gyp ERR! Stack the Error: Failed to execute '/usr/local/bin/node/usr/local/lib/node_modules/node - gyp/bin/node - gyp. Js clean' (1)

The node - pre - gyp ERR! Stack the at ChildProcess. & lt; Anonymous> (/usr/local/lib/node_modules/webpack/node_modules/fsevents/node_modules/node - pre - gyp/lib/util/compile js: 83:29)

The node - pre - gyp ERR! Stack the at emitTwo (events. Js: 106:13)

The node - pre - gyp ERR! Stack the at ChildProcess. Emit (events. Js: 192:7)

The node - pre - gyp ERR! Stack the at maybeClose (internal/child_process. Js: 890:16)

The node - pre - gyp ERR! The stack at the Process. The ChildProcess. _handle. Onexit (internal/child_process. Js: 226:5)

The node - pre - gyp ERR! The System Darwin 14.5.0

The node - pre - gyp ERR! The command "/usr/local/bin/node", "/usr/local/lib/node_modules/webpack/node_modules/fsevents/node_modules/bin/node - pre - gyp" "install" "- fallback - to - build"

The node - pre - gyp ERR! CWD/usr/local/lib/node_modules/webpack/node_modules/fsevents

The node - pre - gyp ERR! Node - v v7.6.0

The node - pre - gyp ERR! The node - pre - gyp - v v0.6.36

The node - pre - gyp ERR! Not ok

Failed to execute '/usr/local/bin/node/usr/local/lib/node_modules/node - gyp/bin/node - gyp. Js clean' (1)

NPM WARN optional SKIPPING optional DEPENDENCY: [email protected] (node_modules/webpack/node_modules/fsevents) :

NPM WARN optional SKIPPING optional DEPENDENCY: [email protected] install: ` node install `

NPM WARN optional SKIPPING optional DEPENDENCY: the Exit status 1



+ [email protected]

Added 115 packages and updated 1 package in 22.694 s

CodePudding user response:

What are the prawn to know solution

CodePudding user response:

Finally, there is no way, copy the successful installation on another MAC file

CodePudding user response:

Hello, now know the problem, I also card for several days, for help

CodePudding user response:

So I have to computer
  • Related