【问题标题】:Building Thingsboard from source on Windows在 Windows 上从源代码构建 Thingsboard
【发布时间】:2016-12-09 15:30:02
【问题描述】:

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

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

完全使用 maven 和 npm 编译

【问题讨论】:

    标签: thingsboard


    【解决方案1】:

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

    【讨论】:

      【解决方案2】:

      一般是更改 GitHub URL

      "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"
      

      【讨论】:

      • [INFO] Thingsboard 服务器应用程序............成功 [08:30 分钟] [INFO] ----- -------------------------------------------------- ----------------- [信息] 构建成功 [信息] ------------------------- ----------------------------------------------------------- [信息]总时间:13:18 分钟 [INFO] 完成时间:2016-12-07T11:46:44-06:00 [INFO] 最终内存:79M/830M [INFO] ------------ -------------------------------------------------- ----------
      • 这实际上是一种解决方法。有关详细信息,请参阅我的答案。
      猜你喜欢
      • 2018-04-11
      • 1970-01-01
      • 2018-05-06
      • 1970-01-01
      • 2015-03-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多