Popraw plik printer-posnet-card.vue, aby nie pojawiał się poniższy błąd.

/// printer-posnet-card.vue

<template>
  <titled-card :title="title" toolbar close-button @close="discard">
    <loading-container
      :is-loaded="isLoaded"
      fluid
      class="ma-1 pa-0 pr-3"
      style="min-width: min(700px, 95vw)">
      <v2-form :validator="formRef">
        <v-row dense>
          <v-col>
            <v2-text-field
              v-model="model.name"
              :rules="nameRules"
              :readonly="readonly"
              class="mb-2"
              label="Nazwa" />
          </v-col>
          <v-col>
            <v2-text-field
              v-model="model.ipAddress"
              :rules="ipAddressRules"
              :readonly="readonly"
              class="mb-2"
              label="Adres IP" />
          </v-col>
        </v-row>

        <v-row dense>
          <v-col>
            <v2-autocomplete
              v-model="model.target.id"
              :items="printerTargets"
              :readonly="readonly"
              label="Miejsce przeznaczenia"
              placeholder="Wybierz z listy" />
          </v-col>
          <v-col>
            <v2-switch
              v-model="model.isActive"
              :disabled="readonly"
              label="Aktywny" />
          </v-col>
        </v-row>

        <v-row justify="end">
          <v-col cols="auto">
            <submit-discard-async-buttons :submit="submit" @discard="discard" />
          </v-col>
        </v-row>
      </v2-form>
    </loading-container>
  </titled-card>
</template>

<script lang="ts">
import { computed, defineComponent, onMounted, ref } from "@vue/composition-api";
import LoadingContainer from "@/components/loading/loading-container.vue";
import SubmitDiscardAsyncButtons from "@/components/action-buttons/submit-discard-async-buttons.vue";
import axios from "@/lib/axios";
import TitledCard from "@/components/simple/titled-card.vue";
import { RulesUtils } from "@/lib/rules-utils";
import PrinterPosnetTarget from "@/views/commerce/printers-posnet/printer-posnet-target";
import PrinterPosnetStatus from "@/views/commerce/printers-posnet/printer-posnet-status";
import V2Form from "@/compatibility-layer/components/v2-form.vue";
import V2TextField from "@/compatibility-layer/components/v2-text-field.vue";
import V2Autocomplete from "@/compatibility-layer/components/v2-autocomplete.vue";
import V2Select from "@/compatibility-layer/components/v2-select.vue";
import V2Switch from "@/compatibility-layer/components/v2-switch.vue";
import V2FormValidator from "@/compatibility-layer/components/v2-form-validator";
import PrinterPosnet from "@/views/commerce/printers-posnet/printer-posnet";

