-
Notifications
You must be signed in to change notification settings - Fork 8
Description
heya! I'm running a new install of ubuntu 16.04 and I have trouble setting up my dev environment. First up, if i just run sudo apt-get install npm
i end up with:
➜ ~ npm -v
3.5.2
➜ ~ node -v
v4.2.6
I'm not sure which versions of node and npm you were expecting.
i believe, since you're using the global flag (-g
), you need a sudo
before both npm install -g gulp
and npm install -g bower
.
when running npm install
i got an error:
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.12
However, this looks OK, because it's optional and just a WARN not a FATAL.
next up is that node
can't actually be run in bower install
, because it's called nodejs
, so thanks to stack overflow, i had to run this:
sudo ln -s /usr/bin/nodejs /usr/bin/node
after that bower install
gives me this error
bower install
bower invalid-meta The "main" field cannot contain minified files
which I can not currently get past, but haven't given up! it looks like maybe one of the src files we're referencing is minified which is not desired? i only see the vendor files as being minified, but i'm kinda stabbing in the dark here being a node newb. Hopefully using non-minified version is compatible with your dev set up so it won't break it or force upgrade or some such silliness.