Skip to content

Node Build Failing  #2

Description

@bbqchickenrobot
>>>> 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

> frontend@0.0.0 build
> vue-tsc && vite build

failed to load config from /frontend/vite.config.ts
error 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 1

Error: executing C:\Program Files\Docker\Docker\resources\bin\docker-compose.exe up: exit status 1

any recommendations here ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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