Failed at the youtransfer@1.1.0 start script 'gulp clean && gulp dist && node app.js'.
See original GitHub issueAfter installing and starting YouTransfer with Node.js under Ubuntu Server 18.04.1 LTS, it start´s and crashes directly with the following:
rockdasnetz@transfer:~/transfer/YouTransfer-master$ sudo PORT=80 npm start
youtransfer@1.1.0 start /home/rockdasnetz/transfer/YouTransfer-master gulp clean && gulp dist && node app.js
[07:30:03] Using gulpfile ~/transfer/YouTransfer-master/gulpfile.js [07:30:03] Starting ‘cleanTask’… [07:30:03] Finished ‘cleanTask’ after 140 ms [07:30:03] Starting ‘clean’… [07:30:03] Finished ‘clean’ after 117 μs [07:30:10] Using gulpfile ~/transfer/YouTransfer-master/gulpfile.js [07:30:10] Starting ‘browserifyAppTask’… [07:30:10] Starting ‘browserifyVendorTask’… [07:30:10] Starting ‘copyStaticTask’… [07:30:10] Starting ‘lessTask’… [07:30:20] Finished ‘lessTask’ after 10 s [07:30:44] Finished ‘browserifyVendorTask’ after 33 s [07:30:45] Finished ‘browserifyAppTask’ after 35 s [07:30:45] Finished ‘copyStaticTask’ after 35 s [07:30:45] Starting ‘build’… [07:30:45] Finished ‘build’ after 141 μs [07:30:45] Starting ‘dist’… [07:30:45] Finished ‘dist’ after 334 μs restify listening at http://[::]:80 07:30:49.771Z INFO youtransfer: Scheduled cleanup of expired files /home/rockdasnetz/transfer/YouTransfer-master/lib/localstorage.js:256 if(files.length <= 0) { ^
TypeError: Cannot read property ‘length’ of undefined at /home/rockdasnetz/transfer/YouTransfer-master/lib/localstorage.js:256:12 at FSReqWrap.oncomplete (fs.js:135:15)
npm ERR! Linux 4.15.0-32-generic
npm ERR! argv “/usr/bin/node” “/usr/bin/npm” “start”
npm ERR! node v8.10.0
npm ERR! npm v3.5.2
npm ERR! code ELIFECYCLE
npm ERR! youtransfer@1.1.0 start: gulp clean && gulp dist && node app.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the youtransfer@1.1.0 start script ‘gulp clean && gulp dist && node app.js’.
Issue Analytics
- State:
- Created 5 years ago
- Comments:7
Top GitHub Comments
I get this at the
npm install
step