- ##### part 1 of 3 ######
- $ sudo npm i
- npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
- npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/gulp/node_modules/chokidar/node_modules/fsevents):
- npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
- npm WARN backup-homedir@1.0.0 No description
- npm WARN backup-homedir@1.0.0 No repository field.
- removed 1 package in 1.75s
- found 0 vulnerabilities
- ##### part 2 of 3 ######
- var gulp = require('gulp');
- gulp.task('backupHomeDir', function () {
- return gulp.src('./*.js') // read all of the files that are in js with a .js extension
- .pipe(gulp.dest('/media/m/sdd2 ntfs/backup/home/'));
- });
- gulp.watch('./*.js', ['default','backupHomeDir']);
- ##### part 3 of 3 ######
- ~$ gulp
- [13:27:35] Local gulp not found in ~
- [13:27:35] Try running: npm install gulp
- ~$ sudo gulp
- [13:27:45] Local gulp not found in /home/administrator
- [13:27:45] Try running: npm install gulp
- ~$ npm install gulp
Untitled
From Thundering Porcupine, 1 Year ago, written in Plain Text, viewed 202 times.
This paste will hop the perch in 1 Second.
URL https://paste.netzgemeinde.eu/view/6e39758b
Embed
Download Paste or View Raw
— Expand Paste to full width of browser