I’ve installed the demo-3 app but when I try run it (npm start) I’m getting the following error:
mediasoup-demo-app@3.0.0 start
gulp live
Error: Cannot find module ‘stylus’
Require stack:
- C:\dev\HTMLetc\mediasoup-demo-3\app\node_modules\accord\lib\index.js
- C:\dev\HTMLetc\mediasoup-demo-3\app\node_modules\gulp-stylus\index.js
- C:\dev\HTMLetc\mediasoup-demo-3\app\gulpfile.js
- C:\dev\HTMLetc\mediasoup-demo-3\app\node_modules\gulp-cli\lib\shared\require-or-import.js
- C:\dev\HTMLetc\mediasoup-demo-3\app\node_modules\gulp-cli\lib\versioned^4.0.0\index.js
- C:\dev\HTMLetc\mediasoup-demo-3\app\node_modules\gulp-cli\index.js
- C:\dev\HTMLetc\mediasoup-demo-3\app\node_modules\gulp\bin\gulp.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
at Function.resolve (node:internal/modules/cjs/helpers:125:19)
at resolve_engine_path (C:\dev\HTMLetc\mediasoup-demo-3\app\node_modules\accord\lib\index.js:65:18)
at exports.load (C:\dev\HTMLetc\mediasoup-demo-3\app\node_modules\accord\lib\index.js:25:19)
at Object. (C:\dev\HTMLetc\mediasoup-demo-3\app\node_modules\gulp-stylus\index.js:4:40)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions…js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19) {
code: ‘MODULE_NOT_FOUND’,
requireStack: [
‘C:\dev\HTMLetc\mediasoup-demo-3\app\node_modules\accord\lib\index.js’,
‘C:\dev\HTMLetc\mediasoup-demo-3\app\node_modules\gulp-stylus\index.js’,
‘C:\dev\HTMLetc\mediasoup-demo-3\app\gulpfile.js’,
‘C:\dev\HTMLetc\mediasoup-demo-3\app\node_modules\gulp-cli\lib\shared\require-or-import.js’,
‘C:\dev\HTMLetc\mediasoup-demo-3\app\node_modules\gulp-cli\lib\versioned\^4.0.0\index.js’,
‘C:\dev\HTMLetc\mediasoup-demo-3\app\node_modules\gulp-cli\index.js’,
‘C:\dev\HTMLetc\mediasoup-demo-3\app\node_modules\gulp\bin\gulp.js’
]
}
I’ve looked in C:\dev\HTMLetc\mediasoup-demo-3\app\node_modules\gulp-stylus, line 4:
var stylus = require(‘accord’).load(‘stylus’);
But other than that I’m stuck. Please someone help?