Answer the question
In order to leave comments, you need to log in
How to install Browsersync on Ubuntu?
Installed Ubuntu 18.04 LTS (Bionic Beaver) kernel 4.15.0-22-generic. I wanted to install Browsersync and before installing node.js and npm as it should be, and after that, to install Browsersync, I entered the command npm install -g browser-sync and this is what the terminal issued: here is the text pm WARN optional Skipping failed optional dependency /browser-sync/chokidar/ fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
npm ERR! Linux 4.15.0-22-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "-g" "browser-sync"
npm ERR! node v8.10.0
npm ERR! npm v3.5.2
npm ERR! path /usr/local/lib
npm ERR! code EACCES
npm ERR! errno -13
npm ERR!
npm ERR! Error: EACCES: permission denied, access '/usr/local/lib'
npm ERR! { Error: EACCES: permission denied, access '/usr/local/lib'
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'access',
npm ERR! path: '/usr/local/lib' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! Please include the following file with any support request:
npm ERR! /home/comp/npm-debug.log
and what does it mean "Please include the following file with any support request: /home/comp/npm-debug.log"
I have this file, but what does it mean include with any support request ?maybe the version of node.js is old, if so, I don’t know how to update it either.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question