Laravel npm install receive warnings - npm WARN deprecated elegant fs

I am new to Laravel, so I need help. I follow the training from Laracasts on how to manage css and js .

When I try to start npm install, I get some warnings like

npm WARN install Couldn't install optional dependency: Unsupported

I am also trying to install gulp with npm install --global gulp, but I get this

npm WARN deprecated graceful-fs@3.0.8: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated lodash@1.0.2: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.
npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules

so basically, if I try to run a command gulp, I get No command 'gulp' foundfrom the command line.

Any ideas how to fix this?

Just extra info: I'm on vm Ubuntu 14.04, and my versions of node.js and npm are:

node -v
v5.4.1

npm -v
3.3.12

enter image description here

This is the error I get when I try to run npm install --global gulp

enter image description here

+4
source share
2

npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules , , npm install --global gulp , /usr/local/lib/node_modules. , , - , https://docs.npmjs.com/getting-started/fixing-npm-permissions

+2

Gulp . /usr/local/bin/gulp. , , gulp. gulp.

0

All Articles