Vietnam

    Nodejs.vn

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Groups
    • Search

    TypeError: Request path contains unescaped characters

    Hỏi Đáp
    0
    4
    1045
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Phạm Văn Thành
      Phạm Văn Thành last edited by Phạm Văn Thành

      Chào cả nhà, mình gặp một vấn đề như thế này
      khi cài package [email protected] trên centos6/node8.4 và thực hiện request thì văng lỗi này:
      TypeError: Request path contains unescaped characters
      at new ClientRequest (_http_client.js:125:13)
      at Object.request (http.js:39:10)
      at Object.request (https.js:239:15)
      at FetchStream._runStream (/xxx/node_modules/fetch/lib/fetch.js:276:34)
      at FetchStream.runStream (/xxx/node_modules/fetch/lib/fetch.js:270:14)
      at FetchStream.<anonymous> (/xxx/node_modules/fetch/lib/fetch.js:289:22)
      at Object.onceWrapper (events.js:316:30)
      at emitOne (events.js:115:13)
      at ClientRequest.emit (events.js:210:7)

      Mình nghĩ đây là lỗi version, đã cài lại nhiều lần nhưng ko được, có ai gặp lỗi này rồi chỉ mình với.
      Cảm ơn mọi người.
      at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:565:21)

      Vũ 1 Reply Last reply Reply Quote 0
      • Vũ
        Vũ Global Moderator @Phạm Văn Thành last edited by

        @Phạm-Văn-Thành Đó là bạn nghĩ. Thực tế bạn đã search chưa ?
        Bạn follow theo issue này xem có manh mối gì ko ?
        https://github.com/request/request/issues/2046

        Tech-nông
        Email: [email protected]
        Profile: about.me/vunb
        Github: github.com/vunb
        Twitter: twitter.com/nhubaovu

        1 Reply Last reply Reply Quote 0
        • Phạm Văn Thành
          Phạm Văn Thành last edited by

          mình test thì package fetch khi request 1 link dạng http://www.tienganh.com.vn/showthread.php?18917-Đặt-câu-tiếng-anh/page24 sẽ ngã ngửa ra chết @@

          N 1 Reply Last reply Reply Quote 0
          • N
            Neo @Phạm Văn Thành last edited by

            @Phạm-Văn-Thành Fix được chưa ông?

            @AntoniD

            1 Reply Last reply Reply Quote 0
            • First post
              Last post