Skip to content

Install fails on Building rra-api #213

@brunosan

Description

@brunosan

I'm following the steps on Offline usage.

It fails on

(p3) ➜  ram-backend git:(master) docker-compose up -d
Building rra-api
Step 1/5 : FROM ubuntu:16.04
 ---> f975c5035748
Step 2/5 : ADD . /dist
 ---> Using cache
 ---> cbd31f158f9d
Step 3/5 : WORKDIR /dist
 ---> Using cache
 ---> 4eb941abe35a
Step 4/5 : RUN bash install.sh
 ---> Using cache
 ---> 280d318c6542
Step 5/5 : RUN yarn install --unsafe-perm
 ---> Running in c140e487426c
yarn install v1.5.1
[1/5] Validating package.json...
error [email protected]: The engine "node" is incompatible with this module. Expected version "6.7.x".
error An unexpected error occurred: "Found incompatible module".
info If you think this is a bug, please open a bug report with the information provided in "/dist/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
ERROR: Service 'rra-api' failed to build: The command '/bin/sh -c yarn install --unsafe-perm' returned a non-zero code: 1

I understand this a mismatch of the noce version inside the dockerized rra-api container.

(p3) ➜  ram-backend git:(master) node --version
v6.7.0
(p3) ➜  ram-backend git:(master) yarn --version
1.5.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