TypeError: Path must be a string. Received undefined

刺骨的言语ヽ痛彻心扉 2022-09-29 01:59 114阅读 0赞

TypeError

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

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

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

发表评论

表情:
评论列表 (有 0 条评论,114人围观)

还没有评论,来说两句吧...

相关阅读