Currently, I'm attempting to utilize Gulp alongside BrowserSync for a website that is being hosted on MAMP and proxied through localhost:8888
.
Unfortunately, upon running gulp, I encounter the following error:
[17:38:48] Starting 'browser-sync'...
[17:38:48] 'browser-sync' errored after 14 ms
[17:38:48] TypeError: Cannot call method 'match' of undefined
at Object.opts.callbacks.proxy (/Applications/MAMP/htdocs/garcialau/wp-content/themes/garcialau/node_modules/browser-sync/lib/cli/cli-options.js:123:21)
// Additional error lines here...
michaels-mbp:garcialau ParanoidAndroid$
This is my Gulpfile.js content:
(function() {
// Gulp tasks defined here...
})();
Here's a snippet from my Package.json file:
{
"name": "Quench",
"version": "1.0.0",
// Other package details listed here...
}
If anyone can provide assistance or guidance on how to resolve this issue, it would be highly appreciated! I am still learning about npm, Grunt, and BrowserSync.
Thanks in advance!