Hello!
I have working project using docker and docker-compose locally. But inside the circleci its does not build the second service on the “jspm install” command, it throw:
warn Error on download for npm:babel-runtime
Error: EINVAL: invalid argument, chown '/root/.jspm/packages/npm/babel-runtime@5.8.38/package.json’
at Error (native)
err Error downloading npm:babel-runtime.
warn Installation changes not saved.
ERROR: Service ‘frontend’ failed to build: The command ‘/bin/sh -c mkdir ~/.jspm && chmod 666 ~/.jspm && cp ./jspm-config ~/.jspm/config && chmod 666 ~/.jspm/config && jspm install’ returned a non-zero code: 1
Inside the circleci I’m using docker 1.10.0
Docker file with an issue:
FROM node:6.0.0
WORKDIR /stapp
RUN apt-get update && apt-get install -y python3 && apt-get clean
RUN npm install -g jspm
RUN npm install -g gulp
RUN npm install -g typings
ADD package.json /stapp/package.json
ADD tsconfig.json /stapp/tsconfig.json
ADD typings.json /stapp/typings.json
RUN npm install
ADD . /stapp
RUN typings install
RUN mkdir ~/.jspm && chmod 666 ~/.jspm && cp ./jspm-config ~/.jspm/config && chmod 666 ~/.jspm/config && jspm install
RUN jspm update
RUN gulp deploy
EXPOSE 8080
WORKDIR /stapp/target/production
CMD [“python3”, “-m”, “http.server”, “8080”]
Also I have aufs locally, circleci btrfs.
Any thoughts?