thingsboard前端编译

368 阅读1分钟

thingsboard前端编译

问题

yarn install v1.22.17
[1/4] 🔍  Resolving packages...
error Command failed.
Exit code: 128
Command: git
Arguments: fetch --tags
Directory: /Users/noodzhan/Library/Caches/Yarn/v6/.tmp/a9e9105e31952609217e8b837d2a2179
Output:
fatal: not a git repository (or any of the parent directories): .git
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

解决办法

github.com/yarnpkg/yar…

yarn cache clean
rm yarn.lock
rm -rf node_modules/

问题

./src/environments/environment.ts - Error: Module parse failed: parser.destructuringAssignmentPropertiesFor is not a function

解决方法

升级webpack到npm i -D webpack@~5.78.0

thingsboard后台开发

1、 修改

问题?

1、采集设备的数据是怎么聚合到资产?还是走一遍链路规则?

2、采集设备的 用点量、用水量 是怎么存储到taos的。

原始的采集数据是怎么存储的,会直接存储到taos,还是存储到postgres?

用电量和用水量的delta是怎么存储的。

tb_collection_point;

时间戳;属性值;设备_id;属性名称