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
not sure if this is related to the OP's issue, but when i `npm i` and run my app locally, now i get this error:
Error: Cannot find module 'browser-sync-client/dist/index.min.js'
Require stack:
- /Users/emurphy/code/starry/banshee/node_modules/browser-sync/dist/snippet.js
- /Users/emurphy/code/starry/banshee/node_modules/browser-sync/dist/hooks.js
- /Users/emurphy/code/starry/banshee/node_modules/browser-sync/dist/browser-sync.js
- /Users/emurphy/code/starry/banshee/node_modules/browser-sync/dist/index.js
- /Users/emurphy/code/starry/banshee/scripts/nodemon.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.resolve (node:internal/modules/cjs/helpers:108:19)
at /Users/emurphy/code/starry/banshee/node_modules/browser-sync/dist/snippet.js:87:52
at /Users/emurphy/code/starry/banshee/node_modules/browser-sync-client/index.js:59:39
at Array.reduce (<anonymous>)
at processItems (/Users/emurphy/code/starry/banshee/node_modules/browser-sync-client/index.js:54:10)
at /Users/emurphy/code/starry/banshee/node_modules/browser-sync-client/index.js:89:22
at call (/Users/emurphy/code/starry/banshee/node_modules/connect/index.js:239:7)
at next (/Users/emurphy/code/starry/banshee/node_modules/connect/index.js:183:5)
at next (/Users/emurphy/code/starry/banshee/node_modules/connect/index.js:161:14)
pinning browser-sync-client to 2.27.9 in my package.json seems to fix the error
the error is caused by the index.min.js file not existing which i confirmed in my node_modules
Issue details
Please provide issue details here.
Steps to reproduce/test case
Please provide necessary steps for reproduction of this issue, or better the
reduced test case (without any external dependencies).
Please specify which version of Browsersync, node and npm you're running
Affected platforms
Browsersync use-case
If CLI, please paste the entire command below
{cli command here}
for all other use-cases, (gulp, grunt etc), please show us exactly how you're using Browsersync
{Browsersync init code here}
The text was updated successfully, but these errors were encountered: