How to add 'del' dependency in gulp

若如初见. 提交于 2019-12-13 07:35:58

问题


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



来源:https://stackoverflow.com/questions/24858702/how-to-add-del-dependency-in-gulp

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!