This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] BEAGL-PLAY-SBC:TI Wi-SUN FANTund 的新构建无法编译

Guru**** 2563960 points
Other Parts Discussed in Thread: BEAGL-PLAY-SBC

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/sub-1-ghz-group/sub-1-ghz/f/sub-1-ghz-forum/1572393/beagl-play-sbc-new-build-of-ti-wi-sun-fantund-failed-to-compile

部件号:BEAGL-PLAY-SBC


工具/软件:

尊敬的 TI 工程师和专家:

今天、我尝试在 BeaglePlay 板上构建一个新的 wi-sun 边界路由器。

我做了很多次、所以这应该是一项简单的工作。  但是、它在一个步骤中失败了。

以下是我的步骤:

  1. 从此处安装与 Wi-SUN 兼容的 BeaglePlay Debian OS 11.8 最小映像文件:
    https://forum.beagleboard.org/t/arm64-debian-11-x-bullseye-monthly-snapshots-2023年10月07日 32318

    beagleplay-eMMC-FLASHER-debian-11.8-minimal-arm64- 2023年10月07日 4GB.img.xz


  2. 一切进展顺利、直到这里:

    cd /usr/local/ti-wisunfantund/ti-wisun-webapp/client

    sudo NPM 安装

    sudo NPM 审核修复          (减少漏洞数量;可选)

    sudo NPM 运行 build

    > utdesign-ti-wisunfan-webserver-client@1.0.0 build
    > react-scripts build
    
    Creating an optimized production build...
    Failed to compile.
    
    /usr/local/ti-wisunfantund/ti-wisun-webapp/client/src/components/Topology.tsx
    TypeScript error in /usr/local/ti-wisunfantund/ti-wisun-webapp/client/src/components/Topology.tsx(39,25):
    Namespace 'cytoscape' has no exported member 'Stylesheet'.  TS2694
    
        37 |
        38 | interface TopologyTheme {
      > 39 |   stylesheet: cytoscape.Stylesheet[];
           |                         ^
        40 | }
        41 | const topologyThemeImplementations = new ComponentThemeImplementations<TopologyTheme>();
        42 | const tiTopologyTheme: TopologyTheme = {
        



请尽快更正!   Sobμ s