Skip to content

service 'frontend' failed to build #214

@p4perf4ce

Description

@p4perf4ce

Issue

I tried to run docker-compose up with freshly, untouch generated project and got an error

Step 1/13 : FROM tiangolo/node-frontend:10 as build-stage
 ---> 46be30c070b7
Step 2/13 : WORKDIR /app
 ---> Running in e591b944c34a
Removing intermediate container e591b944c34a
 ---> 1aeae249a60f
Step 3/13 : COPY package*.json /app/
 ---> d3e238df5414
Step 4/13 : RUN npm install --no-package-lock
 ---> Running in 843157f54a1f
npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@1.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated left-pad@1.3.0: use String.prototype.padStart()
npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR!     <https://npm.community>

Step to reproduce

  • cookiecutter https://github.com/tiangolo/full-stack-fastapi-postgresql
  • docker-compose up

Environment

Fedora 32 with Moby-Engine
Also tried to build with podman, not working.

Note: at step 4/13 RUN npm install also not working

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions