Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retail Shopping Cart - Initial #33

Merged
merged 14 commits into from
May 15, 2024

Conversation

erikshafer
Copy link
Owner

First stab at using Emmett whilst building out a ShoppingCart module in the Retail value stream.

@erikshafer erikshafer self-assigned this May 15, 2024
@erikshafer erikshafer added the enhancement New feature or request label May 15, 2024
@erikshafer
Copy link
Owner Author

Having an issue when running the Dockerfile. It cannot seem to find the ESLint configuration. Went through some of the basic FAQs to no avail. Running an npm run build and such with eslint components doesn't turn-up with any errors, just when running it in Docker. Need to reconfig the Dockerfile perhaps?

[+] Building 0.0s (0/0)  docker:default
[+] Building 12.0s (13/15)                                                                                                                                               docker:default
 => [internal] load build definition from Dockerfile                                                                                                                               0.0s
 => => transferring dockerfile: 961B                                                                                                                                               0.0s
 => resolve image config for docker-image://docker.io/docker/dockerfile:1                                                                                                          0.3s
 => CACHED docker-image://docker.io/docker/dockerfile:1@sha256:a57df69d0ea827fb7266491f2813635de6f17269be881f696fbfdf2d83dda33e                                                    0.0s
 => [internal] load metadata for docker.io/library/node:20.12.2-slim                                                                                                               0.2s
 => [internal] load .dockerignore                                                                                                                                                  0.0s
 => => transferring context: 99B                                                                                                                                                   0.0s
 => [internal] load build context                                                                                                                                                  0.0s
 => => transferring context: 209.31kB                                                                                                                                              0.0s
 => [base 1/2] FROM docker.io/library/node:20.12.2-slim@sha256:72f2f046a5f8468db28730b990b37de63ce93fd1a72a40f531d6aa82afdf0d46                                                    0.0s
 => CACHED [base 2/2] WORKDIR /app                                                                                                                                                 0.0s
 => CACHED [build 1/6] RUN apt-get update -qq &&     apt-get install --no-install-recommends -y build-essential node-gyp pkg-config python-is-python3                              0.0s
 => [build 2/6] COPY --link package-lock.json package.json ./                                                                                                                      0.0s
 => [build 3/6] RUN npm ci --include=dev                                                                                                                                           9.8s
 => [build 4/6] COPY --link src .                                                                                                                                                  0.3s
 => ERROR [build 5/6] RUN npm run build                                                                                                                                            1.2s
------
 > [build 5/6] RUN npm run build:
0.640
0.640 > [email protected] build
0.640 > run-s lint build:ts
0.640
0.844
0.844 > [email protected] lint
0.844 > npm run lint:eslint && npm run lint:prettier
0.844
1.017
1.017 > [email protected] lint:eslint
1.017 > eslint "**/*.{ts,tsx}"
1.017
1.164
1.164 Oops! Something went wrong! :(
1.164
1.164 ESLint: 8.57.0
1.164
1.164 ESLint couldn't find a configuration file. To set up a configuration file for this project, please run:
1.164
1.164     npm init @eslint/config
1.164
1.164 ESLint looked for configuration files in /app and its ancestors. If it found none, it then looked in your home directory.
1.164
1.164 If you think you already have a configuration file or if you need more help, please stop by the ESLint Discord server: https://eslint.org/chat
1.164
1.178 ERROR: "lint" exited with 2.
------
Dockerfile:30
--------------------
  28 |
  29 |     # Build application
  30 | >>> RUN npm run build
  31 |
  32 |     # Remove development dependencies
--------------------
ERROR: failed to solve: process "/bin/sh -c npm run build" did not complete successfully: exit code: 1

@erikshafer erikshafer merged commit 4c3a0a6 into main May 15, 2024
1 check passed
@erikshafer erikshafer deleted the retail_shoppingcart_initial_2024-05-14 branch May 15, 2024 02:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant