-
Notifications
You must be signed in to change notification settings - Fork 51
Description
I am trying to install the web server but when I get to this step # Setup default configuration files
"./node_modules/.bin/gulp" bundle
it gives me the following error
root@LN-Node-Web:/home/web# npm install --global gulp-cli --force
npm WARN using --force I sure hope you know what you are doing.
npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
/usr/local/bin/gulp -> /usr/local/lib/node_modules/gulp-cli/bin/gulp.js
es5-ext@0.10.62 postinstall /usr/local/lib/node_modules/gulp-cli/node_modules/es5-ext
node -e "try{require('./_postinstall')}catch(e){}" || exit 0
- gulp-cli@2.3.0
added 255 packages from 163 contributors in 6.007s
root@LN-Node-Web:/home/web# "./node_modules/.bin/gulp" bundle
[06:48:46] No gulpfile found
root@LN-Node-Web:/home/web# node server --lndhost=192.168.33.196:10001
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module '/home/web/server'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
root@LN-Node-Web:/home/web# "./node_modules/.bin/gulp" bundle
[06:47:16] No gulpfile found
root@LN-Node-Web:/home/web# npm install --global gulp-cli
npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm ERR! code EEXIST
npm ERR! syscall symlink
npm ERR! path ../lib/node_modules/gulp-cli/bin/gulp.js
npm ERR! dest /usr/local/bin/gulp
npm ERR! errno -17
npm ERR! EEXIST: file already exists, symlink '../lib/node_modules/gulp-cli/bin/gulp.js' -> '/usr/local/bin/gulp'
npm ERR! File exists: /usr/local/bin/gulp
npm ERR! Remove the existing file and try again, or run npm
npm ERR! with --force to overwrite files recklessly.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2023-07-25T06_48_03_652Z-debug.log
OS : Ubuntu 20.04