[Node.js] gyp ERR! configure error Error: EACCES, mkdir ‘/Users/name/.node-gyp’

Pocket

================================================================================
=                                                                              =
=  Attempting to build bson c++ extension                                      =
=   Windows: no build will be attempted as binaries are prepackaged            =
=   Unix: on failure the package will still install without the C++ extension  =
=                                                                              =
================================================================================
node-gyp clean
node-gyp configure build
gyp WARN install got an error, rolling back install
gyp ERR! configure error Error: EACCES, mkdir '/Users/bakorer/.node-gyp'
gyp ERR! not ok 
make: *** [node_gyp] Error 1
child process exited with code 2
% mkdir /Users/bakorer/.node-gyp
% chmod 777 /Users/bakorer/.node-gyp
  1. コメントはまだありません。

  1. トラックバックはまだありません。