You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using nwb middleware and the user config is a function, how to pass a command?
I get:
/home/node/web/node_modules/nwb/lib/getUserConfig.js:237
command: args._[0],
^
TypeError: Cannot read property '0' of undefined
at processUserConfig (/home/node/web/node_modules/nwb/lib/getUserConfig.js:237:22)
at getUserConfig (/home/node/web/node_modules/nwb/lib/getUserConfig.js:435:10)
at nwbMiddleware (/home/node/web/node_modules/nwb/lib/expressMiddleware.js:46:48)
at Object.<anonymous> (/home/node/web/server.js:24:11)
at Module._compile (module.js:570:32)
at loader (/home/node/web/node_modules/babel-register/lib/node.js:144:5)
at Object.require.extensions.(anonymous function) [as .js] (/home/node/web/node_modules/babel-register/lib/node.js:154:7)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Function.Module.runMain (module.js:604:10)
at /home/node/web/node_modules/babel-cli/lib/_babel-node.js:159:24
at Object.<anonymous> (/home/node/web/node_modules/babel-cli/lib/_babel-node.js:160:7)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:509:3
The text was updated successfully, but these errors were encountered:
This issue is a:
Using nwb middleware and the user config is a function, how to pass a command?
I get:
The text was updated successfully, but these errors were encountered: