Windows 从源代码构建 Thingsboard

Building Thingsboard from source on Windows

我在 Windows 上从源代码构建 Thingsboard 时遇到问题:

[警告] npm WARN addRemoteGit 错误:命令失败:git -c core.longpaths=true config --get remote.origin.url [警告] npm WARN addRemoteGit [警告] npm WARN addRemoteGit at ChildProcess.exithandler (child_process.js:206:12) [警告] npm WARN addRemoteGit at emitTwo (events.js:106:13) [警告] npm WARN addRemoteGit 在 ChildProcess.emit (events.js:191:7) [警告] npm WARN addRemoteGit at maybeClose (internal/child_process.js:877:16) [警告] npm WARN addRemoteGit at Socket。 (internal/child_process.js:334:11) [警告] npm WARN addRemoteGit at emitOne (events.js:96:13) [警告] npm WARN addRemoteGit 在 Socket.emit (events.js:188:7) [警告] npm WARN addRemoteGit at Pipe._handle.close [as _onclose] (net.js:498:12)

使用 maven 和 npm 准确编译

Thingsboard 构建在 Linux 台机器上进行了测试。 您可以使用 Docker 在 Windows 上 运行 Thingsboard。 我们将在下一个版本中添加对 Windows 构建的支持。

一般就是改GitHubURL

"angular-fullscreen": "git://github.com/fabiobiondi/angular-fullscreen.git#master",
"mdPickers": "git://github.com/alenaksu/mdPickers.git#0.7.5" 

"angular-fullscreen": "https://github.com/fabiobiondi/angular-fullscreen.git#master",
"mdPickers": "https://github.com/alenaksu/mdPickers#0.7.5"

"build": "SET NODE_ENV=production webpack -p"