Iot前端Node-Red+ IOT Studio + Github無法訪問解決辦法
51CTO和華為官方合作共建的鴻蒙技術(shù)社區(qū)
今天遇到一個(gè)問題 VS code 安裝CodeLLDB插件安裝不上只能離線安裝訪問github無法訪問,解決辦法是直接訪問鏡像網(wǎng)站。。。
訪問https://github.com/vadimcn/vscode-lldb/releases/download/v1.6.10/codelldb-x86_64-windows.vsix無法訪問。

直接訪問這個(gè)https://fastgit.org/vadimcn/vscode-lldb/releases/download/v1.6.10/codelldb-x86_64-windows.vsix
即可解決,把github.com替換成fastgit.org既可以暢玩Github。

點(diǎn)擊擴(kuò)展,點(diǎn)擊3個(gè)點(diǎn),最后點(diǎn)擊vxis安裝即可離線安裝
最后重啟一下才可以正常使用
**本來打算將iot開發(fā)套件接入阿里云服務(wù)器
由于板子燒了,加之卸載開發(fā)環(huán)境再次安裝一直出問題,所以換了臺(tái)電腦更新延誤了深表歉意。。。。。
預(yù)計(jì)1周左右將發(fā)布上云文章



不知為啥原因,開發(fā)板的一顆磁珠燒了,冒煙了,可能因?yàn)殡娫醇y波原因吧,電腦開機(jī)干擾比較大,才會(huì)出現(xiàn)此問題。

插到了前面板的usb2.0的口銅皮都燒沒了一口我查了查原理圖直接硬焊了一個(gè)0805 0歐的電阻發(fā)現(xiàn)板子沒壞,萬幸。
服務(wù)器安裝開源nodered出現(xiàn)了點(diǎn)問題
安裝成功無法訪問,也不知道是端口的原因還是防火墻的原因。
- Welcome to Alibaba Cloud Elastic Compute Service !
- Last login: Mon Dec 27 18:10:39 2021 from 60.1.134.131
- root@iZ8vb6wledf94ldwjc7d5iZ:~# node-red
- (node:23348) ExperimentalWarning: The fs.promises API is experimental
- 4 Jan 23:10:43 - [info]
Welcome to Node-RED
- 4 Jan 23:10:43 - [info] Node-RED version: v2.1.4
- 4 Jan 23:10:43 - [info] Node.js version: v10.15.3
- 4 Jan 23:10:43 - [info] Linux 4.15.0-158-generic x64 LE
- 4 Jan 23:10:43 - [info] Loading palette nodes
- 4 Jan 23:10:43 - [info] Settings file : /root/.node-red/settings.js
- 4 Jan 23:10:43 - [info] Context store : ‘default’ [module=memory]
- 4 Jan 23:10:43 - [info] User directory : /root/.node-red
- 4 Jan 23:10:43 - [warn] Projects disabled : editorTheme.projects.enabled=false
- 4 Jan 23:10:43 - [info] Flows file : /root/.node-red/flows.json
- (node:23348) ExperimentalWarning: The dns.promises API is experimental
- 4 Jan 23:10:43 - [info] Creating new flow file
- 4 Jan 23:10:43 - [warn]
- Your flow credentials file is encrypted using a system-generated key.
- If the system-generated key is lost for any reason, your credentials
- file will not be recoverable, you will have to delete it and re-enter
- your credentials.
- You should set your own key using the ‘credentialSecret’ option in
- your settings file. Node-RED will then re-encrypt your credentials
- file using your chosen key the next time you deploy a change.
- 4 Jan 23:10:43 - [info] Server now running at http://127.0.0.1:1880/
- 4 Jan 23:10:43 - [info] Starting flows
- 4 Jan 23:10:43 - [info] Started flows

以下是windows本地安裝的可以實(shí)現(xiàn)
1.安裝node-v12.16.3-x64 1.安裝Node.js
檢查 使用Powershell: node --version; npm --version
使用cmd: node --version && npm --version
您應(yīng)該收到類似于以下內(nèi)容的輸出:
- v10.16.3
- 6.11.3
2.運(yùn)行powershell.exe - 快捷方式輸入npm install -g --unsafe-perm node-red
如果命令輸出的結(jié)尾類似于以下內(nèi)容,則可以確認(rèn)它已成功:
- node-red@1.0.0
- added 332 packages from 341 contributors in 18.494s
- found 0 vulnerabilities
3.運(yùn)行 必須用cmd命令node-red
4.登錄 類似的 http://127.0.0.1:1880/
本來把源碼部署到服務(wù)器

即可完成
部署到服務(wù)器我不清楚咋解決了(無法訪問服務(wù)器node-red)希望大佬們有解決辦法希望下面留言
本人被迫使用 IoT studio 可視化編程

感謝大佬指正錯(cuò)誤
解決服務(wù)器訪問node-red問題!!!!
51CTO和華為官方合作共建的鴻蒙技術(shù)社區(qū)