文中相关设备来源于51CTO鸿蒙技术社区【开发板漂流计划】 今天遇到一个问题 VS code 安装CodeLLDB插件安装不上只能离线安装访问github无法访问,解决办法是直接访问镜像网站。。。。

访问https://github.com/vadimcn/vscode-lldb/releases/download/v1.6.10/codelldb-x86_64-windows.vsix无法访问 github.PNG 直接访问这个https://fastgit.org/vadimcn/vscode-lldb/releases/download/v1.6.10/codelldb-x86_64-windows.vsix 即可解决, 把github.com替换成fastgit.org既可以畅玩github 插件安装.png 点击扩展,点击3个点,最后点击vxis安装即可离线安装 最后重启一下才可以正常使用

**本来打算将iot开发套件接入阿里云服务器 由于板子烧了,加之卸载开发环境再次安装一直出问题,所以换了台电脑更新延误了深表歉意。。。。。 预计1周左右将发布上云文章 **

微信图片_20220104225634.jpg微信图片_20220104225623.jpg微信图片_20220104225641.jpg

不知为啥原因,开发板的一颗磁珠烧了,冒烟了,可能因为电源纹波原因吧,电脑开机干扰比较大,才会出现此问题,微信图片_20220104230042.jpg 插到了前面板的usb2.0的口铜皮都烧没了一口我查了查原理图直接硬焊了一个0805 0欧的电阻发现板子没坏,万幸。

服务器安装开源nodered出现了点问题 安装成功无法访问,也不知道是端口的原因还是防火墙的原因 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 me.png

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

1.安装node-v12.16.3-x64 1.安装Node.js 检查 使用Powershell: node --version; npm --version

使用cmd: node --version && npm --version 您应该收到类似于以下内容的输出:

v10.16.3 6.11.3

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

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

  • node-red@1.0.0 added 332 packages from 341 contributors in 18.494s found 0 vulnerabilities

3运行 必须用cmd命令node-red 4登录 类似的 http://127.0.0.1:1880/ 本来把源码部署到服务器rdd.png 即可完成 部署到服务器我不清楚咋解决了(无法访问服务器node-red)希望大佬们有解决办法希望下面留言

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

感谢大佬指正错误

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

想了解更多关于鸿蒙的内容,请访问:

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

https://harmonyos.51cto.com/#bkwz

::: hljs-center

21_9.jpg

:::