TypeError: Path must be a string. Received undefined

来源:互联网 发布:淘宝商品列表代码 编辑:程序博客网 时间:2024/06/06 03:24

TypeError

TypeError: Path must be a string. Received undefinedTypeError: Path must be a string. Received undefined    at assertPath (path.js:7:11)    at Object.normalize (path.js:311:5)    at normalize (C:\Users\AllenIverson\.gitbook\versions\3.2.2\lib\utils\location.js:39:17)    at Object.toAbsolute (C:\Users\AllenIverson\.gitbook\versions\3.2.2\lib\utils\location.js:72:13)    at C:\Users\AllenIverson\.gitbook\versions\3.2.2\lib\output\modifiers\resolveImages.js:24:29    at C:\Users\AllenIverson\.gitbook\versions\3.2.2\lib\output\modifiers\editHTMLElement.js:11:16    at C:\Users\AllenIverson\.gitbook\versions\3.2.2\lib\utils\promise.js:36:16    at C:\Users\AllenIverson\.gitbook\versions\3.2.2\lib\utils\promise.js:22:20    at _fulfilled (C:\Users\AllenIverson\.gitbook\versions\3.2.2\node_modules\q\q.js:834:54)    at self.promiseDispatch.done (C:\Users\AllenIverson\.gitbook\versions\3.2.2\node_modules\q\q.js:863:30)

不是真的路径有错误,而是该文件里面的内容有无法识别,转换为html格式文件。文件里面的HTML标签一定要放在代码块里面

出错的地方:在表单中给出<img>指向VerifyCodeServlet,用来在页面中显示验证码图片
改为:在表单中给出&lt;img>指向VerifyCodeServlet,用来在页面中显示验证码图片
即将<改为&lt;

0 0
原创粉丝点击