Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install fails on Building rra-api #213

Open
brunosan opened this issue Mar 30, 2018 · 0 comments
Open

Install fails on Building rra-api #213

brunosan opened this issue Mar 30, 2018 · 0 comments

Comments

@brunosan
Copy link
Member

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant