blackstar-baba / how-2-use-thingsboard Goto Github PK
View Code? Open in Web Editor NEWSome docs help use thingsboard
License: Apache License 2.0
Some docs help use thingsboard
License: Apache License 2.0
您好!
我在做规则节点二次开发尝试,按照文档 Clone [email protected]:blackstar-baba/rule-node-examples-ui-ngx.git并切换到customer后,执行到 yarn run build 时报以下错误,官网的rule-node-examples-ui-ngx前几天也报同样错误,不过昨天修正了,您能否给些提示?非常感谢您的无私奉献!
yarn run v1.22.17
$ ng build && node install.js
Building Angular Package
Compiling TypeScript sources through ngc
ERROR: Undefined function.
56 │ $x1: $x0 - math.div($x0 * $x0 - abs($r), 2 * $x0);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
node_modules/thingsboard/src/scss/mixins.scss 56:16 sqrt()
node_modules/thingsboard/src/app/shared/components/popover.component.scss 123:12 root stylesheet
See "/private/var/folders/0h/f6rx0q794js8q_0rtffvs8l80000gn/T/ng-V8oYuV/angular-errors.log" for further details.
error Command failed with exit code 127.
执行到yarn install报错
源码 mvn clean install -Ddockerfile.skip=false -DskipTests=true
[INFO] Running 'yarn install' in /Users/derek/thingsboard/msa/js-executor
[INFO] yarn install v1.22.4
[INFO] [1/5] Validating package.json...
[INFO] [2/5] Resolving packages...
[INFO] success Already up-to-date.
[INFO] $ pkg -t node12-linux-x64,node12-win-x64 --out-path ./target . && node install.js
[INFO] > [email protected]
[INFO] > Warning Failed to make bytecode node12-x64 for file /snapshot/js-executor/server.js error (write EPIPE)
[ERROR] events.js:288
[ERROR] throw er; // Unhandled 'error' event
[ERROR] ^
[ERROR]
[ERROR] Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
[ERROR] at doWrite (_stream_writable.js:437:19)
[ERROR] at writeOrBuffer (_stream_writable.js:425:5)
[ERROR] at Socket.Writable.write (_stream_writable.js:316:11)
[ERROR] at fabricate (/Users/derek/thingsboard/msa/js-executor/node_modules/pkg/lib-es5/fabricator.js:131:15)
[ERROR] at /Users/derek/thingsboard/msa/js-executor/node_modules/pkg/lib-es5/fabricator.js:144:23
[ERROR] at Socket.onError (/Users/derek/thingsboard/msa/js-executor/node_modules/pkg/lib-es5/fabricator.js:83:5)
[ERROR] at Socket.emit (events.js:311:20)
[ERROR] at errorOrDestroy (internal/streams/destroy.js:108:12)
[ERROR] at onwriteError (_stream_writable.js:456:5)
[ERROR] at onwrite (_stream_writable.js:483:5)
[ERROR] Emitted 'error' event on Socket instance at:
[ERROR] at errorOrDestroy (internal/streams/destroy.js:108:12)
[ERROR] at onwriteError (_stream_writable.js:456:5)
[ERROR] at onwrite (_stream_writable.js:483:5)
[ERROR] at doWrite (_stream_writable.js:437:11)
[ERROR] at writeOrBuffer (_stream_writable.js:425:5)
[ERROR] [... lines matching original stack trace ...]
[ERROR] at Socket.emit (events.js:311:20) {
[ERROR] code: 'ERR_STREAM_DESTROYED'
[ERROR] }
[ERROR] error Command failed with exit code 1.
[INFO] info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
怎么连接MQTT.fx到http://blackstar-baba.com:9090/devices,想试试遥测数据
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.