Skip to content

docker-compose build error #2

@SeverinAlexB

Description

@SeverinAlexB

error when running docker-compose build:

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/angular-cli/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.0.15: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-zopfli@2.0.2 (node_modules/angular-cli/node_modules/node-zopfli):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-zopfli@2.0.2 install: `node-pre-gyp install --fallback-to-build`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm info ok 

You have to be inside an angular-cli project in order to use the build command.

ERROR: Service 'visualize' failed to build: The command '/bin/sh -c apt-get update -y && apt-get upgrade -y && apt-get install -y git vim supervisor&& cd / && git clone $REPOSITORY && cd /$REPO_NAME && npm install && npm install @angular/compiler-cli@2.2.0 --save-dev && npm install -g angular-cli && ng build && chmod +x /entrypoint.sh' returned a non-zero code: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions