第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定

跟源代碼一模一樣 報錯了

_http_client.js:131

? ? throw new Error('Protocol "' + protocol + '" not supported. ' +

? ? ^


Error: Protocol "https:" not supported. Expected "http:"

? ? at new ClientRequest (_http_client.js:131:11)

? ? at request (http.js:38:10)

? ? at Object.get (http.js:42:13)

? ? at Object.<anonymous> (E:\eclipse\node\http\imooc-crawler.js:3:6)

? ? at Module._compile (module.js:653:30)

? ? at Object.Module._extensions..js (module.js:664:10)

? ? at Module.load (module.js:566:32)

? ? at tryModuleLoad (module.js:506:12)

? ? at Function.Module._load (module.js:498:3)

? ? at Function.Module.runMain (module.js:694:10)


正在回答

2 回答

var http = require('http');

var url = "http://idcbgp.cn/learn/348";

0 回復(fù) 有任何疑惑可以回復(fù)我~

引入 https?
var http = require('https')

1 回復(fù) 有任何疑惑可以回復(fù)我~

舉報

0/150
提交
取消
進擊Node.js基礎(chǔ)(一)
  • 參與學(xué)習(xí)       219294    人
  • 解答問題       982    個

本視頻教程帶你揭開Node.js的面紗,帶你走進一個全新世界

進入課程

跟源代碼一模一樣 報錯了

我要回答 關(guān)注問題
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號