Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Missing tailwindcss/vite when running with docker #62

Open
@tungts1101

Description

I am setting up to run the project with docker. Below is the Dockerfile that I use to build

FROM node:22-slim
WORKDIR /app
COPY frontend /app/
RUN npm install

The build process doesn't get any error, however, when I try to run I meet this error of missing dependencies.

Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@tailwindcss/vite' imported from /app/node_modules/.vite-temp/vite.config.js.timestamp-1742726894358-e93502a9837d5.mjs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /