You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>>>> Executing external compose provider "C:\\Program Files\\Docker\\Docker\\resources\\bin\\docker-compose.exe". Please refer to the documentation for details. <<<<Sending build context to Docker daemon 27.61kB[1/3] STEP 1/5: FROM node:latest AS frotend[1/3] STEP 2/5: WORKDIR /frontend--> Using cache b0197d49b4b7efca35c8763bc3415477da78aadd829f00971bf1430a8b9fa46a--> b0197d49b4b7[1/3] STEP 3/5: COPY ./PassKeys.WebApp/Frontend .--> Using cache 1791870ea8828a7b7a0899a89ce5895f34e82af268922b07978dcb6971ed03bc--> 1791870ea882[1/3] STEP 4/5: RUN npm install--> Using cache 4ec48ff698b593f0befceae9ecfb1ee6b7a63aba68a7ef9d9765083e89b83624--> 4ec48ff698b5[1/3] STEP 5/5: RUN npm run build> [email protected] build> vue-tsc && vite buildfailed to load config from /frontend/vite.config.tserror during build:
SyntaxError: Unexpected identifier 'assert'at compileSourceTextModule (node:internal/modules/esm/utils:337:16)at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:163:18)at callTranslator (node:internal/modules/esm/loader:430:14)at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:436:30)building at STEP "RUN npm run build": while running runtime: exit status 1Error: executing C:\Program Files\Docker\Docker\resources\bin\docker-compose.exe up: exit status 1
any recommendations here ?
The text was updated successfully, but these errors were encountered:
The FROM node:latest AS frontend has been updated to FROM node:18 AS frontend to ensure a stable Node.js version and avoid potential issues with the latest tag.
FROM node:18 AS frontend
WORKDIR /frontend
COPY ./PassKeys.WebApp/Frontend .
RUN npm install
RUN npm run build
...
any recommendations here ?
The text was updated successfully, but these errors were encountered: