Skip to content

CB() never called error during docker build #3516

@sarsampath

Description

@sarsampath

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

#11 154.4 npm ERR! cb() never called!
#11 154.4
#11 154.4 npm ERR! This is an error with npm itself. Please report this error at:
#11 154.4 npm ERR! https://npm.community
#11 154.7
#11 154.8 npm ERR! A complete log of this run can be found in:
#11 154.8 npm ERR! /root/.npm/_logs/2021-07-05T14_19_27_535Z-debug.log

Expected Behavior

Latest version of Npm and Node should install using docker

Steps To Reproduce

FROM node:14-alpine3.12 as build-step
WORKDIR /usr/src/app
COPY package.json package-lock.json ./
COPY . .
ENV HTTPS_PROXY="http://on.cypress.io/proxy-configuration"
RUN npm cache verify && npm install
RUN CMD["npm","start"]
FROM nginx:1.19-alpine
COPY --from=build-step /usr/src/app/dist/AngularApp-Shell/ /usr/share/nginx/html

Environment

  • OS:
  • Node:
  • npm:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugthing that needs fixingNeeds Triageneeds review for next stepsRelease 7.xwork is associated with a specific npm 7 release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions