zl程序教程

您现在的位置是:首页 >  其他

当前栏目

Iot前端Node-Red+ IOT Studio + Github无法访问解决办法

2023-03-14 11:22:28 时间

想了解更多内容,请访问:

51CTO和华为官方合作共建的鸿蒙技术社区

https://harmonyos.51cto.com

今天遇到一个问题 VS code 安装CodeLLDB插件安装不上只能离线安装访问github无法访问,解决办法是直接访问镜像网站。。。

访问https://github.com/vadimcn/vscode-lldb/releases/download/v1.6.10/codelldb-x86_64-windows.vsix无法访问。

iot前端 node-red+ IOT studio + github 无法访问解决办法-鸿蒙HarmonyOS技术社区

直接访问这个https://fastgit.org/vadimcn/vscode-lldb/releases/download/v1.6.10/codelldb-x86_64-windows.vsix

即可解决,把github.com替换成fastgit.org既可以畅玩Github。

iot前端 node-red+ IOT studio + github 无法访问解决办法-鸿蒙HarmonyOS技术社区

点击扩展,点击3个点,最后点击vxis安装即可离线安装

最后重启一下才可以正常使用

**本来打算将iot开发套件接入阿里云服务器

由于板子烧了,加之卸载开发环境再次安装一直出问题,所以换了台电脑更新延误了深表歉意。。。。。

预计1周左右将发布上云文章

iot前端 node-red+ IOT studio + github 无法访问解决办法-鸿蒙HarmonyOS技术社区
iot前端 node-red+ IOT studio + github 无法访问解决办法-鸿蒙HarmonyOS技术社区
iot前端 node-red+ IOT studio + github 无法访问解决办法-鸿蒙HarmonyOS技术社区

不知为啥原因,开发板的一颗磁珠烧了,冒烟了,可能因为电源纹波原因吧,电脑开机干扰比较大,才会出现此问题。

iot前端 node-red+ IOT studio + github 无法访问解决办法-鸿蒙HarmonyOS技术社区

插到了前面板的usb2.0的口铜皮都烧没了一口我查了查原理图直接硬焊了一个0805 0欧的电阻发现板子没坏,万幸。

服务器安装开源nodered出现了点问题

安装成功无法访问,也不知道是端口的原因还是防火墙的原因。

  1. Welcome to Alibaba Cloud Elastic Compute Service ! 
  2.  
  3. Last login: Mon Dec 27 18:10:39 2021 from 60.1.134.131 
  4.  
  5. root@iZ8vb6wledf94ldwjc7d5iZ:~# node-red 
  6.  
  7. (node:23348) ExperimentalWarning: The fs.promises API is experimental 
  8.  
  9. 4 Jan 23:10:43 - [info] 

Welcome to Node-RED

  1. 4 Jan 23:10:43 - [info] Node-RED version: v2.1.4 
  2.  
  3. 4 Jan 23:10:43 - [info] Node.js version: v10.15.3 
  4.  
  5. 4 Jan 23:10:43 - [info] Linux 4.15.0-158-generic x64 LE 
  6.  
  7. 4 Jan 23:10:43 - [info] Loading palette nodes 
  8.  
  9. 4 Jan 23:10:43 - [info] Settings file : /root/.node-red/settings.js 
  10.  
  11. 4 Jan 23:10:43 - [info] Context store : ‘default’ [module=memory] 
  12.  
  13. 4 Jan 23:10:43 - [info] User directory : /root/.node-red 
  14.  
  15. 4 Jan 23:10:43 - [warn] Projects disabled : editorTheme.projects.enabled=false 
  16.  
  17. 4 Jan 23:10:43 - [info] Flows file : /root/.node-red/flows.json 
  18.  
  19. (node:23348) ExperimentalWarning: The dns.promises API is experimental 
  20.  
  21. 4 Jan 23:10:43 - [info] Creating new flow file 
  22.  
  23. 4 Jan 23:10:43 - [warn] 
  24.  
  25. Your flow credentials file is encrypted using a system-generated key
  26.  
  27. If the system-generated key is lost for any reason, your credentials 
  28.  
  29. file will not be recoverable, you will have to delete it and re-enter 
  30.  
  31. your credentials. 
  32.  
  33. You should set your own key using the ‘credentialSecret’ option in 
  34.  
  35. your settings file. Node-RED will then re-encrypt your credentials 
  36.  
  37. file using your chosen key the next time you deploy a change. 
  38.  
  39. 4 Jan 23:10:43 - [info] Server now running at http://127.0.0.1:1880/ 
  40.  
  41. 4 Jan 23:10:43 - [info] Starting flows 
  42.  
  43. 4 Jan 23:10:43 - [info] Started flows 
iot前端 node-red+ IOT studio + github 无法访问解决办法-鸿蒙HarmonyOS技术社区

以下是windows本地安装的可以实现

1.安装node-v12.16.3-x64 1.安装Node.js

检查 使用Powershell: node --version; npm --version

使用cmd: node --version && npm --version

您应该收到类似于以下内容的输出:

  1. v10.16.3 
  2.  
  3. 6.11.3 

2.运行powershell.exe - 快捷方式输入npm install -g --unsafe-perm node-red

如果命令输出的结尾类似于以下内容,则可以确认它已成功:

  1. node-red@1.0.0 
  2.  
  3. added 332 packages from 341 contributors in 18.494s 
  4.  
  5. found 0 vulnerabilities 

3.运行 必须用cmd命令node-red

4.登录 类似的 http://127.0.0.1:1880/

本来把源码部署到服务器

iot前端 node-red+ IOT studio + github 无法访问解决办法-鸿蒙HarmonyOS技术社区

即可完成

部署到服务器我不清楚咋解决了(无法访问服务器node-red)希望大佬们有解决办法希望下面留言

本人被迫使用 IoT studio 可视化编程

iot前端 node-red+ IOT studio + github 无法访问解决办法-鸿蒙HarmonyOS技术社区

感谢大佬指正错误

解决服务器访问node-red问题!!!!

想了解更多内容,请访问:

51CTO和华为官方合作共建的鸿蒙技术社区

https://harmonyos.51cto.com