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
i tired to install it normally using:
npm install -g browser-sync
then opened command prompt as administrator then tried again:
npm install -g browser-sync
then tried the solution mentioned here https://browsersync.io/docs/#windows-users i used this:
npm install -g browser-sync --msvs_version=2017
and i still got these errors:
npm WARN deprecated express@2.5.11: express 2.x series is deprecated
npm WARN deprecated connect@1.9.2: connect 1.x series is deprecated
C:\Users\Double Click\AppData\Roaming\npm\browser-sync -> C:\Users\Double Click\AppData\Roaming\npm\node_modules\browser-sync\bin\browser-sync.js
npm ERR! path C:\Users\Double Click\AppData\Roaming\npm\node_modules\browser-sync\node_modules\fsevents\node_modules\aproba\package.json
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall unlink
npm ERR! Error: EPERM: operation not permitted, unlink 'C:\Users\Double Click\AppData\Roaming\npm\node_modules\browser-sync\node_modules\fsevents\nod
e_modules\aproba\package.json'
npm ERR! at Error (native)
npm ERR! { Error: EPERM: operation not permitted, unlink 'C:\Users\Double Click\AppData\Roaming\npm\node_modules\browser-sync\node_modules\fsevents
node_modules\aproba\package.json'
npm ERR! at Error (native)
npm ERR! stack: 'Error: EPERM: operation not permitted, unlink 'C:\Users\Double Click\AppData\Roaming\npm\node_modules\browser-sync\node_m
odules\fsevents\node_modules\aproba\package.json'\n at Error (native)',
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'unlink',
npm ERR! path: 'C:\Users\Double Click\AppData\Roaming\npm\node_modules\browser-sync\node_modules\fsevents\node_modules\aproba\package.j
son' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Double Click\AppData\Roaming\npm-cache_logs\2017-10-19T14_40_47_062Z-debug.log
any help will be appreciated Thank You.
The text was updated successfully, but these errors were encountered:
i found the solution for this it's a problem with npm not browser sync and here is a link for it npm/npm#18380 and the temporary solution is to downgrade npm to 5.3 using this command npm install npm@5.3 -g.
i tired to install it normally using:
npm install -g browser-sync
then opened command prompt as administrator then tried again:
npm install -g browser-sync
then tried the solution mentioned here https://browsersync.io/docs/#windows-users i used this:
npm install -g browser-sync --msvs_version=2017
and i still got these errors:
npm WARN deprecated express@2.5.11: express 2.x series is deprecated
npm WARN deprecated connect@1.9.2: connect 1.x series is deprecated
C:\Users\Double Click\AppData\Roaming\npm\browser-sync -> C:\Users\Double Click\AppData\Roaming\npm\node_modules\browser-sync\bin\browser-sync.js
npm ERR! path C:\Users\Double Click\AppData\Roaming\npm\node_modules\browser-sync\node_modules\fsevents\node_modules\aproba\package.json
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall unlink
npm ERR! Error: EPERM: operation not permitted, unlink 'C:\Users\Double Click\AppData\Roaming\npm\node_modules\browser-sync\node_modules\fsevents\nod
e_modules\aproba\package.json'
npm ERR! at Error (native)
npm ERR! { Error: EPERM: operation not permitted, unlink 'C:\Users\Double Click\AppData\Roaming\npm\node_modules\browser-sync\node_modules\fsevents
node_modules\aproba\package.json'
npm ERR! at Error (native)
npm ERR! stack: 'Error: EPERM: operation not permitted, unlink 'C:\Users\Double Click\AppData\Roaming\npm\node_modules\browser-sync\node_m
odules\fsevents\node_modules\aproba\package.json'\n at Error (native)',
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'unlink',
npm ERR! path: 'C:\Users\Double Click\AppData\Roaming\npm\node_modules\browser-sync\node_modules\fsevents\node_modules\aproba\package.j
son' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Double Click\AppData\Roaming\npm-cache_logs\2017-10-19T14_40_47_062Z-debug.log
any help will be appreciated Thank You.
The text was updated successfully, but these errors were encountered: