abhinav3295
abhinav3295
WWasp-lang
Created by abhinav3295 on 9/14/2024 in #đŸ™‹questions
Is vitest compatible with wasp (vite)?
During vitest install I keep getting following error:
[ Wasp !] npm warn ERESOLVE overriding peer dependency
[ Wasp !] npm warn While resolving: @vitest/[email protected]
[ Wasp !] npm warn Found: [email protected]
[ Wasp !] npm warn node_modules/vite
[ Wasp !] npm warn dev vite@"^4.3.9" from the root project
[ Wasp !] npm warn
[ Wasp !] npm warn Could not resolve dependency:
[ Wasp !] npm warn peerOptional vite@"^5.0.0" from @vitest/[email protected]
[ Wasp !] npm warn node_modules/@vitest/mocker
[ Wasp !] npm warn @vitest/mocker@"2.1.1" from [email protected]
[ Wasp !] npm warn node_modules/vitest
[ Wasp !] npm warn
[ Wasp !] npm warn Conflicting peer dependency: [email protected]
[ Wasp !] npm warn node_modules/vite
[ Wasp !] npm warn peerOptional vite@"^5.0.0" from @vitest/[email protected]
[ Wasp !] npm warn node_modules/@vitest/mocker
[ Wasp !] npm warn @vitest/mocker@"2.1.1" from [email protected]
[ Wasp !] npm warn node_modules/vitest
[ Wasp !] npm warn deprecated [email protected]: Use your platform's nativ
[ Wasp !] npm warn ERESOLVE overriding peer dependency
[ Wasp !] npm warn While resolving: @vitest/[email protected]
[ Wasp !] npm warn Found: [email protected]
[ Wasp !] npm warn node_modules/vite
[ Wasp !] npm warn dev vite@"^4.3.9" from the root project
[ Wasp !] npm warn
[ Wasp !] npm warn Could not resolve dependency:
[ Wasp !] npm warn peerOptional vite@"^5.0.0" from @vitest/[email protected]
[ Wasp !] npm warn node_modules/@vitest/mocker
[ Wasp !] npm warn @vitest/mocker@"2.1.1" from [email protected]
[ Wasp !] npm warn node_modules/vitest
[ Wasp !] npm warn
[ Wasp !] npm warn Conflicting peer dependency: [email protected]
[ Wasp !] npm warn node_modules/vite
[ Wasp !] npm warn peerOptional vite@"^5.0.0" from @vitest/[email protected]
[ Wasp !] npm warn node_modules/@vitest/mocker
[ Wasp !] npm warn @vitest/mocker@"2.1.1" from [email protected]
[ Wasp !] npm warn node_modules/vitest
[ Wasp !] npm warn deprecated [email protected]: Use your platform's nativ
5 replies
WWasp-lang
Created by abhinav3295 on 8/18/2024 in #đŸ™‹questions
Does wasp work with shadcn
I am trying to get FE components from shadcn working with wasp But I am running into quite a few errors. I there a small guide on how this can be done?
19 replies
WWasp-lang
Created by abhinav3295 on 8/10/2024 in #đŸ™‹questions
wasp command does not work in docker
I am trying to install wasp within a docker image, but it keeps failing.
15 replies
WWasp-lang
Created by abhinav3295 on 8/9/2024 in #đŸ™‹questions
Trying to install wasp within a docker image, and it always fail
I am trying to install wasp within a docker image (to subsequently build the client app). But wasp version command keeps failing. Here is my dockerfile for reference. Can someone help me spot my mistake
FROM node:22.6.0-slim AS build

RUN apt-get update -y
RUN DEBIAN_FRONTEND=noninteractive apt-get install npm curl bash -y
RUN node -v

# install wasp
RUN curl -sSL https://get.wasp-lang.dev/installer.sh | sh
ENV PATH="$PATH:/root/.local/bin"

# Set working directory
WORKDIR /app

COPY . /app

RUN wasp version

# Same as npm install
RUN REACT_APP_API_URL=http://localhost:3001 npm run build
FROM node:22.6.0-slim AS build

RUN apt-get update -y
RUN DEBIAN_FRONTEND=noninteractive apt-get install npm curl bash -y
RUN node -v

# install wasp
RUN curl -sSL https://get.wasp-lang.dev/installer.sh | sh
ENV PATH="$PATH:/root/.local/bin"

# Set working directory
WORKDIR /app

COPY . /app

RUN wasp version

# Same as npm install
RUN REACT_APP_API_URL=http://localhost:3001 npm run build
43 replies