Error: Cannot find module 'npm-autoinit/autoinit'

本文介绍如何使用 npm 进行自动初始化项目,并设置了 onload-script 脚本来简化工作流程。
  1. 安装
npm install -g npm-autoinit
  1. 设置onload-script
npm config set onload-script npm-autoinit/autoinit
370 | </style> > 371 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 372 | 373 | import { Component, Mixins } from 'vue-property-decorator' 374 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/mmu/MmuClogMeter.vue:201:23 199 | } 200 | </style> > 201 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 202 | 203 | import { Component, Mixins, Prop, Ref, Watch } from 'vue-property-decorator' 204 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/mmu/MmuControls.vue:298:23 296 | } 297 | </style> > 298 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 299 | 300 | import { Component, Mixins, Ref, Watch } from 'vue-property-decorator' 301 | import { Debounce } from 'vue-debounce-decorator' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/mmu/MmuEditGateMapDialog.vue:759:23 757 | 758 | </style> > 759 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 760 | 761 | import Component from 'vue-class-component' 762 | import { Mixins, VModel, Watch } from 'vue-property-decorator' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/mmu/MmuEditTtgMapDialog.vue:732:23 730 | } 731 | </style> > 732 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 733 | 734 | import Component from 'vue-class-component' 735 | import { Mixins, Watch } from 'vue-property-decorator' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/mmu/MmuFilamentStatus.vue:965:23 963 | } 964 | </style> > 965 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 966 | 967 | import { Component, Mixins, Prop, Ref, Watch } from 'vue-property-decorator' 968 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/mmu/MmuGateDialogRow.vue:98:23 96 | } 97 | </style> > 98 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 99 | 100 | import Component from 'vue-class-component' 101 | import { Mixins, Prop } from 'vue-property-decorator' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/mmu/MmuGateStatus.vue:97:23 95 | } 96 | </style> > 97 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 98 | 99 | import Component from 'vue-class-component' 100 | import { Mixins, Prop } from 'vue-property-decorator' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/mmu/MmuGateSummary.vue:173:23 171 | } 172 | </style> > 173 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 174 | 175 | import { Component, Mixins, Prop } from 'vue-property-decorator' 176 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/mmu/MmuMachine.vue:68:23 66 | } 67 | </style> > 68 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 69 | 70 | import { Component, Mixins, Prop } from 'vue-property-decorator' 71 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/mmu/MmuMaintenanceDialog.vue:589:23 587 | } 588 | </style> > 589 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 590 | 591 | import Component from 'vue-class-component' 592 | import { Mixins, VModel, Watch } from 'vue-property-decorator' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/mmu/MmuRecoverStateDialog.vue:289:23 287 | } 288 | </style> > 289 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 290 | 291 | import Component from 'vue-class-component' 292 | import { Mixins, VModel, Watch } from 'vue-property-decorator' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/mmu/MmuSettings.vue:174:23 172 | } 173 | </script> > 174 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 175 | 176 | import { Component, Mixins } from 'vue-property-decorator' 177 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/mmu/MmuSpool.vue:197:23 195 | } 196 | </script> > 197 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 198 | 199 | import Component from 'vue-class-component' 200 | import { Mixins, Prop, Ref } from 'vue-property-decorator' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/mmu/MmuTtgMap.vue:341:23 339 | } 340 | </style> > 341 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 342 | 343 | import { Component, Mixins, Prop } from 'vue-property-decorator' 344 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/mmu/MmuUnit.vue:573:23 571 | } 572 | </style> > 573 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 574 | 575 | import { Component, Mixins, Prop, Watch } from 'vue-property-decorator' 576 | import BrowserMixin from '@/mixins/browser' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/outputs/OutputFan.vue:98:23 96 | } 97 | </script> > 98 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 99 | 100 | import { Component, Mixins, Prop } from 'vue-property-decorator' 101 | import type { Fan } from '@/store/printer/types' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/outputs/OutputItem.vue:70:23 68 | } 69 | </script> > 70 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 71 | 72 | import { Component, Vue, Prop } from 'vue-property-decorator' 73 | import OutputFan from '@/components/widgets/outputs/OutputFan.vue' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/outputs/OutputLed.vue:142:23 140 | } 141 | </script> > 142 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 143 | 144 | import { Component, Mixins, Prop } from 'vue-property-decorator' 145 | import { IroColor } from '@irojs/iro-core' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/outputs/OutputPin.vue:75:23 73 | } 74 | </script> > 75 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 76 | 77 | import { Component, Mixins, Prop } from 'vue-property-decorator' 78 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/outputs/Outputs.vue:80:23 78 | } 79 | </script> > 80 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 81 | 82 | import { Component, Mixins } from 'vue-property-decorator' 83 | import OutputItem from '@/components/widgets/outputs/OutputItem.vue' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/outputs/OutputsCard.vue:25:23 23 | } 24 | </script> > 25 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 26 | 27 | import { Component, Vue } from 'vue-property-decorator' 28 | import Outputs from '@/components/widgets/outputs/Outputs.vue' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/retract/Retract.vue:227:23 225 | } 226 | </script> > 227 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 228 | 229 | import { Component, Mixins } from 'vue-property-decorator' 230 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/retract/RetractCard.vue:24:23 22 | } 23 | </script> > 24 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 25 | 26 | import { Component, Vue } from 'vue-property-decorator' 27 | import Retract from '@/components/widgets/retract/Retract.vue' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/runout-sensors/RunoutSensorsCard.vue:74:23 72 | } 73 | </script> > 74 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 75 | 76 | import { Component, Mixins, Prop } from 'vue-property-decorator' 77 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/sensors/Sensors.vue:51:23 49 | } 50 | </script> > 51 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 52 | 53 | import type { MoonrakerSensor } from '@/store/sensors/types' 54 | import { Component, Vue } from 'vue-property-decorator' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/sensors/SensorsCard.vue:24:23 22 | } 23 | </script> > 24 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 25 | 26 | import { Component, Vue } from 'vue-property-decorator' 27 | import Sensors from './Sensors.vue' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/spoolman/QRReader.vue:165:23 163 | } 164 | </script> > 165 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 166 | 167 | import { Component, Mixins, Ref, VModel } from 'vue-property-decorator' 168 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/spoolman/SpoolmanCard.vue:344:23 342 | } 343 | </script> > 344 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 345 | 346 | import { Component, Mixins } from 'vue-property-decorator' 347 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/spoolman/SpoolSelectionDialog.vue:742:23 740 | } 741 | </style> > 742 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 743 | 744 | import { Component, Mixins, Watch } from 'vue-property-decorator' 745 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/stats/PrinterStatsCard.vue:218:23 216 | } 217 | </style> > 218 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 219 | 220 | import { Component, Prop, Vue } from 'vue-property-decorator' 221 | import { SocketActions } from '@/api/socketActions' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/status/PauseAtLayerDialog.vue:181:23 179 | } 180 | </script> > 181 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 182 | 183 | import StateMixin from '@/mixins/state' 184 | import type { Macro } from '@/store/macros/types' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/status/PauseResumeBtn.vue:121:23 119 | } 120 | </script> > 121 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 122 | 123 | import { Component, Mixins } from 'vue-property-decorator' 124 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/status/PrinterStatusCard.vue:172:23 170 | } 171 | </style> > 172 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 173 | 174 | import { Component, Mixins, Watch } from 'vue-property-decorator' 175 | import { SocketActions } from '@/api/socketActions' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/status/ReprintTab.vue:129:23 127 | } 128 | </script> > 129 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 130 | 131 | import { Component, Mixins } from 'vue-property-decorator' 132 | import FilesMixin from '@/mixins/files' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/status/StatusControls.vue:128:23 126 | } 127 | </script> > 128 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 129 | 130 | import { Component, Mixins } from 'vue-property-decorator' 131 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/status/StatusLabel.vue:46:23 44 | } 45 | </style> > 46 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 47 | 48 | import { Component, Prop, Mixins } from 'vue-property-decorator' 49 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/status/StatusTab.vue:423:23 421 | } 422 | </style> > 423 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 424 | 425 | import { Component, Mixins } from 'vue-property-decorator' 426 | import StatusLabel from './StatusLabel.vue' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/system/DiskUsageCard.vue:127:23 125 | } 126 | </script> > 127 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128 | 129 | import { Component, Mixins } from 'vue-property-decorator' 130 | import type { AppDiskUsage } from '@/store/files/types' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/system/KlipperLoadChart.vue:56:23 54 | } 55 | </script> > 56 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 57 | 58 | import { Component, Vue, Watch } from 'vue-property-decorator' 59 | ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/system/McuCard.vue:97:23 95 | } 96 | </script> > 97 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 98 | 99 | import McuInformationDialog from './McuInformationDialog.vue' 100 | import type { KlippyApp, MCU } from '@/store/printer/types' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/system/McuInformationDialog.vue:57:23 55 | } 56 | </script> > 57 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 58 | 59 | import type { MCU } from '@/store/printer/types' 60 | import { Component, Prop, VModel, Vue } from 'vue-property-decorator' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/system/McuLoadChart.vue:104:23 102 | } 103 | </script> > 104 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 105 | 106 | import { Component, Vue, Prop, Watch } from 'vue-property-decorator' 107 | import type { MCU } from '@/store/printer/types' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/system/MoonrakerLoadChart.vue:56:23 54 | } 55 | </script> > 56 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 57 | 58 | import { Component, Vue, Watch } from 'vue-property-decorator' 59 | ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/system/SdInfoCard.vue:46:23 44 | } 45 | </script> > 46 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 47 | 48 | import { Component, Vue } from 'vue-property-decorator' 49 | import type { SystemInfo } from '@/store/server/types' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/system/SystemLoadChart.vue:70:23 68 | } 69 | </script> > 70 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 71 | 72 | import { Component, Vue, Watch } from 'vue-property-decorator' 73 | ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/system/SystemMemoryChart.vue:56:23 54 | } 55 | </script> > 56 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 57 | 58 | import { Component, Vue, Watch } from 'vue-property-decorator' 59 | ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/system/SystemOverviewCard.vue:189:23 187 | } 188 | </script> > 189 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 190 | 191 | import { Component, Vue } from 'vue-property-decorator' 192 | import type { SystemInfo } from '@/store/server/types' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/system/SystemUsageCard.vue:76:23 74 | } 75 | </style> > 76 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 77 | 78 | import { Component, Vue } from 'vue-property-decorator' 79 | import SystemLoadChart from './SystemLoadChart.vue' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/thermals/HeaterContextMenu.vue:92:23 90 | } 91 | </script> > 92 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 93 | 94 | import { Component, Prop, VModel, Mixins } from 'vue-property-decorator' 95 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/thermals/HeaterMpcCalibrateDialog.vue:68:23 66 | } 67 | </script> > 68 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 69 | 70 | import type { Heater } from '@/store/printer/types' 71 | import type { NullableOrEmpty } from '@/util/is-null-or-empty' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/thermals/HeaterPidCalibrateDialog.vue:49:23 47 | } 48 | </script> > 49 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 50 | 51 | import type { Heater } from '@/store/printer/types' 52 | import { Component, Vue, VModel, Prop } from 'vue-property-decorator' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/thermals/TemperatureCard.vue:247:23 245 | } 246 | </script> > 247 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 248 | 249 | import { Component, Mixins, Prop, Ref } from 'vue-property-decorator' 250 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/thermals/TemperaturePresetsMenu.vue:80:23 78 | } 79 | </script> > 80 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 81 | 82 | import { Component, Mixins } from 'vue-property-decorator' 83 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/thermals/TemperatureTargets.vue:645:23 643 | } 644 | </style> > 645 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 646 | 647 | import { Component, Mixins } from 'vue-property-decorator' 648 | import TemperaturePresetsMenu from './TemperaturePresetsMenu.vue' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/thermals/ThermalChart.vue:438:23 436 | } 437 | </style> > 438 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 439 | 440 | import { Component, Watch, Prop, Ref, Mixins } from 'vue-property-decorator' 441 | import type { ECharts, EChartsOption } from 'echarts' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/timelapse/TimelapseRenderSettingsDialog.vue:406:23 404 | } 405 | </script> > 406 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 407 | 408 | import { Component, Prop, Mixins, Ref, VModel } from 'vue-property-decorator' 409 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/timelapse/TimelapseSettingsCard.vue:100:23 98 | } 99 | </script> > 100 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 101 | 102 | import { Component, Mixins } from 'vue-property-decorator' 103 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/timelapse/TimelapseStatusCard.vue:169:23 167 | } 168 | </style> > 169 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 170 | 171 | import { Component, Mixins } from 'vue-property-decorator' 172 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/toolhead/ExtruderMoves.vue:158:23 156 | } 157 | </script> > 158 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 159 | 160 | import { Component, Mixins, Ref, Watch } from 'vue-property-decorator' 161 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/toolhead/ExtruderSelection.vue:38:23 36 | } 37 | </script> > 38 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 39 | 40 | import { Component, Mixins } from 'vue-property-decorator' 41 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/toolhead/ExtruderStats.vue:115:23 113 | } 114 | </script> > 115 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 116 | 117 | import { Component, Mixins } from 'vue-property-decorator' 118 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/toolhead/ExtruderSteppers.vue:83:23 81 | } 82 | </script> > 83 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 84 | 85 | import { Component, Vue } from 'vue-property-decorator' 86 | import ExtruderStepperSync from './ExtruderStepperSync.vue' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/toolhead/ExtruderStepperSync.vue:61:23 59 | } 60 | </script> > 61 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 62 | 63 | import { Component, Mixins, Prop } from 'vue-property-decorator' 64 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/toolhead/PressureAdvanceAdjust.vue:78:23 76 | } 77 | </script> > 78 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 79 | 80 | import { Component, Mixins, Prop } from 'vue-property-decorator' 81 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/toolhead/SpeedAndFlowAdjust.vue:66:23 64 | } 65 | </script> > 66 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 67 | 68 | import { Component, Mixins } from 'vue-property-decorator' 69 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/toolhead/ToolChangeCommands.vue:147:23 145 | } 146 | </style> > 147 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 148 | 149 | import { Component, Mixins } from 'vue-property-decorator' 150 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/toolhead/Toolhead.vue:96:23 94 | } 95 | </style> > 96 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 97 | 98 | import { Component, Mixins } from 'vue-property-decorator' 99 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/toolhead/ToolheadCard.vue:396:23 394 | } 395 | </script> > 396 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 397 | 398 | import { Component, Mixins, Prop } from 'vue-property-decorator' 399 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/toolhead/ToolheadControlBars.vue:78:23 76 | } 77 | </script> > 78 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 79 | 80 | import { Component, Mixins } from 'vue-property-decorator' 81 | import ToolheadControlBarsAxis from './ToolheadControlBarsAxis.vue' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/toolhead/ToolheadControlBarsAxis.vue:93:23 91 | } 92 | </script> > 93 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 94 | 95 | import { Component, Mixins, Prop } from 'vue-property-decorator' 96 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/toolhead/ToolheadControlBarsStepper.vue:61:23 59 | } 60 | </script> > 61 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 62 | 63 | import { Component, Mixins, Prop } from 'vue-property-decorator' 64 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/toolhead/ToolheadControlCircle.vue:904:23 902 | } 903 | </style> > 904 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 905 | 906 | import { Component, Mixins } from 'vue-property-decorator' 907 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/toolhead/ToolheadControlCross.vue:277:23 275 | } 276 | </style> > 277 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 278 | 279 | import { Component, Mixins } from 'vue-property-decorator' 280 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/toolhead/ToolheadPosition.vue:219:23 217 | } 218 | </style> > 219 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 220 | 221 | import { Component, Mixins } from 'vue-property-decorator' 222 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/components/widgets/toolhead/ZHeightAdjust.vue:208:23 206 | } 207 | </script> > 208 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 209 | 210 | import { Component, Mixins } from 'vue-property-decorator' 211 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/views/Configure.vue:90:23 88 | } 89 | </style> > 90 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 91 | 92 | import { Component, Mixins } from 'vue-property-decorator' 93 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/views/Console.vue:21:23 19 | } 20 | </script> > 21 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 22 | 23 | import { Component, Vue } from 'vue-property-decorator' 24 | import ConsoleCard from '@/components/widgets/console/ConsoleCard.vue' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/views/Dashboard.vue:239:23 237 | @import '@/scss/draggable.scss'; 238 | </style> > 239 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 240 | 241 | import { Component, Mixins, Watch } from 'vue-property-decorator' 242 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/views/Diagnostics.vue:191:23 189 | @import '@/scss/draggable.scss'; 190 | </style> > 191 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 192 | 193 | import { Component, Mixins, Watch } from 'vue-property-decorator' 194 | import { v4 as uuidv4 } from 'uuid' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/views/FullscreenCamera.vue:34:23 32 | } 33 | </script> > 34 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 35 | 36 | import { Component, Vue } from 'vue-property-decorator' 37 | import type { WebcamConfig } from '@/store/webcams/types' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/views/GcodePreview.vue:21:23 19 | } 20 | </script> > 21 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 22 | 23 | import { Component, Vue } from 'vue-property-decorator' 24 | import GcodePreviewCard from '@/components/widgets/gcode-preview/GcodePreviewCard.vue' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/views/History.vue:31:23 29 | } 30 | </script> > 31 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 32 | 33 | import { Component, Vue } from 'vue-property-decorator' 34 | import PrinterStatsCard from '@/components/widgets/stats/PrinterStatsCard.vue' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/views/Icons.vue:39:23 37 | } 38 | </script> > 39 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 40 | 41 | import { Component, Mixins } from 'vue-property-decorator' 42 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/views/Jobs.vue:41:23 39 | } 40 | </script> > 41 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 42 | 43 | import { Component, Mixins } from 'vue-property-decorator' 44 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Parameter 'value' implicitly has an 'any' type. FILE E:/fluidd/src/views/Login.vue:58:42 56 | hide-details="auto" 57 | :disabled="loading" > 58 | :items="availableSources.map(value => ({ text: $t(`app.general.label.${value}`), value }))" | ^^^^^ 59 | class="mb-4" 60 | /> 61 | ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/views/Login.vue:153:23 151 | } 152 | </style> > 153 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 154 | 155 | import { Component, Vue } from 'vue-property-decorator' 156 | import { appInit } from '@/init' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/views/NotFound.vue:29:23 27 | export default class NotFound extends Vue {} 28 | </script> > 29 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 30 | 31 | import { Component, Vue } from 'vue-property-decorator' 32 | ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/views/Settings.vue:93:23 91 | } 92 | </script> > 93 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 94 | 95 | import { Component, Mixins } from 'vue-property-decorator' 96 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/views/System.vue:66:23 64 | } 65 | </script> > 66 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 67 | 68 | import { Component, Mixins } from 'vue-property-decorator' 69 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/views/Timelapse.vue:76:23 74 | } 75 | </style> > 76 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 77 | 78 | import { Component, Mixins } from 'vue-property-decorator' 79 | import StateMixin from '@/mixins/state' ERROR(vue-tsc) Cannot find type definition file for 'E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts'. FILE E:/fluidd/src/views/Tune.vue:82:23 80 | } 81 | </script> > 82 | /// <reference types="E:/fluidd/node_modules/.vue-global-types/vue_2.7_0.d.ts" /> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 83 | 84 | import { Component, Mixins } from 'vue-property-decorator' 85 | import StateMixin from '@/mixins/state' [vue-tsc] Found 254 errors. Watching for file changes. 22:18:41 [vite] (client) ✨ new dependencies optimized: sortablejs, qrcode.vue 22:18:41 [vite] (client) ✨ optimized dependencies changed. reloading
08-11
#!/bin/bash # Copyright (c) 2021 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. set -e set +e echo "++++++++++++++++++++++++++++++++++++++++" function check_shell_environment() { case $(uname -s) in Linux) shell_result=$(/bin/sh -c 'echo ${BASH_VERSION}') if [ -n "${shell_result}" ]; then echo "The system shell is bash ${shell_result}" else echo -e "\033[33m Your system shell isn't bash, we recommend you to use bash, because some commands may not be supported in other shells, such as pushd and shopt are not supported in dash. \n You can follow these tips to modify the system shell to bash on Ubuntu: \033[0m" echo -e "\033[33m [1]:Open the Terminal tool and execute the following command: sudo dpkg-reconfigure dash \n [2]:Enter the password and select <no> \033[0m" fi ;; Darwin) echo "Darwin system is not supported yet" ;; *) echo "Unsupported this system: $(uname -s)" exit 1 esac } check_shell_environment echo "++++++++++++++++++++++++++++++++++++++++" date +%F' '%H:%M:%S echo $@ export SOURCE_ROOT_DIR=$(cd $(dirname $0);pwd) while [[ ! -f "${SOURCE_ROOT_DIR}/.gn" ]]; do SOURCE_ROOT_DIR="$(dirname "${SOURCE_ROOT_DIR}")" if [[ "${SOURCE_ROOT_DIR}" == "/" ]]; then echo "Cannot find source tree containing $(pwd)" exit 1 fi done if [[ "${SOURCE_ROOT_DIR}x" == "x" ]]; then echo "Error: SOURCE_ROOT_DIR cannot be empty." exit 1 fi case $(uname -s) in Darwin) HOST_DIR="darwin-x86" HOST_OS="mac" NODE_PLATFORM="darwin-x64" ;; Linux) HOST_DIR="linux-x86" HOST_OS="linux" NODE_PLATFORM="linux-x64" ;; *) echo "Unsupported host platform: $(uname -s)" RET=1 exit $RET esac # set python3 PYTHON3_DIR=${SOURCE_ROOT_DIR}/prebuilts/python/${HOST_DIR}/current/ PYTHON3=${PYTHON3_DIR}/bin/python3 PYTHON=${PYTHON3_DIR}/bin/python if [[ ! -f "${PYTHON3}" ]]; then echo -e "\033[33m Please execute the build/prebuilts_download.sh \033[0m" exit 1 else if [[ ! -f "${PYTHON}" ]]; then ln -sf "${PYTHON3}" "${PYTHON}" fi fi export PATH=${SOURCE_ROOT_DIR}/prebuilts/build-tools/${HOST_DIR}/bin:${PYTHON3_DIR}/bin:$PATH # set nodejs and ohpm EXPECTED_NODE_VERSION="14.21.1" export PATH=${SOURCE_ROOT_DIR}/prebuilts/build-tools/common/nodejs/node-v${EXPECTED_NODE_VERSION}-${NODE_PLATFORM}/bin:$PATH export NODE_HOME=${SOURCE_ROOT_DIR}/prebuilts/build-tools/common/nodejs/node-v${EXPECTED_NODE_VERSION}-${NODE_PLATFORM} export PATH=${SOURCE_ROOT_DIR}/prebuilts/build-tools/common/oh-command-line-tools/ohpm/bin:$PATH echo "Current Node.js version is $(node -v)" NODE_VERSION=$(node -v) if [ "$NODE_VERSION" != "v$EXPECTED_NODE_VERSION" ]; then echo "Node.js version mismatch. Expected $EXPECTED_NODE_VERSION but found $NODE_VERSION" >&2 exit 1 fi echo "Node.js version check passed" npm config set registry https://repo.huaweicloud.com/repository/npm/ npm config set @ohos:registry https://repo.harmonyos.com/npm/ npm config set strict-ssl false npm config set lockfile false cat $HOME/.npmrc | grep 'lockfile=false' || echo 'lockfile=false' >> $HOME/.npmrc function init_ohpm() { TOOLS_INSTALL_DIR="${SOURCE_ROOT_DIR}/prebuilts/build-tools/common" cd ${TOOLS_INSTALL_DIR} #command_line_version=2.0.1.0 if [[ ! -f "${SOURCE_ROOT_DIR}/prebuilts/build-tools/common/oh-command-line-tools/ohpm/bin/ohpm" ]]; then echo "download oh-command-line-tools" wget https://contentcenter-vali-drcn.dbankcdn.cn/pvt_2/DeveloperAlliance_package_901_9/a6/v3/cXARnGbKTt-4sPEi3GcnJA/ohcommandline-tools-linux-2.0.0.1.zip\?HW-CC-KV\=V1\&HW-CC-Date\=20230512T075353Z\&HW-CC-Expire\=315360000\&HW-CC-Sign\=C82B51F3C9F107AB460EC26392E25B2E20EF1A6CAD10A26929769B21B8C8D5B6 -O ohcommandline-tools-linux.zip unzip ohcommandline-tools-linux.zip fi OHPM_HOME=${TOOLS_INSTALL_DIR}/oh-command-line-tools/ohpm chmod +x ${OHPM_HOME}/bin/init echo "init ohpm" ${OHPM_HOME}/bin/init echo "ohpm version is $(ohpm -v)" ohpm config set registry https://repo.harmonyos.com/ohpm/ ohpm config set strict_ssl false ohpm config set log_level debug cd ${SOURCE_ROOT_DIR} if [[ -d "$HOME/.hvigor" ]]; then echo "remove $HOME/.hvigor" rm -rf $HOME/.hvigor/daemon $HOME/.hvigor/wrapper fi mkdir -p $HOME/.hvigor/wrapper/tools echo '{"dependencies": {"pnpm": "7.30.0"}}' > $HOME/.hvigor/wrapper/tools/package.json pushd $HOME/.hvigor/wrapper/tools echo "install pnpm" npm install popd } if [[ "$*" != *ohos-sdk* ]]; then echo "start set ohpm" init_ohpm if [[ "$?" -ne 0 ]]; then echo "ohpm init failed!" exit 1 fi fi function build_sdk() { ROOT_PATH=${SOURCE_ROOT_DIR} if [ -d ${ROOT_PATH}/out/sdk/packages/ohos-sdk/linux ]; then echo "ohos-sdk exists." return 0 fi pushd ${ROOT_PATH} echo "building the latest ohos-sdk..." ./build.py --product-name ohos-sdk --get-warning-list=false --stat-ccache=false --compute-overlap-rate=false --deps-guard=false --generate-ninja-trace=false --gn-args skip_generate_module_list_file=true --gn-args sdk_platform=linux if [[ "$?" -ne 0 ]]; then echo "ohos-sdk build failed!" exit 1 fi if [ -d ${ROOT_PATH}/out/sdk/packages/ohos-sdk/linux ]; then pushd ${ROOT_PATH}/out/sdk/packages/ohos-sdk/linux mv ${ROOT_PATH}/out/sdk/ohos-sdk/linux/* . echo "extracting ohos-sdk package..." unzip -q "$(find . -name "native-linux*.zip")" api_version=$(grep apiVersion toolchains/oh-uni-package.json | awk '{print $2}' | sed -r 's/\",?//g') || api_version="10" mkdir -p $api_version for i in */; do if [ -d "$i" ] && [ "$i" != "$api_version/" ]; then mv $i $api_version fi done popd fi if [ -d "${ROOT_PATH}/prebuilts/ohos-sdk/linux" ]; then rm -rf ${ROOT_PATH}/prebuilts/ohos-sdk/linux fi mkdir -p ${ROOT_PATH}/prebuilts/ohos-sdk/ cp -af ${ROOT_PATH}/out/sdk/packages/ohos-sdk/linux ${ROOT_PATH}/prebuilts/ohos-sdk/ popd } if [[ ! -d "${SOURCE_ROOT_DIR}/prebuilts/ohos-sdk/linux" && "$*" != *ohos-sdk* && "$*" != *"--no-prebuilt-sdk"* || "${@}" =~ "--prebuilt-sdk" ]]; then echo "start build ohos-sdk" build_sdk if [[ "$?" -ne 0 ]]; then echo "ohos-sdk build failed, please remove the out/sdk directory and try again!" exit 1 fi fi #add by ludao supportproduct=("rk3568" "ss2386" "rk3588" "rk3399" "bearpi_hm_micro" "ohos-sdk" "smart_s10e" "stm32" "t507" "long2k1500l1") supportdevices=("") autobuilddevices=("") supportdevices_rk3568=("langdao3568" "langdao3568_hdmi" "langdao3568_single_lvds" "skyworth_evt" "skyworth_dvt" "evb3568" "sbc3568" "sbc3568_agv" "kuanghong" "gwxt_ok3568_c" "zhongan_edp" "zhongan_dual_lvds" "zhongan_single_lvds" "em_r18" "em_pda" "zijin_gateway_r68s" "hcaio_2100" "hcaio_2100_ap6256" "em_r18_yjk" "em_r18_hongzos_2_0" "em_pda_hongzos_2_0" "duolun" "duolun_mipi_demo" "SK3530" "songshu_smartbot" "youibot" "newland_rz810" "em_r88_hongzos_2_0" "tk150" "eva_c1" "eva_c1_mipi" "duolun_new_board" "kunlun_smart" "evb3568_edu" "evb3568_box" "SHINTON" "duolun_t10" "archermind_driving" "8mile_tech_rk3568" "sbc3568_ap6256" "sbc3568_hsy" "qinuo3568" "sbc3568_hsy_railway") autobuild_rk3568=("langdao3568" "langdao3568_hdmi" "langdao3568_single_lvds" "em_r18_hongzos_2_0" "em_pda_hongzos_2_0" "em_r88_hongzos_2_0" "evb3568" "sbc3568" "sbc3568_agv" "tk150" "eva_c1" "eva_c1_mipi" "duolun_new_board" "evb3568_edu" "evb3568_box" "songshu_smartbot" "SHINTON" "skyworth_dvt" "kunlun_smart" "duolun_t10" "archermind_driving" "sbc3568_ap6256" "hcaio_2100_ap6256" "qinuo3568" "sbc3568_hsy_railway") supportdevices_rk3588=("rk3588_evt" "smart_phone_6inches_rk3588" "gateway_ir88mx01_rk3588" "gateway_ir88mx01_rk3588_cm358" "ops_ir88p03_rk3588" "lion_gateway_rk3588" "xinuo_rk3588" "em_r16") autobuild_rk3588=("xinuo_rk3588" "em_r16" "gateway_ir88mx01_rk3588" "ops_ir88p03_rk3588" "gateway_ir88mx01_rk3588_cm358" "ido_evb3588s" "lion_gateway_rk3588" "rk3588_evt") supportdevices_stm32=("smart_s10e") autobuild_stm32=("smart_s10e") supportdevices_ss2386=("pioneer5_sdp") autobuild_ss2386=("pioneer5_sdp") supportdevices_rk3399=("avatarmind_box") autobuild_rk3399=("avatarmind_box") supportdevices_t507=("t507") autobuild_t507=("t507") supportdevices_long2k1500=("long2k1500_evt") autobuild_long2k1500=("long2k1500_evt") platform="" platform_stmp32="" platform_loongson="" platform_t507="" find=0 find_target_cpu=0 target_cpu="" market_find=0 find_target=0 build_type="debug" buildInDefault_display_config="disable" export market_name="archermind" rom_type="normal" branch_type="" for i in $* do if [ $i == "--product-name" ];then find=1 continue fi if [ $i == "--target-cpu" ];then find_target_cpu=1 continue fi if [ $find_target_cpu == 1 ];then target_cpu=$i fi if [ $i == "market-name" ];then market_find=1 continue fi if [ $i == "XTS" ];then rom_type="xts" continue fi if [ $i == "jailhouse" ];then rom_type="jailhouse" continue fi if [ $i == "product-release" ];then build_type="release" continue fi if [ $i == "Forced_vertical_screen" ];then buildInDefault_display_config="enable" continue fi if [ $i == "product-userdebug" ];then build_type="userdebug" continue fi if [ $find == 1 ];then for product in ${supportproduct[*]} do if [ $i == $product ];then export product_name=$i echo "product_name = $product_name" find_target=1 break fi done fi if [ $market_find == 1 ];then export market_name=$i fi done echo "build_type = $build_type" echo "market_name = $market_name" if [ -d "productdefine/project_config" ] ;then branch_type="HongzOS" else branch_type="ohos" fi rom_type_name="${branch_type}" if [ "$buildInDefault_display_config" == "enable" ];then rom_type_name="${rom_type_name}_Forced_vertical_screen" fi export rom_type export branch_type export target_cpu echo "target_cpu = $target_cpu" echo "rom_type = $rom_type" echo "branch_type = $branch_type" echo "rom_type_name = $rom_type_name" if [ "$rom_type" != "xts" ];then build/build_time.py fi if [ $find_target == 0 ];then echo "Please select one of the following parameters to compile" for product in ${supportproduct[*]} do echo "--product-name $product" done exit -1 fi out_product_name=$product_name case $product_name in rk3568) supportdevices=${supportdevices_rk3568[*]} platform="rk356x" autobuilddevices=${autobuild_rk3568[*]} ;; ss2386) supportdevices=${supportdevices_ss2386[*]} autobuilddevices=${autobuild_ss2386[*]} ;; rk3588) supportdevices=${supportdevices_rk3588[*]} platform="rk3588" autobuilddevices=${autobuild_rk3588[*]} ;; rk3399) supportdevices=${supportdevices_rk3399[*]} platform="rk3399" autobuilddevices=${autobuild_rk3399[*]} ;; t507) supportdevices=${supportdevices_t507[*]} platform_t507="t507" autobuilddevices=${autobuild_t507[*]} ;; stm32) supportdevices=${supportdevices_stm32[*]} platform_stmp32="stm32" autobuilddevices=${autobuild_stm32[*]} ;; long2k1500l1) supportdevices=${supportdevices_long2k1500[*]} autobuilddevices=${autobuild_long2k1500[*]} platform_loongson="long2k1500l1" ;; *) export PATH=${source_root_dir}/prebuilts/build-tools/${HOST_DIR}/bin:${PYTHON3_DIR}/bin:$PATH ${PYTHON3} ${source_root_dir}/build/scripts/tools_checker.py flag=true args_list=$@ for var in $@ do OPTIONS=${var%%=*} PARAM=${var#*=} if [[ "$OPTIONS" == "using_hb_new" && "$PARAM" == "false" ]]; then flag=false ${PYTHON3} ${SOURCE_ROOT_DIR}/build/scripts/entry.py --source-root-dir ${SOURCE_ROOT_DIR} $args_list break fi done if [[ ${flag} == "true" ]]; then ${PYTHON3} ${SOURCE_ROOT_DIR}/build/hb/main.py build $args_list fi if [[ "$?" -ne 0 ]]; then echo -e "\033[31m=====build ${product_name} error=====\033[0m" exit -1 fi echo -e "\033[32m=====build ${product_name} successful=====\033[0m" date +%F' '%H:%M:%S echo "++++++++++++++++++++++++++++++++++++++++" exit 0 ;; esac find=0 find_target=0 for i in $* do if [ $i == "--device-name" ];then find=1 continue fi if [ $find == 1 ];then for device in ${supportdevices[*]} do if [ $i == $device ];then export device_name=$i echo "device_name = $device_name" find_target=1 break fi done fi done if [ $find_target == 0 ];then for device in ${autobuilddevices[*]} do echo "start build --device-name $device" if [ ${device##*|} != ${device%|*} ];then export market_name=${device##*|} else export market_name="archermind" fi export device_name=${device%|*} echo "device_name = $device_name" echo "market_name = $market_name" vendor/archermind/$product_name/overlay.sh rm -rf out/kernel/ rm -rf out/${out_product_name}/packages/imagesconf/ find -name hdf_default.hcb|xargs rm -Rf rm -rf ${SOURCE_ROOT_DIR}/product.json ln -s ${SOURCE_ROOT_DIR}/vendor/archermind/board/$device_name/product.json ${SOURCE_ROOT_DIR}/product.json export PATH=${source_root_dir}/prebuilts/build-tools/${HOST_DIR}/bin:${PYTHON3_DIR}/bin:$PATH ${PYTHON3} ${source_root_dir}/build/scripts/tools_checker.py flag=true args_list=$@ for var in $@ do OPTIONS=${var%%=*} PARAM=${var#*=} if [[ "$OPTIONS" == "using_hb_new" && "$PARAM" == "false" ]]; then flag=false ${PYTHON3} ${SOURCE_ROOT_DIR}/build/scripts/entry.py --source-root-dir ${SOURCE_ROOT_DIR} $args_list --gn-args board_name_internal=\"${device_name}\" --gn-args build_type=\"${build_type}\" --gn-args market_name=\"${market_name}\" --gn-args rom_type=\"${rom_type}\" branch_type=\"${branch_type}\" buildInDefault_display_config=\"${buildInDefault_display_config}\" break fi done if [[ ${flag} == "true" ]]; then ${PYTHON3} ${SOURCE_ROOT_DIR}/build/hb/main.py build $args_list --gn-args board_name_internal=\"${device_name}\" --gn-args build_type=\"${build_type}\" --gn-args market_name=\"${market_name}\" --gn-args rom_type=\"${rom_type}\" branch_type=\"${branch_type}\" buildInDefault_display_config=\"${buildInDefault_display_config}\" fi if [[ "$?" -ne 0 ]]; then echo -e "\033[31m=====build ${product_name} error=====\033[0m" exit -1 fi #add by ludao if [ -d out/${out_product_name}/packages/phone/images ]; then echo out/${out_product_name}/packages/phone/images_${device_name}/ rm -rf out/${out_product_name}/packages/phone/images_${device_name}/ mv out/${out_product_name}/packages/phone/images out/${out_product_name}/packages/phone/images_${device_name}/ rm -rf Image ln out/${out_product_name}/packages/phone/images_${device_name}/ -s Image if [ $platform ] && [ -f Image/system.img ] && [ -f Image/boot_linux.img ];then rm -rf images_${device_name}.img device/soc/rockchip/rockdev/mkupdate.sh ${platform} Image images_${rom_type_name}_v4_0_${device_name}_${market_name}.img rm -rf out/${out_product_name}/packages/phone/images_${rom_type_name}_v4_0_${device_name}/update.img rm -rf package-file-tmp rm -rf package-file fi if [ $platform_stmp32 ] && [ -f Image/system.img ] && [ -f Image/boot_linux.img ];then device/board/archermind/stm32/tool/image.sh images_ohos_v4_0_${device_name}_${market_name}.img fi fi if [ $platform_loongson ] && [ -f out/long2k1500l1/long2k1500l1/userfs_vfat.img ] && [ -f out/long2k1500l1/long2k1500l1/boot_linux.img ];then rm -rf images_${device_name}.img device/board/archermind/long2k1500l1/tools/image.sh images_ohos_v4_0_${device_name}_${market_name}.img fi #endif echo -e "\033[32m=====build ${product_name} successful=====\033[0m" date +%F' '%H:%M:%S echo "++++++++++++++++++++++++++++++++++++++++" done exit 0 fi vendor/archermind/$product_name/overlay.sh rm -rf out/kernel/ rm -rf out/${out_product_name}/packages/imagesconf/ find -name hdf_default.hcb|xargs rm -Rf rm -rf ${SOURCE_ROOT_DIR}/product.json ln -s ${SOURCE_ROOT_DIR}/vendor/archermind/board/$device_name/product.json ${SOURCE_ROOT_DIR}/product.json ln -s ${product_path} ${SOURCE_ROOT_DIR}/market.json #end ${PYTHON3} ${SOURCE_ROOT_DIR}/build/scripts/tools_checker.py flag=true args_list=$@ for var in $@ do OPTIONS=${var%%=*} PARAM=${var#*=} if [[ "$OPTIONS" == "using_hb_new" && "$PARAM" == "false" ]]; then flag=false ${PYTHON3} ${SOURCE_ROOT_DIR}/build/scripts/entry.py --source-root-dir ${SOURCE_ROOT_DIR} $args_list --gn-args board_name_internal=\"${device_name}\" --gn-args build_type=\"${build_type}\" --gn-args market_name=\"${market_name}\" --gn-args rom_type=\"${rom_type}\" branch_type=\"${branch_type}\" buildInDefault_display_config=\"${buildInDefault_display_config}\" break fi done if [[ ${flag} == "true" ]]; then ${PYTHON3} ${SOURCE_ROOT_DIR}/build/hb/main.py build $args_list --gn-args board_name_internal=\"${device_name}\" --gn-args build_type=\"${build_type}\" --gn-args market_name=\"${market_name}\" --gn-args rom_type=\"${rom_type}\" branch_type=\"${branch_type}\" buildInDefault_display_config=\"${buildInDefault_display_config}\" fi if [[ "$?" -ne 0 ]]; then echo -e "\033[31m=====build ${product_name} error=====\033[0m" exit 1 fi #add by ludao if [ -d out/${out_product_name}/packages/phone/images ]; then echo out/${out_product_name}/packages/phone/images_${device_name}/ rm -rf out/${out_product_name}/packages/phone/images_${device_name}/ mv out/${out_product_name}/packages/phone/images out/${out_product_name}/packages/phone/images_${device_name}/ rm -rf Image ln out/${out_product_name}/packages/phone/images_${device_name}/ -s Image if [ $platform ] && [ -f Image/system.img ] && [ -f Image/boot_linux.img ];then rm -rf images_${device_name}.img device/soc/rockchip/rockdev/mkupdate.sh ${platform} Image images_${rom_type_name}_v4_0_${device_name}_${market_name}.img rm -rf out/${out_product_name}/packages/phone/images_${rom_type_name}_v4_0_${device_name}/update.img rm -rf package-file-tmp rm -rf package-file fi fi if [ $platform_loongson ] && [ -f out/long2k1500l1/long2k1500l1/userfs_vfat.img ] && [ -f out/long2k1500l1/long2k1500l1/boot_linux.img ];then rm -rf images_${device_name}.img device/board/archermind/long2k1500l1/tools/image.sh images_ohos_v4_0_${device_name}_${market_name}.img fi #end echo -e "\033[32m=====build ${product_name} successful=====\033[0m" date +%F' '%H:%M:%S echo "++++++++++++++++++++++++++++++++++++++++" 解读编译脚本
最新发布
12-17
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值