How to install gulp?
I run npm install gulp
in Ubuntu. Show this error:
My Server is Ubuntu 16.04.
Framework is Laravel 5.6.
ERROR: npm is known not to run on Node.js v4.2.6
Node.js 4 is supported but the specific version you're running has
a bug known to break npm. Please update to at least 4.7.0 to use this
version of npm. You can find the latest release of Node.js at https://nodejs.org/
How to issue this problem?
UPDATE 1
I run node -v
show this message: v4.2.6
I run sudo apt-get install --only-upgrade nodejs
show this message:
Reading package lists... Done
Building dependency tree
Reading state information... Done
nodejs is already the newest version (9.11.1-1nodesource1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
from Laravel Questions and Answers https://laravelquestions.com/laravel/how-to-install-gulp/
via Lzo Media
No comments:
Post a Comment