Php 家园:呃!tar解包untar错误

Php 家园:呃!tar解包untar错误,php,laravel,ubuntu,vagrant,homestead,Php,Laravel,Ubuntu,Vagrant,Homestead,当我从项目文件夹执行commmandsudo npm install时,我得到以下错误: npm WARN package.json @ No repository field. npm WARN package.json @ No license field. npm WARN optional dep failed, continuing fsevents@1.0.2 npm WARN peerDependencies The peer dependency vueify-inser

当我从项目文件夹执行commmand
sudo npm install
时,我得到以下错误:

 npm WARN package.json @ No repository field.
 npm WARN package.json @ No license field.
 npm WARN optional dep failed, continuing fsevents@1.0.2
 npm WARN peerDependencies The peer dependency vueify-insert-css@^1.0.0  included from vueify will no
 npm WARN peerDependencies longer be automatically installed to fulfill the  peerDependency
 npm WARN peerDependencies in npm 3+. Your application will need to depend  on it explicitly.
 npm WARN peerDependencies The peer dependency babel-runtime@^5.8.25  included from vueify will no
 npm WARN peerDependencies longer be automatically installed to fulfill the  peerDependency
 npm WARN peerDependencies in npm 3+. Your application will need to depend  on it explicitly.
 npm WARN peerDependencies The peer dependency vue-hot-reload-api@^1.2.0  included from vueify will no
 npm WARN peerDependencies longer be automatically installed to fulfill the  peerDependency
 npm WARN peerDependencies in npm 3+. Your application will need to depend   on it explicitly.
 npm WARN optional dep failed, continuing fsevents@1.0.2
 npm ERR! tar.unpack untar error /home/vagrant/.npm/spdx-expression- parse/1.0.0/package.tgz

 > expect@1.12.2 postinstall /home/vagrant/Code/laravel-  spark/node_modules/laravel-elixir/node_modules/gulp-phpspec/node_modules/expect
 > node ./npm-scripts/postinstall.js

npm WARN optional dep failed, continuing fsevents@1.0.2
npm ERR! tar.unpack untar error /home/vagrant/.npm/hosted-git-info/2.1.4/package.tgz
npm ERR! tar.unpack untar error /home/vagrant/.npm/validate-npm-package-license/3.0.1/package.tgz
npm ERR! tar.unpack untar error /home/vagrant/.npm/normalize-package-data/2.3.4/package.tgz
npm ERR! tar.unpack untar error /home/vagrant/.npm/hosted-git-info/2.1.4/package.tgz
npm ERR! tar.unpack untar error /home/vagrant/.npm/hosted-git-info/2.1.4/package.tgz
npm ERR! tar.unpack untar error /home/vagrant/.npm/normalize-package- data/2.3.4/package.tgz
npm ERR! tar.unpack untar error /home/vagrant/.npm/hosted-git- info/2.1.4/package.tgz
npm ERR! tar.unpack untar error /home/vagrant/.npm/normalize-package- data/2.3.4/package.tgz
npm WARN optional dep failed, continuing fsevents@1.0.2
npm ERR! tar.unpack untar error  /home/vagrant/.npm/request/2.11.4/package.tgz
npm ERR! tar.unpack untar error /home/vagrant/.npm/redeyed/0.5.0/package.tgz
npm WARN optional dep failed, continuing utf-8-validate@1.2.1
npm WARN optional dep failed, continuing bufferutil@1.2.1
npm WARN optional dep failed, continuing utf-8-validate@1.2.1

    > bufferutil@1.2.1 install /home/vagrant/Code/laravel-  spark/node_modules/laravel-elixir/node_modules/browser-    sync/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/        bufferutil
    > node-gyp rebuild

    make: Entering directory `/home/vagrant/Code/laravel-  spark/node_modules/laravel-elixir/node_modules/browser-      sync/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/       bufferutil/build'
   make: Warning: File `bufferutil.target.mk' has modification time 1.8 s  in    the future
  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
  In file included from ../src/bufferutil.cc:8:0:
  /home/vagrant/.node-gyp/4.1.1/include/node/node.h:428:3: fatal error:      opening dependency file     ./Release/.deps/Release/obj.target/bufferutil/src/bufferutil.o.d.raw: Operation    not permitted
  }
  ^
  /home/vagrant/.node-gyp/4.1.1/include/node/node.h:450:3: note: in expansion of  macro ‘NODE_MODULE_X’
  NODE_MODULE_X(modname, regfunc, NULL, 0)
  ^
 ../src/bufferutil.cc:120:1: note: in expansion of macro ‘NODE_MODULE’
 NODE_MODULE(bufferutil, init)
 ^
 compilation terminated.
 make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Error 1
 make: Leaving directory `/home/vagrant/Code/laravel-  spark/node_modules/laravel-elixir/node_modules/browser-  sync/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/ bufferutil/build'
 gyp ERR! build error
 Error: `make` failed with exit code: 2
 gyp ERR! stack     at ChildProcess.onExit   (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
 gyp ERR! stack     at emitTwo (events.js:87:13)
 gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
 gyp ERR! stack     at Process.ChildProcess._handle.onexit   (internal/child_process.js:200:12)
 gyp ERR! System Linux 3.19.0-25-generic
 gyp ERR! command "/usr/bin/nodejs"  "/usr/lib/node_modules/npm/node_modules/node-   gyp/bin/node-gyp.js" "rebuild"
 gyp ERR! cwd /home/vagrant/Code/laravel-spark/node_modules/laravel-  elixir/node_modules/browser- sync/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/ bufferutil
 gyp ERR! node -v v4.1.1
 gyp ERR! node-gyp -v v3.0.3
 gyp ERR! not ok
 npm WARN optional dep failed, continuing bufferutil@1.2.1
 npm ERR! tar.unpack untar error /home/vagrant/.npm/is-fullwidth-code- point/1.0.0/package.tgz
 npm ERR! tar.unpack untar error  /home/vagrant/.npm/lodash._createpadding/3.6.1/package.tgz
 npm ERR! tar.unpack untar error  /home/vagrant/.npm/minimatch/1.0.0/package.tgz
 npm WARN optional dep failed, continuing source-map@0.2.0
 npm WARN optional dep failed, continuing request@2.65.0
 npm ERR! Linux 3.19.0-25-generic
 npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
 npm ERR! node v4.1.1
 npm ERR! npm  v2.14.4
 npm ERR! path /home/vagrant/Code/laravel- spark/node_modules/gulp/node_modules/gulp- util/node_modules/dateformat/node_modules/meow/node_modules/redent/node_modules/ indent-string/node_modules/repeating/node_modules/is- finite/package.json.1e4bb64b90431a2b7469fc227112bf51
 npm ERR! code EPERM
 npm ERR! errno -1
 npm ERR! syscall open

 npm ERR! Error: EPERM: operation not permitted, open  '/home/vagrant/Code/laravel-spark/node_modules/gulp/node_modules/gulp-  util/node_modules/dateformat/node_modules/meow/node_modules/redent/node_modules/     indent-string/node_modules/repeating/node_modules/is-  finite/package.json.1e4bb64b90431a2b7469fc227112bf51'
 npm ERR!     at Error (native)
 npm ERR!  { [Error: EPERM: operation not permitted, open  '/home/vagrant/Code/laravel-spark/node_modules/gulp/node_modules/gulp- util/node_modules/dateformat/node_modules/meow/node_modules/redent/node_modules/ indent-string/node_modules/repeating/node_modules/is-  finite/package.json.1e4bb64b90431a2b7469fc227112bf51']
 npm ERR!   errno: -1,
 npm ERR!   code: 'EPERM',
 npm ERR!   syscall: 'open',
 npm ERR!   path: '/home/vagrant/Code/laravel-  spark/node_modules/gulp/node_modules/gulp-  util/node_modules/dateformat/node_modules/meow/node_modules/redent/node_modules/     indent-string/node_modules/repeating/node_modules/is-   finite/package.json.1e4bb64b90431a2b7469fc227112bf51' }
 npm ERR!
 npm ERR! Please try running this command again as root/Administrator.

 npm ERR! Linux 3.19.0-25-generic
 npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
 npm ERR! node v4.1.1
 npm ERR! npm  v2.14.4
 npm ERR! path npm-debug.log.a08378d997b4655c60a2069f82821277
 npm ERR! code ETXTBSY
 npm ERR! errno -26
 npm ERR! syscall rename

 npm ERR! ETXTBSY: text file is busy, rename 'npm- debug.log.a08378d997b4655c60a2069f82821277' -> 'npm-debug.log'
 npm ERR!
 npm ERR! If you need help, you may report this error at:
 npm ERR!     <https://github.com/npm/npm/issues>

 npm ERR! Please include the following file with any support request:
 npm ERR!     /home/vagrant/Code/laravel-spark/npm-debug.log
npm WARN package.json@No repository字段。
npm WARN package.json@No license字段。
npm警告可选dep失败,继续fsevents@1.0.2
npm WARN PEERDEpendency vueify中包含的对等依赖项vueify insert css@^1.0.0将不会
npm WARN peerDependency不再自动安装,以实现peerDependency
npm 3+中的npm警告对等依赖项。您的应用程序将需要显式地依赖它。
npm WARN PEERDEpendency vueify中包含的对等依赖项babel runtime@^5.8.25将不会
npm WARN peerDependency不再自动安装,以实现peerDependency
npm 3+中的npm警告对等依赖项。您的应用程序将需要显式地依赖它。
npm WARN PEERDEpendency vueify中包含的对等依赖项vue热重新加载api@^1.2.0将不会
npm WARN peerDependency不再自动安装,以实现peerDependency
npm 3+中的npm警告对等依赖项。您的应用程序将需要显式地依赖它。
npm警告可选dep失败,继续fsevents@1.0.2
npm错误!tar.unpack untar error/home/vagrant/.npm/spdx表达式-parse/1.0.0/package.tgz
> expect@1.12.2postinstall/home/vagrant/Code/laravel-spark/node_modules/laravel elixir/node_modules/gulp phpspec/node_modules/expect
>节点。/npm脚本/postinstall.js
npm警告可选dep失败,继续fsevents@1.0.2
npm错误!tar.unpack untar error/home/vagrant/.npm/hosted git info/2.1.4/package.tgz
npm错误!tar.unpack untar error/home/vagrant/.npm/validate npm package license/3.0.1/package.tgz
npm错误!tar.unpack untar error/home/vagrant/.npm/normalize package data/2.3.4/package.tgz
npm错误!tar.unpack untar error/home/vagrant/.npm/hosted git info/2.1.4/package.tgz
npm错误!tar.unpack untar error/home/vagrant/.npm/hosted git info/2.1.4/package.tgz
npm错误!tar.unpack untar error/home/vagrant/.npm/normalize package-data/2.3.4/package.tgz
npm错误!tar.unpack untar error/home/vagrant/.npm/hosted git-info/2.1.4/package.tgz
npm错误!tar.unpack untar error/home/vagrant/.npm/normalize package-data/2.3.4/package.tgz
npm警告可选dep失败,继续fsevents@1.0.2
npm错误!tar.unpack untar error/home/vagrant/.npm/request/2.11.4/package.tgz
npm错误!tar.unpack untar error/home/vagrant/.npm/redyed/0.5.0/package.tgz
npm警告可选dep失败,继续utf-8-validate@1.2.1
npm警告可选dep失败,继续bufferutil@1.2.1
npm警告可选dep失败,继续utf-8-validate@1.2.1
> bufferutil@1.2.1安装/home/vagrant/Code/laravel-spark/node_modules/laravel elixir/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil
>节点gyp重建
make:进入目录“/home/vagrant/Code/laravel-spark/node\u modules/laravel elixir/node\u modules/browser-sync/node\u modules/socket.io/node\u modules/engine.io/node\u modules/ws/node\u modules/bufferutil/build”
make:警告:文件'bufferutil.target.mk'的修改时间为1.8秒
CXX(目标)发布/obj.target/bufferutil/src/bufferutil.o
在../src/bufferutil.cc中包含的文件中:8:0:
/home/vagrant/.node gyp/4.1.1/include/node/node.h:428:3:致命错误:打开依赖项文件。/Release/.deps/Release/obj.target/bufferutil/src/bufferutil.o.d.raw:不允许操作
}
^
/home/vagrant/.node gyp/4.1.1/include/node/node.h:450:3:注意:在宏“node\u MODULE\u X”的展开中
NODE_MODULE_X(modname,regfunc,NULL,0)
^
../src/bufferutil.cc:120:1:注意:在宏“NODE_MODULE”的扩展中
节点_模块(bufferutil,init)
^
编译终止。
make:**[Release/obj.target/bufferutil/src/bufferutil.o]错误1
make:离开目录“/home/vagrant/Code/laravel-spark/node\u modules/laravel elixir/node\u modules/browser-sync/node\u modules/socket.io/node\u modules/engine.io/node\u modules/ws/node\u modules/bufferutil/build”
哎呀!构建错误
错误:`make`失败,退出代码:2
哎呀!堆栈位于ChildProcess.onExit(/usr/lib/node_modules/npm/node_modules/node gyp/lib/build.js:270:23)
哎呀!在emitTwo处堆栈(events.js:87:13)
哎呀!ChildProcess.emit处的堆栈(events.js:172:7)
哎呀!在Process.ChildProcess.\u handle.onexit(internal/child\u Process.js:200:12)处堆栈
哎呀!系统Linux 3.19.0-25-generic
哎呀!命令“/usr/bin/nodejs”“/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js”“重建”
哎呀!cwd/home/vagrant/Code/laravel spark/node_modules/laravel-elixir/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil
哎呀!节点-v4.1.1
哎呀!节点gyp-v3.0.3
哎呀!不好
npm警告可选dep失败,继续bufferutil@1.2.1
npm错误!tar.unpack untar error/home/vagrant/.npm/is全宽代码-point/1.0.0/package.tgz
npm错误!tar.unpack untar error/home/vagrant/.npm/lodash.\u createpadding/3.6.1/package.tgz
npm错误!tar.unpack untar error/home/vagrant/.npm/minimatch/1.0.0/package.tgz
npm警告可选dep失败,继续源-map@0.2.0
npm警告可选dep失败,继续request@2.65.0
npm错误!Linux 3.19.0-25-generic
npm错误!argv“/usr/bin/nodejs”“/usr/bin/npm”“安装”
npm错误!节点v4.1.1
npm错误!npm v2.14.4
npm错误!path/home/vagrant/Code/laravel-spark/node_modules/gulp/node_modules/gulp-util/node_modules/dateformat/node_modules/meow/node_modules/redent/node_modules/indent string/node_modules/is-finite/package.json 1E4BB64B90431A2B7469FC22712BF51
npm错误!代码EPERM
npm错误!errno-1
npm错误!系统调用打开
npm错误!错误:EPERM:不允许操作,打开“/home/vagrant/Code/laravel spark/node_modules/gulp/node_modules/gulp-util/node_modules/dateformat/node_modules/meow/node_module