csgo-league-web
csgo-league-web copied to clipboard
Problems with gulp-sass
Ubuntu 18.04
When installing the web interface, after running npm i
(step 8) I'm getting the following error (Output from the file at /npm/_logs):
22109 verbose pkgid [email protected]
22110 verbose cwd /var/www/csgo-league-web
22111 verbose Linux 4.15.0-156-generic
22112 verbose argv "/usr/bin/node" "/usr/bin/npm" "i"
22113 verbose node v10.24.1
22114 verbose npm v6.14.12
22115 error code ELIFECYCLE
22116 error errno 1
22117 error [email protected] postinstall: `node scripts/build.js`
22117 error Exit status 1
22118 error Failed at the [email protected] postinstall script.
22118 error This is probably not a problem with npm. There is likely additional logging output above.
22119 verbose exit [ 1, true ]
If I then try to keep going, when reaching thep 10: gulp build
I will get the following:
[03:27:58] Requiring external module @babel/register
Browserslist: caniuse-lite is outdated. Please run next command `npm update`
{ Error: Cannot find module 'gulp-sass'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (/var/www/csgo-league-web/gulpfile.babel.js:2:1)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Module._compile (/var/www/csgo-league-web/node_modules/pirates/lib/index.js:99:24)
at Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Object.newLoader [as .js] (/var/www/csgo-league-web/node_modules/pirates/lib/index.js:104:7)
at Module.load (internal/modules/cjs/loader.js:653:32) code: 'MODULE_NOT_FOUND' }
Any help would be appreciated, thanks.