Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/node.js/36.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript grunt wiredep不';在库文件夹名称中使用点插入js库_Javascript_Node.js_Gruntjs_Grunt Wiredep - Fatal编程技术网

Javascript grunt wiredep不';在库文件夹名称中使用点插入js库

Javascript grunt wiredep不';在库文件夹名称中使用点插入js库,javascript,node.js,gruntjs,grunt-wiredep,Javascript,Node.js,Gruntjs,Grunt Wiredep,执行时发出咕噜声 grunt wiredep:目标 任务返回: leaflet.markercluster was not injected in your file. Please go take a look in "/home/rd/java/workspace/test-express/bower_components/leaflet.markercluster" for the file you need, then manually include it in your file.

执行时发出咕噜声

grunt wiredep:目标

任务返回:

leaflet.markercluster was not injected in your file.
Please go take a look in "/home/rd/java/workspace/test-express/bower_components/leaflet.markercluster" for the file you need, then manually include it in your file.

对于文件夹名称中带有点的其他LIB,也有相同的行为。其他lib被正确地注入到hmtl和jade文件中。是否有解决此问题的方法?

除了手动添加文件之外,您是否找到了解决方案?否,其他带点的文件夹仍需要使用wiredep手动添加。我的解决方案是将手动添加的libs放在bower:js标记之外。您是使用windows还是mac编程?我使用的是ubuntu 14.1。@RadoslawDardzinski-dou您有解决方案吗??