M
M
mrkysha2020-07-19 21:54:30
Browsers
mrkysha, 2020-07-19 21:54:30

Browser sync not working?

I install browser sync, to check I enter the browser-synbc --version command into cmd and writes: YError: Invalid first argument. Expected boolean or string but received function.
at argumentTypeError (C:\Users\markv\AppData\Roaming\npm\node_modules\browser-sync\node_modules\yargs\build\lib\argsert.js:64:11)
at C:\Users\markv\AppData\Roaming\ npm\node_modules\browser-sync\node_modules\yargs\build\lib\argsert.js:45:17
at Array.forEach ()
at Object.argsert (C:\Users\markv\AppData\Roaming\npm\node_modules\browser -sync\node_modules\yargs\build\lib\argsert.js:38:25)
at Object.version (C:\Users\markv\AppData\Roaming\npm\node_modules\browser-sync\node_modules\yargs\build\lib \yargs.js:796:19)
at runFromCli (C:\Users\markv\AppData\Roaming\npm\node_modules\browser-sync\dist\bin.js:46:10)
at Object. (C:\Users\markv\AppData\Roaming\npm\node_modules\browser-sync\dist\bin.js:38:5)
at Module._compile (internal/modules/cjs/loader.js:1138:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
at Module.load (internal/modules/cjs/loader.js:986:32)
[Function]

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question