Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/node.js/34.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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/spring/14.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
Node.js 错误:assertExpression中函数()处的意外标记非法_Node.js_Pug - Fatal编程技术网

Node.js 错误:assertExpression中函数()处的意外标记非法

Node.js 错误:assertExpression中函数()处的意外标记非法,node.js,pug,Node.js,Pug,当我试图在我得到的图像上建立链接时,我试图使用jade来构建我的视图。请问,我该如何解决这个问题 提前谢谢 要么需要引用宽度和高度属性值,要么需要在数字末尾去掉“px”后缀。属性值必须是有效的javascript表达式

当我试图在我得到的图像上建立链接时,我试图使用jade来构建我的视图。请问,我该如何解决这个问题


提前谢谢

要么需要引用宽度和高度属性值,要么需要在数字末尾去掉“px”后缀。属性值必须是有效的javascript表达式