const PrinterPosnetCard = defineComponent({
  components: {
    TitledCard,
    SubmitDiscardAsyncButtons,
    V2Autocomplete,
    V2TextField,
    V2Form,
    V2Select,
    V2Switch,
    LoadingContainer
  },

  props: {
    value: {
      type: String,
      required: false,
      default: null
    },

    readonly: {
      type: Boolean,
      required: false,
      default: false
    }
  },

  emits: ["close"],

  setup(props, context) {
    const isLoaded = ref(false);
    const model = ref(props.value ? PrinterPosnet.fromDto({}) : PrinterPosnet.empty());
    const formRef = ref(V2FormValidator.create());

    const printerTargets = ref(PrinterPosnetTarget.All);
    const printerStatuses = ref(PrinterPosnetStatus.All);

    onMounted(async () => {
      await loadData();
    });

    const loadData = async () => {
      if (props.value) {
        const response = await axios.get("/api/services/app/PrinterPosnet/GetPrinter", {
          params: { id: props.value }
        });
        model.value = PrinterPosnet.fromDto(response.data.result);
      }

      isLoaded.value = true;
    };

    const isNew = computed(() => !props.value);

    const submit = async () => {
      if (!formRef.value.validate()) return;

      if (isNew.value) {
        await axios.post("/api/services/app/PrinterPosnet/CreatePrinter", model.value.dto);
      } else {
        await axios.put("/api/services/app/PrinterPosnet/UpdatePrinter", model.value.dto);
      }

      context.emit("close", true);
    };

    const title = computed(() => {
      const prefix = "Zarządzanie Drukarkami Posnet";
      const suffix = isNew.value ? "Nowa drukarka" : `Edycja drukarki: ${model.value.name}`;
      return `${prefix} - ${suffix}`;
    });

    const nameRules = RulesUtils.MandatoryString(128);
    const modelRules = RulesUtils.MandatoryString(64);
    const ipAddressRules = [
      v => /^(25[0-5]|2[0-4]\d|[01]?\d\d?)\.(25[0-5]|2[0-4]\d|[01]?\d\d?)\.(25[0-5]|2[0-4]\d|[01]?\d\d?)\.(25[0-5]|2[0-4]\d|[01]?\d\d?)$/.test(v) || "Niepoprawny adres IP"
    ];
    const portRules = [
      v => /^\d+$/.test(v) || "Port musi być liczbą",
      v => Number(v) > 0 && Number(v) < 65536 || "Port musi być w zakresie 1-65535"
    ];
    const orgUnitIdRules = [
      v => (!!v && Number(v) > 0) || "Niepoprawne ID jednostki organizacyjnej"
    ];

    return {
      isLoaded,
      model,
      formRef,
      submit,
      discard: () => context.emit("close", false),
      nameRules,
      modelRules,
      ipAddressRules,
      portRules,
      orgUnitIdRules,
      printerTargets: printerTargets.value,
      printerStatuses: printerStatuses.value,
      title,
      isNew
    };
  }
});

export default PrinterPosnetCard;
</script>

/// BŁĄD

[plugin:vite:import-analysis] Failed to resolve import "@/compatibility-layer/components/v2-switch.vue" from "src/views/commerce/printers-posnet/printer-posnet-card.vue". Does the file exist?
C:/Users/adala/OneDrive/Dokumenty/Frontend/src/views/commerce/printers-posnet/printer-posnet-card.vue:68:0
12 |  import V2Autocomplete from "@/compatibility-layer/components/v2-autocomplete.vue";
13 |  import V2Select from "@/compatibility-layer/components/v2-select.vue";
14 |  import V2Switch from "@/compatibility-layer/components/v2-switch.vue";
   |                        ^
15 |  import V2FormValidator from "@/compatibility-layer/components/v2-form-validator";
16 |  import PrinterPosnet from "@/views/commerce/printers-posnet/printer-posnet";
    at TransformPluginContext._formatError (file:///C:/Users/adala/OneDrive/Dokumenty/Frontend/node_modules/vite/dist/node/chunks/dep-BaOMuo4I.js:49192:41)
    at TransformPluginContext.error (file:///C:/Users/adala/OneDrive/Dokumenty/Frontend/node_modules/vite/dist/node/chunks/dep-BaOMuo4I.js:49187:16)
    at normalizeUrl (file:///C:/Users/adala/OneDrive/Dokumenty/Frontend/node_modules/vite/dist/node/chunks/dep-BaOMuo4I.js:63970:23)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async file:///C:/Users/adala/OneDrive/Dokumenty/Frontend/node_modules/vite/dist/node/chunks/dep-BaOMuo4I.js:64102:39
    at async Promise.all (index 12)
    at async TransformPluginContext.transform (file:///C:/Users/adala/OneDrive/Dokumenty/Frontend/node_modules/vite/dist/node/chunks/dep-BaOMuo4I.js:64029:7)
    at async PluginContainer.transform (file:///C:/Users/adala/OneDrive/Dokumenty/Frontend/node_modules/vite/dist/node/chunks/dep-BaOMuo4I.js:49033:18)
    at async loadAndTransform (file:///C:/Users/adala/OneDrive/Dokumenty/Frontend/node_modules/vite/dist/node/chunks/dep-BaOMuo4I.js:51856:27)
    at async viteTransformMiddleware (file:///C:/Users/adala/OneDrive/Dokumenty/Frontend/node_modules/vite/dist/node/chunks/dep-BaOMuo4I.js:61810:24