Skip to content

Error in deploying: EISDIR: illegal operation on a directory, read #1

@tunisia-team

Description

@tunisia-team

Hello,
Received the following error when deploying:
x Build failed in 1.33s error during build: [vite:load-fallback] Could not load /vercel/path0/src/components/ui (imported by src/ArtifactCode.jsx): EISDIR: illegal operation on a directory, read Error: Could not load /vercel/path0/src/components/ui (imported by src/ArtifactCode.jsx): EISDIR: illegal operation on a directory, read  ELIFECYCLE  Command failed with exit code 1. Error: Command "pnpm run build" exited with 1
These are the library used (from Claude):
import React, { useState, useEffect } from 'react';
import { Card, CardContent, CardFooter, CardHeader, CardTitle } from "@/components/ui/card";
import { Input } from "@/components/ui/input";
import { Button } from "@/components/ui/button";
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select";
import { Slider } from "@/components/ui/slider";
import { Badge } from "@/components/ui/badge";

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions