When I run npm run uf-assets-install from /build:
vagrant@homestead:~/userfrosting/build$ npm run uf-assets-install
> @userfrosting/userfrosting@4.1.0 uf-assets-install /home/vagrant/userfrosting/build
> gulp bower-install
[22:01:14] Local gulp not found in ~/userfrosting/build
[22:01:14] Try running: npm install gulp
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @userfrosting/userfrosting@4.1.0 uf-assets-install: `gulp bower-install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @userfrosting/userfrosting@4.1.0 uf-assets-install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/vagrant/.npm/_logs/2018-05-06T22_01_14_162Z-debug.log
When I run npm install gulp in /build
vagrant@homestead:~/userfrosting/build$ npm install gulp
npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN rollback Rolling back is-accessor-descriptor@1.0.0 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/base/node_modules/is-accessor-descriptor/package.json.1397837691’
npm WARN rollback Rolling back component-emitter@1.2.1 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/base/node_modules/component-emitter/package.json.4098553882’
npm WARN rollback Rolling back is-descriptor@1.0.2 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/base/node_modules/is-descriptor/package.json.3853333114’
npm WARN rollback Rolling back is-data-descriptor@1.0.0 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/base/node_modules/is-data-descriptor/package.json.3047121691’
npm WARN rollback Rolling back arr-flatten@1.1.0 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/braces/node_modules/arr-flatten/package.json.2421274518’
npm WARN rollback Rolling back define-property@1.0.0 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/base/node_modules/define-property/package.json.97517783’
npm WARN rollback Rolling back array-unique@0.3.2 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/braces/node_modules/array-unique/package.json.1239151277’
npm WARN rollback Rolling back class-utils@0.3.6 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/class-utils/package.json.2638841020’
npm WARN rollback Rolling back extend-shallow@2.0.1 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/braces/node_modules/extend-shallow/package.json.131084252’
npm WARN rollback Rolling back ansi-styles@2.2.1 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/chalk/node_modules/ansi-styles/package.json.4146116307’
npm WARN rollback Rolling back component-emitter@1.2.1 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/cache-base/node_modules/component-emitter/package.json.2628699855’
npm WARN rollback Rolling back arr-union@3.1.0 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/class-utils/node_modules/arr-union/package.json.972209219’
npm WARN rollback Rolling back defaults@1.0.3 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/defaults/package.json.3615621351’
npm WARN rollback Rolling back define-property@0.2.5 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/expand-brackets/node_modules/define-property/package.json.3469417518’
npm WARN rollback Rolling back define-property@0.2.5 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/class-utils/node_modules/define-property/package.json.3920119222’
npm WARN rollback Rolling back clone@1.0.4 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/defaults/node_modules/clone/package.json.3055311981’
npm WARN rollback Rolling back assign-symbols@1.0.0 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/extend-shallow/node_modules/assign-symbols/package.json.853128002’
npm WARN rollback Rolling back extend-shallow@2.0.1 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/expand-brackets/node_modules/extend-shallow/package.json.392148926’
npm WARN rollback Rolling back array-unique@0.3.2 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/extglob/node_modules/array-unique/package.json.3270738714’
npm WARN rollback Rolling back extend-shallow@3.0.2 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/extend-shallow/package.json.331960199’
npm WARN rollback Rolling back extend-shallow@2.0.1 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/extglob/node_modules/extend-shallow/package.json.1756990689’
npm WARN rollback Rolling back is-extendable@1.0.1 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/extend-shallow/node_modules/is-extendable/package.json.3991053946’
npm WARN rollback Rolling back is-data-descriptor@1.0.0 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/extglob/node_modules/is-data-descriptor/package.json.309973898’
npm WARN rollback Rolling back is-descriptor@1.0.2 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/extglob/node_modules/is-descriptor/package.json.1655546577’
npm WARN rollback Rolling back fancy-log@1.3.2 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/fancy-log/package.json.2839572076’
npm WARN rollback Rolling back is-accessor-descriptor@1.0.0 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/extglob/node_modules/is-accessor-descriptor/package.json.4238724816’
npm WARN rollback Rolling back ansi-gray@0.1.1 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/fancy-log/node_modules/ansi-gray/package.json.1546966499’
npm WARN rollback Rolling back define-property@1.0.0 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/extglob/node_modules/define-property/package.json.3066159362’
npm WARN rollback Rolling back through2@0.6.5 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/glob-stream/node_modules/through2/package.json.976499954’
npm WARN rollback Rolling back ansi-wrap@0.1.0 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/fancy-log/node_modules/ansi-wrap/package.json.562362212’
npm WARN rollback Rolling back color-support@1.1.3 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/fancy-log/node_modules/color-support/package.json.4219168955’
npm WARN rollback Rolling back readable-stream@1.0.34 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/glob-stream/node_modules/readable-stream/package.json.2446024612’
npm WARN rollback Rolling back array-uniq@1.0.3 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/gulp-util/node_modules/array-uniq/package.json.400719842’
npm WARN rollback Rolling back array-differ@1.0.0 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/gulp-util/node_modules/array-differ/package.json.2961116272’
npm WARN rollback Rolling back ansi-regex@2.1.1 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/has-ansi/node_modules/ansi-regex/package.json.2873188806’
npm WARN rollback Rolling back has-ansi@2.0.0 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/has-ansi/package.json.3729900004’
npm WARN rollback Rolling back balanced-match@1.0.0 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/minimatch/node_modules/balanced-match/package.json.161832786’
npm WARN rollback Rolling back array-unique@0.3.2 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/micromatch/node_modules/array-unique/package.json.504308972’
npm WARN rollback Rolling back beeper@1.1.1 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/gulp-util/node_modules/beeper/package.json.1052378780’
npm WARN rollback Rolling back arr-diff@4.0.0 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/micromatch/node_modules/arr-diff/package.json.2835092180’
npm WARN rollback Rolling back glob@4.5.3 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/glob/package.json.3979558652’
npm WARN rollback Rolling back object-assign@3.0.0 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/gulp-util/node_modules/object-assign/package.json.861045644’
npm WARN rollback Rolling back brace-expansion@1.1.11 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/minimatch/node_modules/brace-expansion/package.json.4166101487’
npm WARN rollback Rolling back glob-stream@3.1.18 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/glob-stream/package.json.717264264’
npm WARN rollback Rolling back minimatch@2.0.10 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/minimatch/package.json.486186651’
npm WARN rollback Rolling back concat-map@0.0.1 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/minimatch/node_modules/concat-map/package.json.3052082397’
npm WARN rollback Rolling back chalk@1.1.3 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/chalk/node_modules/ansi-styles/package.json.4146116307’
npm WARN rollback Rolling back base@0.11.2 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/base/node_modules/component-emitter/package.json.4098553882’
npm WARN rollback Rolling back extglob@2.0.4 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/extglob/node_modules/define-property/package.json.3066159362’
npm WARN rollback Rolling back cache-base@1.0.1 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/cache-base/node_modules/component-emitter/package.json.2628699855’
npm WARN rollback Rolling back micromatch@3.1.10 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/micromatch/node_modules/arr-diff/package.json.2835092180’
npm WARN rollback Rolling back expand-brackets@2.1.4 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/expand-brackets/node_modules/extend-shallow/package.json.392148926’
npm WARN rollback Rolling back nanomatch@1.2.9 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/nanomatch/node_modules/arr-diff/package.json.2391569920’
npm WARN rollback Rolling back braces@2.3.2 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/braces/node_modules/array-unique/package.json.1239151277’
npm WARN rollback Rolling back gulp-util@3.0.8 failed (this is probably harmless): ETXTBSY: text file is busy, unlink ‘/home/vagrant/userfrosting/build/node_modules/gulp-util/node_modules/object-assign/package.json.861045644’
npm ERR! path /home/vagrant/userfrosting/build/node_modules/defaults/package.json.3615621351
npm ERR! code ETXTBSY
npm ERR! errno -26
npm ERR! syscall rename
npm ERR! ETXTBSY: text file is busy, rename ‘/home/vagrant/userfrosting/build/node_modules/defaults/package.json.3615621351’ -> ‘/home/vagrant/userfrosting/build/node_modules/defaults/package.json’
npm ERR! A complete log of this run can be found in:
npm ERR! /home/vagrant/.npm/_logs/2018-05-06T22_02_34_621Z-debug.log
Logs from npm run uf-assets-install in /build:
0 info it worked if it ends with ok
1 verbose cli [ ‘/usr/bin/node’, ‘/usr/bin/npm’, ‘run’, ‘uf-assets-install’ ]
2 info using npm@6.0.0
3 info using node@v8.11.1
4 verbose run-script [ ‘preuf-assets-install’,
4 verbose run-script ‘uf-assets-install’,
4 verbose run-script ‘postuf-assets-install’ ]
5 info lifecycle @userfrosting/userfrosting@4.1.0~preuf-assets-install: @userfrosting/userfrosting@4.1.0
6 info lifecycle @userfrosting/userfrosting@4.1.0~uf-assets-install: @userfrosting/userfrosting@4.1.0
7 verbose lifecycle @userfrosting/userfrosting@4.1.0~uf-assets-install: unsafe-perm in lifecycle true
8 verbose lifecycle @userfrosting/userfrosting@4.1.0~uf-assets-install: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/vagrant/userfrosting/build/node_modules/.bin:/home/vagrant/.composer/vendor/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
9 verbose lifecycle @userfrosting/userfrosting@4.1.0~uf-assets-install: CWD: /home/vagrant/userfrosting/build
10 silly lifecycle @userfrosting/userfrosting@4.1.0~uf-assets-install: Args: [ ‘-c’, ‘gulp bower-install’ ]
11 silly lifecycle @userfrosting/userfrosting@4.1.0~uf-assets-install: Returned: code: 1 signal: null
12 info lifecycle @userfrosting/userfrosting@4.1.0~uf-assets-install: Failed to exec uf-assets-install script
13 verbose stack Error: @userfrosting/userfrosting@4.1.0 uf-assets-install: gulp bower-install
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:283:16)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:283:16)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at EventEmitter.emit (events.js:214:7)
13 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at ChildProcess.emit (events.js:214:7)
13 verbose stack at maybeClose (internal/child_process.js:925:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
14 verbose pkgid @userfrosting/userfrosting@4.1.0
15 verbose cwd /home/vagrant/userfrosting/build
16 verbose Linux 4.15.0-20-generic
17 verbose argv “/usr/bin/node” “/usr/bin/npm” “run” “uf-assets-install”
18 verbose node v8.11.1
19 verbose npm v6.0.0
20 error code ELIFECYCLE
21 error errno 1
22 error @userfrosting/userfrosting@4.1.0 uf-assets-install: gulp bower-install
22 error Exit status 1
23 error Failed at the @userfrosting/userfrosting@4.1.0 uf-assets-install script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]