full-stack-fastapi-template icon indicating copy to clipboard operation
full-stack-fastapi-template copied to clipboard

service 'frontend' failed to build

Open p4perf4ce opened this issue 5 years ago • 1 comments

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 [email protected]: 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 [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: 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

p4perf4ce avatar Jun 10 '20 20:06 p4perf4ce

Hello Guys, same here.

Fedora user as well, Docker v19.03.13

Any recommendations how to get it work?

BR

dhofstetter avatar Jan 31 '21 19:01 dhofstetter