How to add 'del' dependency in gulp

2019-09-01 17:57发布

问题:

New to gulp, need to add the dependency 'del'.

I have seen this delete dependency but unable to found the npm installation for this 'del'. If directly tried to access

var del = require('del');

It throws error unable to find the module.

Can anyone help out...

回答1:

Have you installed it?

npm install --save-dev del

https://www.npmjs.org/package/del



标签: gulp